Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8326750 Lilliput: OMWorld Tasks
  3. JDK-8326761

Lilliput: OMWorld: Fix invalid markWord transition

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • P4
    • None
    • repo-lilliput
    • hotspot

    Description

      `PlaceholderSynchronizer::inflate_and_enter` currently performs an invalid transition of the markWord away from monitor. This may lead to an ABA issue.

      This got opportunistically added at some point to avoid spinning on the deflation thread progress. The issue of guaranteed progress is not something that has been observed as an issue. If guaranteed progress turns out to be required there are solutions which do not have ABA issues, but it requires extra state in the already heavily contested markWord.

      Attachments

        Issue Links

          Activity

            People

              aboldtch Axel Boldt-Christmas
              aboldtch Axel Boldt-Christmas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: