src/share/vm/utilities/globalDefinitions.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File

## src/share/vm/utilities/globalDefinitions.hpp

Print this page

     345 const juint   max_juint   = (juint)-1;   // 0xFFFFFFFF largest juint
     346 const julong  max_julong  = (julong)-1;  // 0xFF....FF largest julong
     347
     348 typedef jbyte  s1;
     349 typedef jshort s2;
     350 typedef jint   s4;
     351 typedef jlong  s8;
     352
     353 //----------------------------------------------------------------------------------------------------
     354 // JVM spec restrictions
     355
     356 const int max_method_code_size = 64*K - 1;  // JVM spec, 2nd ed. section 4.8.1 (p.134)
     357
     358 // Default ProtectionDomainCacheSize values
     359
     360 const int defaultProtectionDomainCacheSize = NOT_LP64(137) LP64_ONLY(2017);
     361
     362 //----------------------------------------------------------------------------------------------------
     363 // Default and minimum StringTableSize values
     364
     365 const int defaultStringTableSize = NOT_LP64(1009) LP64_ONLY(60013);
     366 const int minimumStringTableSize = 1009;
     367
     368 const int defaultSymbolTableSize = 20011;
     369 const int minimumSymbolTableSize = 1009;
     370

     371
     372 //----------------------------------------------------------------------------------------------------
     373 // HotSwap - for JVMTI   aka Class File Replacement and PopFrame
     374 //
     375 // Determines whether on-the-fly class replacement and frame popping are enabled.
     376
     377 #define HOTSWAP
     378
     379 //----------------------------------------------------------------------------------------------------
     380 // Object alignment, in units of HeapWords.
     381 //
     382 // Minimum is max(BytesPerLong, BytesPerDouble, BytesPerOop) / HeapWordSize, so jlong, jdouble and
     383 // reference fields can be naturally aligned.
     384
     385 extern int MinObjAlignment;
     386 extern int MinObjAlignmentInBytes;
     387 extern int MinObjAlignmentInBytesMask;
     388
     389 extern int LogMinObjAlignment;
     390 extern int LogMinObjAlignmentInBytes;
     345 const juint   max_juint   = (juint)-1;   // 0xFFFFFFFF largest juint
     346 const julong  max_julong  = (julong)-1;  // 0xFF....FF largest julong
     347
     348 typedef jbyte  s1;
     349 typedef jshort s2;
     350 typedef jint   s4;
     351 typedef jlong  s8;
     352
     353 //----------------------------------------------------------------------------------------------------
     354 // JVM spec restrictions
     355
     356 const int max_method_code_size = 64*K - 1;  // JVM spec, 2nd ed. section 4.8.1 (p.134)
     357
     358 // Default ProtectionDomainCacheSize values
     359
     360 const int defaultProtectionDomainCacheSize = NOT_LP64(137) LP64_ONLY(2017);
     361
     362 //----------------------------------------------------------------------------------------------------
     363 // Default and minimum StringTableSize values
     364
     365 const int defaultStringTableSize = NOT_LP64(1009) LP64_ONLY(60013); // "java -version": 672
     366 const int minimumStringTableSize = 1009;
     367
     368 const int defaultSymbolTableSize = 20011;// "java -version": 11027;
     369 const int minimumSymbolTableSize = 1009;
     370
     371 const int defaultSystemDictionarySize = 1009; // "java -version": 337
     372
     373 //----------------------------------------------------------------------------------------------------
     374 // HotSwap - for JVMTI   aka Class File Replacement and PopFrame
     375 //
     376 // Determines whether on-the-fly class replacement and frame popping are enabled.
     377
     378 #define HOTSWAP
     379
     380 //----------------------------------------------------------------------------------------------------
     381 // Object alignment, in units of HeapWords.
     382 //
     383 // Minimum is max(BytesPerLong, BytesPerDouble, BytesPerOop) / HeapWordSize, so jlong, jdouble and
     384 // reference fields can be naturally aligned.
     385
     386 extern int MinObjAlignment;
     387 extern int MinObjAlignmentInBytes;
     388 extern int MinObjAlignmentInBytesMask;
     389
     390 extern int LogMinObjAlignment;
     391 extern int LogMinObjAlignmentInBytes;

src/share/vm/utilities/globalDefinitions.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File