JDK-8242449 : AArch64: r27 can be allocated in CompressedOops mode
Type:Enhancement
Component:hotspot
Sub-Component:compiler
Affected Version:8,11,14,15
Priority:P4
Status:Resolved
Resolution:Fixed
OS:linux
CPU:arm
Submitted:2020-04-09
Updated:2024-02-06
Resolved:2020-04-20
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.
It's based on https://bugs.openjdk.java.net/browse/JDK-8233743 , jvm can allocate r27 in compressed oops mode if heap base is zero.
Comments
Sorry, not suitable for 11u. Fairly high risk, marginal gain.
26-10-2021
Fix Request (11u):
This optimization saves an aarch64 register in compressed oops mode. It requires JDK-8233743 as a prerequisite and JDK-8249781 as a follow-up. Original patch has been adjusted to use Universe::narrow_ptrs_base() instead of CompressedOops::ptrs_base() (no JDK-8223136) and for slightly different context (no JDK-8235385).
PR: https://github.com/openjdk/jdk11u-dev/pull/137
Testing: tier1, tier2 (aarch64).
25-10-2021
URL: https://hg.openjdk.java.net/jdk/jdk/rev/aedc9bf21743
User: pli
Date: 2020-04-20 09:51:03 +0000