< prev index next >

src/share/vm/utilities/globalDefinitions.hpp

Print this page




 400 const julong  max_julong  = (julong)-1;  // 0xFF....FF largest julong
 401 
 402 typedef jbyte  s1;
 403 typedef jshort s2;
 404 typedef jint   s4;
 405 typedef jlong  s8;
 406 
 407 const jbyte min_jbyte = -(1 << 7);       // smallest jbyte
 408 const jbyte max_jbyte = (1 << 7) - 1;    // largest jbyte
 409 const jshort min_jshort = -(1 << 15);    // smallest jshort
 410 const jshort max_jshort = (1 << 15) - 1; // largest jshort
 411 
 412 const jint min_jint = (jint)1 << (sizeof(jint)*BitsPerByte-1); // 0x80000000 == smallest jint
 413 const jint max_jint = (juint)min_jint - 1;                     // 0x7FFFFFFF == largest jint
 414 
 415 //----------------------------------------------------------------------------------------------------
 416 // JVM spec restrictions
 417 
 418 const int max_method_code_size = 64*K - 1;  // JVM spec, 2nd ed. section 4.8.1 (p.134)
 419 
 420 // Default ProtectionDomainCacheSize values
 421 
 422 const int defaultProtectionDomainCacheSize = NOT_LP64(137) LP64_ONLY(2017);
 423 
 424 //----------------------------------------------------------------------------------------------------
 425 // Default and minimum StringTableSize values
 426 
 427 const int defaultStringTableSize = NOT_LP64(1009) LP64_ONLY(60013);
 428 const int minimumStringTableSize = 1009;
 429 
 430 const int defaultSymbolTableSize = 20011;
 431 const int minimumSymbolTableSize = 1009;
 432 
 433 
 434 //----------------------------------------------------------------------------------------------------
 435 // HotSwap - for JVMTI   aka Class File Replacement and PopFrame
 436 //
 437 // Determines whether on-the-fly class replacement and frame popping are enabled.
 438 
 439 #define HOTSWAP
 440 
 441 //----------------------------------------------------------------------------------------------------
 442 // Object alignment, in units of HeapWords.
 443 //




 400 const julong  max_julong  = (julong)-1;  // 0xFF....FF largest julong
 401 
 402 typedef jbyte  s1;
 403 typedef jshort s2;
 404 typedef jint   s4;
 405 typedef jlong  s8;
 406 
 407 const jbyte min_jbyte = -(1 << 7);       // smallest jbyte
 408 const jbyte max_jbyte = (1 << 7) - 1;    // largest jbyte
 409 const jshort min_jshort = -(1 << 15);    // smallest jshort
 410 const jshort max_jshort = (1 << 15) - 1; // largest jshort
 411 
 412 const jint min_jint = (jint)1 << (sizeof(jint)*BitsPerByte-1); // 0x80000000 == smallest jint
 413 const jint max_jint = (juint)min_jint - 1;                     // 0x7FFFFFFF == largest jint
 414 
 415 //----------------------------------------------------------------------------------------------------
 416 // JVM spec restrictions
 417 
 418 const int max_method_code_size = 64*K - 1;  // JVM spec, 2nd ed. section 4.8.1 (p.134)
 419 




 420 //----------------------------------------------------------------------------------------------------
 421 // Default and minimum StringTableSize values
 422 
 423 const int defaultStringTableSize = NOT_LP64(1009) LP64_ONLY(60013);
 424 const int minimumStringTableSize = 1009;
 425 
 426 const int defaultSymbolTableSize = 20011;
 427 const int minimumSymbolTableSize = 1009;
 428 
 429 
 430 //----------------------------------------------------------------------------------------------------
 431 // HotSwap - for JVMTI   aka Class File Replacement and PopFrame
 432 //
 433 // Determines whether on-the-fly class replacement and frame popping are enabled.
 434 
 435 #define HOTSWAP
 436 
 437 //----------------------------------------------------------------------------------------------------
 438 // Object alignment, in units of HeapWords.
 439 //


< prev index next >