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

Thread::SpinRelease should use Atomic::release_store

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot

      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.

            aartemov Anton Artemov
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: