mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-23 08:45:33 +00:00
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…
x
Reference in New Issue
Block a user