mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-04 12:08:36 +00:00
8224880: AArch64: java/javac error with AllocatePrefetchDistance
Reviewed-by: adinn
This commit is contained in:
parent
67b71618cc
commit
c841c0fc5f
@ -129,8 +129,11 @@ void VM_Version::get_processor_features() {
|
||||
|
||||
int dcache_line = VM_Version::dcache_line_size();
|
||||
|
||||
// Limit AllocatePrefetchDistance so that it does not exceed the
|
||||
// constraint in AllocatePrefetchDistanceConstraintFunc.
|
||||
if (FLAG_IS_DEFAULT(AllocatePrefetchDistance))
|
||||
FLAG_SET_DEFAULT(AllocatePrefetchDistance, 3*dcache_line);
|
||||
FLAG_SET_DEFAULT(AllocatePrefetchDistance, MIN2(512, 3*dcache_line));
|
||||
|
||||
if (FLAG_IS_DEFAULT(AllocatePrefetchStepSize))
|
||||
FLAG_SET_DEFAULT(AllocatePrefetchStepSize, dcache_line);
|
||||
if (FLAG_IS_DEFAULT(PrefetchScanIntervalInBytes))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user