comparison src/share/vm/utilities/globalDefinitions.hpp @ 14422:2b8e28fdf503

Merge
author kvn
date Tue, 05 Nov 2013 17:38:04 -0800
parents e2722a66aba7 209aa13ab8c0
children da862781b584
comparison
equal deleted inserted replaced
14421:3068270ba476 14422:2b8e28fdf503
327 //---------------------------------------------------------------------------------------------------- 327 //----------------------------------------------------------------------------------------------------
328 // JVM spec restrictions 328 // JVM spec restrictions
329 329
330 const int max_method_code_size = 64*K - 1; // JVM spec, 2nd ed. section 4.8.1 (p.134) 330 const int max_method_code_size = 64*K - 1; // JVM spec, 2nd ed. section 4.8.1 (p.134)
331 331
332 // Default ProtectionDomainCacheSize values
333
334 const int defaultProtectionDomainCacheSize = NOT_LP64(137) LP64_ONLY(2017);
332 335
333 //---------------------------------------------------------------------------------------------------- 336 //----------------------------------------------------------------------------------------------------
334 // Default and minimum StringTableSize values 337 // Default and minimum StringTableSize values
335 338
336 const int defaultStringTableSize = NOT_LP64(1009) LP64_ONLY(60013); 339 const int defaultStringTableSize = NOT_LP64(1009) LP64_ONLY(60013);
337 const int minimumStringTableSize=1009; 340 const int minimumStringTableSize = 1009;
341
342 const int defaultSymbolTableSize = 20011;
343 const int minimumSymbolTableSize = 1009;
338 344
339 345
340 //---------------------------------------------------------------------------------------------------- 346 //----------------------------------------------------------------------------------------------------
341 // HotSwap - for JVMTI aka Class File Replacement and PopFrame 347 // HotSwap - for JVMTI aka Class File Replacement and PopFrame
342 // 348 //
362 const int KlassAlignmentInBytes = 1 << LogKlassAlignmentInBytes; 368 const int KlassAlignmentInBytes = 1 << LogKlassAlignmentInBytes;
363 const int KlassAlignment = KlassAlignmentInBytes / HeapWordSize; 369 const int KlassAlignment = KlassAlignmentInBytes / HeapWordSize;
364 370
365 // Klass encoding metaspace max size 371 // Klass encoding metaspace max size
366 const uint64_t KlassEncodingMetaspaceMax = (uint64_t(max_juint) + 1) << LogKlassAlignmentInBytes; 372 const uint64_t KlassEncodingMetaspaceMax = (uint64_t(max_juint) + 1) << LogKlassAlignmentInBytes;
367
368 const jlong CompressedKlassPointersBase = NOT_LP64(0) LP64_ONLY(CONST64(0x800000000)); // 32*G
369 373
370 // Machine dependent stuff 374 // Machine dependent stuff
371 375
372 #ifdef TARGET_ARCH_x86 376 #ifdef TARGET_ARCH_x86
373 # include "globalDefinitions_x86.hpp" 377 # include "globalDefinitions_x86.hpp"
968 972
969 973
970 // (These must be implemented as #defines because C++ compilers are 974 // (These must be implemented as #defines because C++ compilers are
971 // not obligated to inline non-integral constants!) 975 // not obligated to inline non-integral constants!)
972 #define badAddress ((address)::badAddressVal) 976 #define badAddress ((address)::badAddressVal)
973 #define badOop ((oop)::badOopVal) 977 #define badOop (cast_to_oop(::badOopVal))
974 #define badHeapWord (::badHeapWordVal) 978 #define badHeapWord (::badHeapWordVal)
975 #define badJNIHandle ((oop)::badJNIHandleVal) 979 #define badJNIHandle (cast_to_oop(::badJNIHandleVal))
976 980
977 // Default TaskQueue size is 16K (32-bit) or 128K (64-bit) 981 // Default TaskQueue size is 16K (32-bit) or 128K (64-bit)
978 #define TASKQUEUE_SIZE (NOT_LP64(1<<14) LP64_ONLY(1<<17)) 982 #define TASKQUEUE_SIZE (NOT_LP64(1<<14) LP64_ONLY(1<<17))
979 983
980 //---------------------------------------------------------------------------------------------------- 984 //----------------------------------------------------------------------------------------------------