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

restore 'volatile' to ObjectMonitor::_owner field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • None
    • b25
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved: