[aarch64-port-dev ] RFR: 8191955: AArch64: incorrect prefetch distance causes an internal error

Andrew Haley aph at redhat.com
Wed Nov 29 10:17:32 UTC 2017

On 28/11/17 19:50, White, Derek wrote:
> AllocatePrefetchDistanceConstraintFunc is the bounds-checking function for AllocatePrefetchDistance. It's not possible run with -1 specified on the command line (with or without Ningsheng's patch).
>> java -XX:AllocatePrefetchDistance=-1 -version
> AllocatePrefetchDistance (-1) must be between 0 and 512
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.

Fair enough.  The patch is OK.

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

More information about the hotspot-compiler-dev mailing list