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

GetOwnedMonitorInfo() returns incorrect owned monitor

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      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.

          Activity

          ysuenaga Yasumasa Suenaga created issue -
          dcubed Daniel Daugherty made changes -
          Field Original Value New Value
          Subcomponent svc [ 369 ] jvmti [ 372 ]
          gtriantafill George Triantafillou made changes -
          Affects Version/s 10 [ 16302 ]
          gtriantafill George Triantafillou made changes -
          Fix Version/s 11 [ 18723 ]
          gtriantafill George Triantafillou made changes -
          Status New [ 10000 ] Open [ 1 ]
          hgupdate HG Updates made changes -
          Link This issue backported by JDK-8185926 [ JDK-8185926 ]
          dcubed Daniel Daugherty made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolved In Build team [ 17324 ]
          Fix Version/s 10 [ 16302 ]
          Fix Version/s 11 [ 18723 ]
          Resolution Fixed [ 1 ]
          dcubed Daniel Daugherty made changes -
          Assignee Yasumasa Suenaga [ ysuenaga ]
          ysuenaga Yasumasa Suenaga made changes -
          Labels 9-bp
          hgupdate HG Updates made changes -
          Link This issue backported by JDK-8186162 [ JDK-8186162 ]
          hgupdate HG Updates made changes -
          Resolved In Build team [ 17324 ] master [ 18256 ]
          hgupdate HG Updates made changes -
          Resolved In Build master [ 18256 ] b21 [ 17412 ]
          hgupdate HG Updates made changes -
          Link This issue backported by JDK-8188611 [ JDK-8188611 ]
          hgupdate HG Updates made changes -
          Link This issue backported by JDK-8190598 [ JDK-8190598 ]
          hgupdate HG Updates made changes -
          Link This issue backported by JDK-8198050 [ JDK-8198050 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: