JDK-8252482 : disable cbcond instructions on SPARC64
Type:Enhancement
Component:hotspot
Sub-Component:compiler
Affected Version:7,8,11
Priority:P2
Status:Closed
Resolution:Fixed
OS:solaris
CPU:sparc
Submitted:2020-08-28
Updated:2021-09-24
Resolved:2021-03-17
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.
We will disable usage of cbcond instructions on all SPARC64 CPUs.
Comments
Verified by David Buck.
24-05-2021
As opposed to completely disabling cbcond, we make UseCBCond default to false when:
JDK 7/8: is_sparc64() returns true
JDK 11: if any of the three Athena instruction sets are supported
As the only SPARC64 chips that support cbcond also all support at least 2 (gen1 and gen2) of the Athena instruction extensions, in effect the JDK 11 change disables cbcond for all SPARC64 platforms.
These changes only impact Fujitsu's SPARC64 CPUs. Cbcond remains enabled by default on Oracle's SPARC CPUs.