Thread::SpinRelease should use Atomic::release_store

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: None
    • Component/s: hotspot
    • b14

      Presently, Thread::SpinRelease uses OrderAccess::fence() followed by an ordinary store. It also has a bunch of commentary stating the desired semantics are those of OrderAccess::release_store. Using a full fence is overkill on most platforms.

            Assignee:
            Anton Artemov
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: