[aarch64-port-dev ] RFR: 8224880: AArch64: java/javac error with AllocatePrefetchDistance

Andrew Haley aph at redhat.com
Tue May 28 13:20:17 UTC 2019


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.

Webrev: http://cr.openjdk.java.net/~aph/8224880/

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the aarch64-port-dev mailing list