JDK-8210260 : [lworld] Improve acmp implementation
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-08-31
  • Updated: 2018-09-12
  • Resolved: 2018-09-10
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
repo-valhallaFixed
Related Reports
Relates :  
Relates :  
Description
The implementation of acmp should use the always locked mark word to determine if one of the operands is a value type. We should also improve the implementation according to Sergey's suggestions:
http://mail.openjdk.java.net/pipermail/valhalla-dev/2018-August/004888.html
Comments
http://hg.openjdk.java.net/valhalla/valhalla/rev/1faa4137c6fc
10-09-2018

You can find perf results here: http://cr.openjdk.java.net/~skuksenko/valhalla/acmp1/acmp_charts_0831.png
01-09-2018

http://cr.openjdk.java.net/~thartmann/valhalla/lworld/acmp_optimization/webrev.01/
31-08-2018