RFR: 8309399: JVMTI spec needs to clarify when OPAQUE_FRAME is thrown for reasons other than a native method [v7]

Serguei Spitsyn sspitsyn at openjdk.org
Fri Jul 11 20:08:01 UTC 2025


> It was decided in a local discussion with Chris and Alan to update the JVMTI spec to make descriptions/clarifications of some `JVMTI_ERROR_OPAQUE_FRAME` cases more consistent.
> This impacts the following JVMTI spec sections:
>   - `PopFrame`
>   - `NotifyFramePop`
>   - `ForceEarlyReturn<Type>`
>   - `GetLocal<Type>`
>   - `SetLocal<Type>`
>   - general description of the `JVMTI_ERROR_OPAQUE_FRAME` error code
>   
> A related CSR is going to be filed for this spec update.
> 
> Testing:
>  - it is N/A in general but mach5 tiers 1-3 will be run to be completely safe

Serguei Spitsyn has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains seven additional commits since the last revision:

 - Merge
 - review: minor tweak of previous change
 - review: corrected OPAQUE_FRAME clarification for NotifyFramePop function
 - review: (1) remove vthread specific clarifications; unify GetLocal* and SetLocal* with other functions
 - review: tweak the OPAQUE_FRAME clarifications for ForceEarlyReturn* functions
 - review: tweak OPAQUE_FRAME clarification for NotifyFramePop function
 - 8309399: JVMTI spec needs to clarify when OPAQUE_FRAME is thrown for reasons other than a native method

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26111/files
  - new: https://git.openjdk.org/jdk/pull/26111/files/170fe280..8f6e7787

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26111&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26111&range=05-06

  Stats: 16165 lines in 539 files changed: 9142 ins; 3145 del; 3878 mod
  Patch: https://git.openjdk.org/jdk/pull/26111.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26111/head:pull/26111

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


More information about the hotspot-dev mailing list