Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JVMTI synchronization in JVM_VirtualThreadHideFrames #18453

Merged
merged 1 commit into from
Nov 19, 2023

Commits on Nov 16, 2023

  1. 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>
    babsingh and fengxue-IS committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    8a2b61e View commit details
    Browse the repository at this point in the history