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

compiler/rtm/ tests fail due to monitor deflation at safepoint synchronization

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b47
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Most of compiler/rtm/ tests use inflated monitors because by default RTM locking is disabled for stack locks.
        In order to inflate monitor associated with newly created object these tests use method rtm.AbortProvoker::inflateMonitor.
        After that monitor remains released until actual testing begins. If safepoint synchronization happens when monitor unused, then that monitor will be deflated. As a result RTM-based lock elision won't be used and tests will fail.
        Issue could be reproduced w/ +DeoptimizeALot.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                fzhinkin Filipp Zhinkin
                Reporter:
                fzhinkin Filipp Zhinkin
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Due:
                  Created:
                  Updated:
                  Resolved: