JDK-8080685 : Unsafe.getAcquire* and VarHandles.getAcquire
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-05-19
  • Updated: 2015-07-27
  • Resolved: 2015-07-27
Related Reports
Relates :  
Description
Add methods to sun.misc.Unsafe to perform acquire-get access all types. Make VarHandles.getAcquire to use them.

The additional intrinsification of these methods, if required, is handled with JDK-8132332.

These methods are the twin of the Unsafe.putOrderedObject/Int/Long (set-release) methods that, when used together on the same variable, establishes a synchronized-with relationship.
Comments
Current patch: http://cr.openjdk.java.net/~shade/8080685/8080685.patch
24-07-2015