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

Unsafe CompareAndSwap loops should use weak*Volatile CAS

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 9
    • core-libs
    • None

      Rationale:
       http://mail.openjdk.java.net/pipermail/jmm-dev/2016-April/000239.html

      This helps platforms that have to emulate CAS with LL/SC. Spurious failures in CAS loops would be handled in the main loop anyway.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: