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

restore 'volatile' to ObjectMonitor::_owner field

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 17
    • 17
    • hotspot
    • None
    • b25
    • generic
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: