forked from eclipse-openj9/openj9
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add JVMTI synchronization in JVM_VirtualThreadHideFrames
J9VMThread->threadObject can be modified between JVM_VirtualThreadHideFrames's first invocation with hide=true and second invocation with hide=false. Synchronization to prevent JVMTI operations is acquired between these two invocations. This prevents JVMTI functions to see an unstable J9VMThread->threadObject. Related: eclipse-openj9#17865 Related: eclipse-openj9#17869 Related: eclipse-openj9#18370 Co-authored-by: Jack Lu <Jack.S.Lu@ibm.com> Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
- Loading branch information
1 parent
69fbaa8
commit ecdbc7b
Showing
1 changed file
with
29 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters