Skip to content

Commit 60ba81d

Browse files
author
Peter B. Kessler
committed
8354347: Increase the default padding size for aarch64 in JDK code.
Reviewed-by: aph, ecaspole
1 parent c8bbcaf commit 60ba81d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hotspot/cpu/aarch64/globalDefinitions_aarch64.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1999, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1999, 2025, Oracle and/or its affiliates. All rights reserved.
33
* Copyright (c) 2014, 2015, Red Hat Inc. All rights reserved.
44
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
55
*
@@ -46,7 +46,7 @@ const bool CCallingConventionRequiresIntsAsLongs = false;
4646
#define DEFAULT_CACHE_LINE_SIZE 64
4747

4848
// The default padding size for data structures to avoid false sharing.
49-
#define DEFAULT_PADDING_SIZE DEFAULT_CACHE_LINE_SIZE
49+
#define DEFAULT_PADDING_SIZE (2*DEFAULT_CACHE_LINE_SIZE)
5050

5151
// According to the ARMv8 ARM, "Concurrent modification and execution
5252
// of instructions can lead to the resulting instruction performing

0 commit comments

Comments
 (0)