JDK-8157254 : Unsafe CompareAndSwap loops should use weak*Volatile CAS
  • Type: Enhancement
  • Component: core-libs
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-05-18
  • Updated: 2019-01-23
  • Resolved: 2019-01-23
Related Reports
Duplicate :  
Relates :  
Description
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.
Comments
This is already resolved as the part of JDK-8157726.
23-01-2019

Webrev: http://cr.openjdk.java.net/~shade/8157254/webrev.00/
18-05-2016