8141140: Zero JVM fails to initialize after JDK-8078554
Disable AllocatePrefetchDistance for Zero. Reviewed-by: coleenp
This commit is contained in:
parent
5bc981fad5
commit
813dfa4e34
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user