> This is a spec and implementation update for JVMTI `GetLocalObject` and 
> `GetLocalInstance` functions related to getting the `this` object during 
> value object construction. Current implementation is to return a snapshot of  
> the `this` object. This update changes it to reject JVMTI `GetLocalObject` 
> and `GetLocalInstance` functions with the error code 
> `JVMTI_ERROR_OPAQUE_FRAME`.
> 
> TBD: Will create a related CSR.
> 
> Testing:
>  - Run the impacted test before and after the fix:
>    
> `test/hotspot/jtreg/serviceability/jvmti/valhalla/GetCtorLocal/ValueGetCtorLocal.java`
>  - TBD: Run mach5 tiers 1-6
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Serguei Spitsyn has updated the pull request with a new target base due to a 
merge or a rebase. The pull request now contains nine commits:

 - Merge
 - replace value object wording with strict-init fields related
 - add new test GetCtorLocalStrictInitFields.java
 - Restore preview problem list to upstream version
 - remove test CtorDebuggingTest.java from valhalla-specific problem-list
 - check for has_strict_instance_fields_in_hierarchy instead for value object
 - use correct JBS issue number to problem-list test: CtorDebuggingTest.java
 - Merge
 - 8395356: GetLocalInstance should return OPAQUE_FRAME for objects with 
strict-init fields

-------------

Changes: https://git.openjdk.org/jdk/pull/33526/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33526&range=07
  Stats: 800 lines in 7 files changed: 726 ins; 55 del; 19 mod
  Patch: https://git.openjdk.org/jdk/pull/33526.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33526/head:pull/33526

PR: https://git.openjdk.org/jdk/pull/33526

Reply via email to