Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2021-03-14 04:08:06 +0300
committerGitHub <noreply@github.com>2021-03-14 04:08:06 +0300
commit6a1d777d32edd0602430faec3e1ab1011718ba4b (patch)
treeecdb88eb681da413bccf76fae41e31c45e2168f0 /src/coreclr/gc
parent86e57ceec142245bce38131323c16cac330b0c14 (diff)
Use same brick size for both x64 and ARM64 (#49581)
Diffstat (limited to 'src/coreclr/gc')
-rw-r--r--src/coreclr/gc/gc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coreclr/gc/gc.cpp b/src/coreclr/gc/gc.cpp
index 5e1b2099a38..f5fb30c3f5d 100644
--- a/src/coreclr/gc/gc.cpp
+++ b/src/coreclr/gc/gc.cpp
@@ -7620,11 +7620,11 @@ BOOL gc_heap::card_bundles_enabled ()
}
#endif // CARD_BUNDLE
-#if defined (TARGET_AMD64)
+#if defined (HOST_64BIT)
#define brick_size ((size_t)4096)
#else
#define brick_size ((size_t)2048)
-#endif //TARGET_AMD64
+#endif //HOST_64BIT
inline
size_t gc_heap::brick_of (uint8_t* add)