8141140: Zero JVM fails to initialize after JDK-8078554

Disable AllocatePrefetchDistance for Zero.

Reviewed-by: coleenp
This commit is contained in:
Severin Gehwolf 2015-11-02 17:18:37 +01:00
parent 5bc981fad5
commit 813dfa4e34

View File

@ -37,4 +37,9 @@ void VM_Version::initialize() {
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);
}