JDK-8224880 : AArch64: java/javac error with AllocatePrefetchDistance
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8-aarch64,11,13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: aarch64
  • Submitted: 2019-05-28
  • Updated: 2021-02-01
  • Resolved: 2019-05-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.

To download the current JDK release, click here.
JDK 11 JDK 13 JDK 14 Other
11.0.11-oracleFixed 13 b23Fixed 14Fixed openjdk8u292Fixed
Related Reports
Relates :  
Description
The default AllocatePrefetchDistance is  3 * the dcache line size.

http://hg.openjdk.java.net/jdk/jdk11/file/tip/src/hotspot/cpu/aarch64/vm_version_aarch64.cpp#l132

If the cache line size is 256, we trip over an error at

http://hg.openjdk.java.net/jdk/jdk11/file/tip/src/hotspot/share/runtime/flags/jvmFlagConstraintsCompiler.cpp#l93

This is because the prefetch distance is limited to 512.
Comments
I added jdk11u-fix-yes label to clean up the filter view. As per the process, the backport should have been pushed to jdk11u-dev or flagged with jdk11u-critical-request. But it's probably ok as it is and will be picked up by the 11.0.4+6 tag.
29-05-2019