Skip to content

Commit

Permalink
8239386: handle ContendedPaddingWidth in vm_version_aarch64
Browse files Browse the repository at this point in the history
Reviewed-by: aph, phh
  • Loading branch information
EC2 Default User authored and Paul Hohensee committed Mar 4, 2021
1 parent f56c918 commit e61a3ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/hotspot/cpu/aarch64/vm_version_aarch64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ void VM_Version::initialize() {
SoftwarePrefetchHintDistance &= ~7;
}

if (FLAG_IS_DEFAULT(ContendedPaddingWidth) && (dcache_line > ContendedPaddingWidth)) {
ContendedPaddingWidth = dcache_line;
}

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

0 comments on commit e61a3ba

Please sign in to comment.