Skip to content

Commit e61a3ba

Browse files
EC2 Default UserPaul Hohensee
authored andcommitted
8239386: handle ContendedPaddingWidth in vm_version_aarch64
Reviewed-by: aph, phh
1 parent f56c918 commit e61a3ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/hotspot/cpu/aarch64/vm_version_aarch64.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ void VM_Version::initialize() {
9595
SoftwarePrefetchHintDistance &= ~7;
9696
}
9797

98+
if (FLAG_IS_DEFAULT(ContendedPaddingWidth) && (dcache_line > ContendedPaddingWidth)) {
99+
ContendedPaddingWidth = dcache_line;
100+
}
98101

99102
if (os::supports_map_sync()) {
100103
// if dcpop is available publish data cache line flush size via

0 commit comments

Comments
 (0)