JDK-8141635 : Implement VarHandles/Unsafe intrinsics on POWER
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: compiler
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-11-06
  • Updated: 2016-06-09
  • Resolved: 2016-05-13
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 b122Fixed
Related Reports
Blocks :  
Blocks :  
Relates :  
Relates :  
Relates :  
Description
We need to check and implement the missing intrinsics for POWER.
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
Platform-specific change, approved to push by hs-comp owners: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2016-May/023045.html
13-05-2016

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