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

restore 'volatile' to ObjectMonitor::_owner field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b25
    • CPU:
      generic
    • OS:
      generic

      Description

      The following RFE:

          JDK-8238174 migrate ObjectMonitor::_owner field away from C++ volatile semantics

      removed 'volatile' from the ObjectMonitor::_owner field.
      However, subsequent discussions concluded that we are
      going to leave 'volatile' on fields that are racy so that the
      reader has a clear indicator about the racy state of the field.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dcubed Daniel Daugherty
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: