JDK-8133568 : C1 support for Unsafe.{getAcquire|setRelease}
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2015-08-13
  • Updated: 2015-08-17
  • Resolved: 2015-08-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Fixed
Description
We miss the intrinsic support for Unsafe.{getAcquire|setRelease} in C1. 
See bool GraphBuilder::try_inline_intrinsics(ciMethod* callee).
These should be trivial to implement with {set|put}Volatile.


Comments
Pushed as: http://hg.openjdk.java.net/jdk9/sandbox/hotspot/rev/1c261c6f6c3d
17-08-2015