Remove volatile-qualified member functions and parameters from oop class

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 15
    • Affects Version/s: 15
    • Component/s: hotspot
    • b25

        The oop class and its subclasses are made more complicated by the presence of volatile qualified member functions and parameters. Those overloads exist to support operations on volatile oop values. But such values exist as the conventional mechanism for noting a variable is accessed by multiple threads and needs special handling. The intended semantics for these bare volatile variable accesses is really relaxed atomic, and it would be better to actually use such. Doing so would eliminate the need for the volatile qualifications in the member functions.

              Assignee:
              Kim Barrett
              Reporter:
              Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: