JDK-8331978 : AARCH64: don't use MAP_JIT for stubs like f2hf and hf2f
Type:Enhancement
Component:hotspot
Sub-Component:compiler
Affected Version:23
Priority:P4
Status:Open
Resolution:Unresolved
OS:os_x
CPU:aarch64
Submitted:2024-05-09
Updated:2024-05-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.
Any stub that is write-once (never needs patching) could be placed in regular r-x memory instead of special MAP_JIT memory, avoiding the need for a W^X mode switch before the call.
Comments
Another candidate: StubRoutines::aarch64::spin_wait