From bf0ddc70f543a1847d8822bc01537322aa5bbe6d Mon Sep 17 00:00:00 2001
From: hedongbo <hedongbo@huawei.com>
Date: Thu, 5 Jan 2023 19:40:11 +0000
Subject: 8178968: AArch64: Remove non-standard code cache size

---
 hotspot/src/cpu/aarch64/vm/globalDefinitions_aarch64.hpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/hotspot/src/cpu/aarch64/vm/globalDefinitions_aarch64.hpp b/hotspot/src/cpu/aarch64/vm/globalDefinitions_aarch64.hpp
index f15ed99fb..ed623c435 100644
--- a/hotspot/src/cpu/aarch64/vm/globalDefinitions_aarch64.hpp
+++ b/hotspot/src/cpu/aarch64/vm/globalDefinitions_aarch64.hpp
@@ -37,8 +37,4 @@ const bool CCallingConventionRequiresIntsAsLongs = false;
 
 #define SUPPORTS_NATIVE_CX8
 
-// The maximum B/BL offset range on AArch64 is 128MB.
-#undef CODE_CACHE_DEFAULT_LIMIT
-#define CODE_CACHE_DEFAULT_LIMIT (128*M)
-
 #endif // CPU_AARCH64_VM_GLOBALDEFINITIONS_AARCH64_HPP
-- 
2.12.3

