Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8247248

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 15
    • 15
    • 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.

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

                Created:
                Updated:
                Resolved: