OpenJDK / jdk-updates / jdk12u
changeset 33750:6f5873dfa67f
8141140: Zero JVM fails to initialize after JDK-8078554
Summary: Disable AllocatePrefetchDistance for Zero.
Reviewed-by: coleenp
author | sgehwolf |
---|---|
date | Mon, 02 Nov 2015 17:18:37 +0100 |
parents | 6b67a05d2fcc |
children | 5cc611ec85b3 |
files | hotspot/src/cpu/zero/vm/vm_version_zero.cpp |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hotspot/src/cpu/zero/vm/vm_version_zero.cpp Mon Nov 02 16:54:49 2015 +0100 +++ b/hotspot/src/cpu/zero/vm/vm_version_zero.cpp Mon Nov 02 17:18:37 2015 +0100 @@ -37,4 +37,9 @@ warning("Unaligned memory access is not available on this CPU"); FLAG_SET_DEFAULT(UseUnalignedAccesses, false); } + // Disable prefetching for Zero + if (! FLAG_IS_DEFAULT(AllocatePrefetchDistance)) { + warning("Prefetching is not available for a Zero VM"); + } + FLAG_SET_DEFAULT(AllocatePrefetchDistance, 0); }