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

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 15
    • 15
    • hotspot
    • None
    • 15
    • b27

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: