JDK-8141633 : Implement VarHandles/Unsafe intrinsics on AArch64
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-11-06
  • Updated: 2016-08-11
  • Resolved: 2016-07-07
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
9 b131Fixed
Related Reports
Blocks :  
Blocks :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
We need to check and implement the missing intrinsics for AArch64.
Most intrinsics are handled by platform-independent code, but we need to implement at least CompareAndExchange. 

See JDK-8148146 for x86 C2 implementation. 
See JDK-8152753 for x86 C1 implementation. 
Run hotspot/test/compiler/unsafe/ and jdk/test/java/lang/invoke/VarHandles/ jtregs to verify functionality. 
See JDK-8080605 for benchmarks to sanity test VarHandles/unsafe performance.
Comments
This RFE is covered by FC extension approval of JDK-8046183 JEP 193: Variable Handles.
21-06-2016

Request FC exemption Justification: more time is needed to add VarHandles/Unsafe support to AARCH64 intrinsics. Risk: Low. Only AARCH64 code is changed Proposed Integration Date: June 30, 2016
25-05-2016

JDK-8148146 should be pushed first, then AArch64-specific leftovers can be addressed.
18-02-2016