hotspot/src/share/vm/utilities/globalDefinitions.hpp
changeset 29180 50369728b00e
parent 27471 6e56277909f1
child 29185 41cf0610fedf
--- a/hotspot/src/share/vm/utilities/globalDefinitions.hpp	Fri Nov 21 08:00:31 2014 -0800
+++ b/hotspot/src/share/vm/utilities/globalDefinitions.hpp	Thu Dec 11 13:11:53 2014 -0800
@@ -417,6 +417,11 @@
   ProfileRTM = 0x0  // Use RTM with abort ratio calculation
 };
 
+// The maximum size of the code cache.  Can be overridden by targets.
+#define CODE_CACHE_SIZE_LIMIT (2*G)
+// Allow targets to reduce the default size of the code cache.
+#define CODE_CACHE_DEFAULT_LIMIT CODE_CACHE_SIZE_LIMIT
+
 #ifdef TARGET_ARCH_x86
 # include "globalDefinitions_x86.hpp"
 #endif
@@ -432,6 +437,9 @@
 #ifdef TARGET_ARCH_ppc
 # include "globalDefinitions_ppc.hpp"
 #endif
+#ifdef TARGET_ARCH_aarch64
+# include "globalDefinitions_aarch64.hpp"
+#endif
 
 /*
  * If a platform does not support native stack walking