> 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`.
> 
> The CSR is: [JDK-8397026](https://bugs.openjdk.org/browse/JDK-8397026): 
> GetLocalInstance should return OPAQUE_FRAME for objects with strict-init 
> fields
> 
> Testing:
>  - Run the impacted test before and after the fix:
>    
> `test/hotspot/jtreg/serviceability/jvmti/valhalla/GetCtorLocal/ValueGetCtorLocal.java`
>  - mach5 tiers 1-6 are GREEN
> 
> ---------
> - [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 incrementally with one additional 
commit since the last revision:

  Fix test failures appeared in mach5 tier-6

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/33526/files
  - new: https://git.openjdk.org/jdk/pull/33526/files/1cbf28e2..56d6c62f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=33526&range=16
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33526&range=15-16

  Stats: 13 lines in 3 files changed: 2 ins; 10 del; 1 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