JDK-8275052 : AArch64: Severe AES/GCM slowdown on MacOS for short blocks
Type:Bug
Component:hotspot
Sub-Component:runtime
Affected Version:18
Priority:P2
Status:Closed
Resolution:Fixed
OS:os_x
CPU:aarch64
Submitted:2021-10-11
Updated:2022-01-11
Resolved:2021-10-28
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.
This is more of the fallout from JDK-8273297.
We've noticed that blocks of less than 8kbytes are very slowly encrypted with AES/GCM . This is because of incorrect flag handling in vm_version_bsd_aarch64.cpp.