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

GetOwnedMonitorInfo() returns incorrect owned monitor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 10
    • 10
    • hotspot
    • b21

    Backports

      Description

        GetOwnedMonitorInfo JVMTI function returns a monitor which is not yet owned when it is called at MonitorContendedEnter JVMTI event.

        I attached reproducer in this tichet. Please read README.md.

        GetOwnedMonitorInfo() should not return a pending monitor.

        Attachments

          Issue Links

            Activity

              People

                ysuenaga Yasumasa Suenaga
                ysuenaga Yasumasa Suenaga
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: