1.1 --- a/src/share/vm/utilities/globalDefinitions.hpp Wed Oct 16 10:52:41 2013 +0200 1.2 +++ b/src/share/vm/utilities/globalDefinitions.hpp Tue Nov 05 17:38:04 2013 -0800 1.3 @@ -329,12 +329,18 @@ 1.4 1.5 const int max_method_code_size = 64*K - 1; // JVM spec, 2nd ed. section 4.8.1 (p.134) 1.6 1.7 +// Default ProtectionDomainCacheSize values 1.8 + 1.9 +const int defaultProtectionDomainCacheSize = NOT_LP64(137) LP64_ONLY(2017); 1.10 1.11 //---------------------------------------------------------------------------------------------------- 1.12 // Default and minimum StringTableSize values 1.13 1.14 const int defaultStringTableSize = NOT_LP64(1009) LP64_ONLY(60013); 1.15 -const int minimumStringTableSize=1009; 1.16 +const int minimumStringTableSize = 1009; 1.17 + 1.18 +const int defaultSymbolTableSize = 20011; 1.19 +const int minimumSymbolTableSize = 1009; 1.20 1.21 1.22 //---------------------------------------------------------------------------------------------------- 1.23 @@ -365,8 +371,6 @@ 1.24 // Klass encoding metaspace max size 1.25 const uint64_t KlassEncodingMetaspaceMax = (uint64_t(max_juint) + 1) << LogKlassAlignmentInBytes; 1.26 1.27 -const jlong CompressedKlassPointersBase = NOT_LP64(0) LP64_ONLY(CONST64(0x800000000)); // 32*G 1.28 - 1.29 // Machine dependent stuff 1.30 1.31 #ifdef TARGET_ARCH_x86 1.32 @@ -970,9 +974,9 @@ 1.33 // (These must be implemented as #defines because C++ compilers are 1.34 // not obligated to inline non-integral constants!) 1.35 #define badAddress ((address)::badAddressVal) 1.36 -#define badOop ((oop)::badOopVal) 1.37 +#define badOop (cast_to_oop(::badOopVal)) 1.38 #define badHeapWord (::badHeapWordVal) 1.39 -#define badJNIHandle ((oop)::badJNIHandleVal) 1.40 +#define badJNIHandle (cast_to_oop(::badJNIHandleVal)) 1.41 1.42 // Default TaskQueue size is 16K (32-bit) or 128K (64-bit) 1.43 #define TASKQUEUE_SIZE (NOT_LP64(1<<14) LP64_ONLY(1<<17))