< prev index next >

src/share/vm/utilities/globalDefinitions.hpp

Print this page




 380 const julong  max_julong  = (julong)-1;  // 0xFF....FF largest julong
 381 
 382 typedef jbyte  s1;
 383 typedef jshort s2;
 384 typedef jint   s4;
 385 typedef jlong  s8;
 386 
 387 const jbyte min_jbyte = -(1 << 7);       // smallest jbyte
 388 const jbyte max_jbyte = (1 << 7) - 1;    // largest jbyte
 389 const jshort min_jshort = -(1 << 15);    // smallest jshort
 390 const jshort max_jshort = (1 << 15) - 1; // largest jshort
 391 
 392 const jint min_jint = (jint)1 << (sizeof(jint)*BitsPerByte-1); // 0x80000000 == smallest jint
 393 const jint max_jint = (juint)min_jint - 1;                     // 0x7FFFFFFF == largest jint
 394 
 395 //----------------------------------------------------------------------------------------------------
 396 // JVM spec restrictions
 397 
 398 const int max_method_code_size = 64*K - 1;  // JVM spec, 2nd ed. section 4.8.1 (p.134)
 399 
 400 // Default ProtectionDomainCacheSize values
 401 
 402 const int defaultProtectionDomainCacheSize = NOT_LP64(137) LP64_ONLY(2017);
 403 
 404 //----------------------------------------------------------------------------------------------------
 405 // Default and minimum StringTableSize values
 406 
 407 const int defaultStringTableSize = NOT_LP64(1009) LP64_ONLY(60013);
 408 const int minimumStringTableSize = 1009;
 409 
 410 const int defaultSymbolTableSize = 20011;
 411 const int minimumSymbolTableSize = 1009;
 412 
 413 
 414 //----------------------------------------------------------------------------------------------------
 415 // HotSwap - for JVMTI   aka Class File Replacement and PopFrame
 416 //
 417 // Determines whether on-the-fly class replacement and frame popping are enabled.
 418 
 419 #define HOTSWAP
 420 
 421 //----------------------------------------------------------------------------------------------------
 422 // Object alignment, in units of HeapWords.
 423 //




 380 const julong  max_julong  = (julong)-1;  // 0xFF....FF largest julong
 381 
 382 typedef jbyte  s1;
 383 typedef jshort s2;
 384 typedef jint   s4;
 385 typedef jlong  s8;
 386 
 387 const jbyte min_jbyte = -(1 << 7);       // smallest jbyte
 388 const jbyte max_jbyte = (1 << 7) - 1;    // largest jbyte
 389 const jshort min_jshort = -(1 << 15);    // smallest jshort
 390 const jshort max_jshort = (1 << 15) - 1; // largest jshort
 391 
 392 const jint min_jint = (jint)1 << (sizeof(jint)*BitsPerByte-1); // 0x80000000 == smallest jint
 393 const jint max_jint = (juint)min_jint - 1;                     // 0x7FFFFFFF == largest jint
 394 
 395 //----------------------------------------------------------------------------------------------------
 396 // JVM spec restrictions
 397 
 398 const int max_method_code_size = 64*K - 1;  // JVM spec, 2nd ed. section 4.8.1 (p.134)
 399 




 400 //----------------------------------------------------------------------------------------------------
 401 // Default and minimum StringTableSize values
 402 
 403 const int defaultStringTableSize = NOT_LP64(1009) LP64_ONLY(60013);
 404 const int minimumStringTableSize = 1009;
 405 
 406 const int defaultSymbolTableSize = 20011;
 407 const int minimumSymbolTableSize = 1009;
 408 
 409 
 410 //----------------------------------------------------------------------------------------------------
 411 // HotSwap - for JVMTI   aka Class File Replacement and PopFrame
 412 //
 413 // Determines whether on-the-fly class replacement and frame popping are enabled.
 414 
 415 #define HOTSWAP
 416 
 417 //----------------------------------------------------------------------------------------------------
 418 // Object alignment, in units of HeapWords.
 419 //


< prev index next >