RFR: 8341273: JVMTI is not properly hiding some continuation related methods [v8]
Serguei Spitsyn
sspitsyn at openjdk.org
Tue Oct 22 19:16:21 UTC 2024
> This fixes a problem in the VTMS (Virtual Thread Mount State) transition frames hiding mechanism.
> Please, see a fix description in the first comment.
>
> Testing:
> - Verified with new test `vthread/CheckHiddenFrames`
> - Mach5 tiers 1-6 are passed
Serguei Spitsyn has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 11 commits:
- Merge
- review: explain better what methods can be annotated with JvmtiMountTransition
- review: clarify the use of annotation @JvmtiMountTransition in yield/yield0
- review: moved notifyJvmtiStart/notifyJvmtiEnd calls from VirtualThread.run to the caller
- review: tweaked disabler for carrier threads; more hiddenjvmti_mount_transition frames
- Disallow NotifyFramePop for enter/enter0/VirtualThread.run/VThreadContinuation.run
- review: 1. Minor tweaks in new test; 2. Refactor skip_hidden_frames in two
- fix one more place with trailing spaces
- fix trailing spaces
- add new test coverage with vthread/CheckHiddenFrames
- ... and 1 more: https://git.openjdk.org/jdk/compare/d6eddcda...54dc2b4a
-------------
Changes: https://git.openjdk.org/jdk/pull/21397/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21397&range=07
Stats: 282 lines in 11 files changed: 236 ins; 18 del; 28 mod
Patch: https://git.openjdk.org/jdk/pull/21397.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21397/head:pull/21397
PR: https://git.openjdk.org/jdk/pull/21397
More information about the core-libs-dev
mailing list