JDK-8152753 : C1 intrinsics for CompareAndExchange (x86)
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9,10
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2016-03-25
  • Updated: 2018-10-05
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.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Relates :  
Description
Most new Unsafe methods delegate to stronger variants in Unsafe.java, with the exception of new CompareAndExchange methods. compareAndExchange cannot be emulated with existing APIs. We need to intrinsify compareAndExchange methods separately.
Comments
We are running in test problems plugging this into C1: unexpected test failures caused by LinearScan, LIRGenerators, etc. Given that this work is not affecting peak performance, we are moving it to past JDK 9 GA.
19-05-2016

Webrev: http://cr.openjdk.java.net/~shade/8152753/webrev.02/
08-04-2016