JDK-8136401 : Proper implementation for VarHandle.compareAndExchange{Volatile, Acquire, Release}
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2015-09-11
  • Updated: 2015-09-18
  • Resolved: 2015-09-18
Description
(This issue should really be a subtask for JDK-8080588, but JIRA update broke the Subtask functionality)

Recent spec update introduced new forms of CASes we should handle. Paul had pushed the preliminary (intentionally broken) versions: 
  http://hg.openjdk.java.net/jdk9/sandbox/jdk/rev/d5c1bee59e2a
Comments
Pushed: http://hg.openjdk.java.net/jdk9/sandbox/jdk/rev/cf0211162677 http://hg.openjdk.java.net/jdk9/sandbox/hotspot/rev/45f5b69bf6f4 We will figure out the intrinsics in an upcoming subtask.
18-09-2015