JDK-8173054 : [AOT] Avoid zero-shift for compressed oops
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2017-01-19
  • Updated: 2017-02-15
  • Resolved: 2017-01-23
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 10 JDK 9
10Fixed 9 b156Fixed
Related Reports
Relates :  
Description
AOT captures VM settings during compilation. For compressed oops it presents a problem for the case when VM selects a zero-shift mode (that depends on being able to map the heap into the lower 4G). Compiling AOT binary with zero-shift limits it's usability. The AOT compiler should be able to avoid zero-shift.

Comments
Suggested fix: http://cr.openjdk.java.net/~iveresov/8173054/webrev.00/
19-01-2017