JVM TI Monitor queries might create JNI locals in another thread when using handshakes.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 15
    • Affects Version/s: 15
    • Component/s: hotspot
    • None
    • 15
    • b27

        JDK-8242425 introduced the use of direct handshakes for the Monitor query functions in JVM TI. If the direct handshake is executed by the target thread, the JNI local(s) are created in that thread but returned in the handshaking thread.
        They thus are not safe to use.

              Assignee:
              Robbin Ehn
              Reporter:
              Robbin Ehn
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: