comparison src/share/vm/utilities/globalDefinitions.hpp @ 12837:82af7d7a0128

8003420: NPG: make new GC root for pd_set Summary: Move protection domain oops from system dictionary entries into a seperate set; the system dictionary references entries in that set now. This allows fast iteration during non-classunloading garbage collection. Implementation based on initial prototype from Ioi Lam (iklam). Reviewed-by: coleenp, iklam
author tschatzl
date Wed, 09 Oct 2013 10:57:01 +0200
parents 4c84d351cca9
children aa6f2ea19d8f
comparison
equal deleted inserted replaced
12836:b4d8a3d4db73 12837:82af7d7a0128
324 //---------------------------------------------------------------------------------------------------- 324 //----------------------------------------------------------------------------------------------------
325 // JVM spec restrictions 325 // JVM spec restrictions
326 326
327 const int max_method_code_size = 64*K - 1; // JVM spec, 2nd ed. section 4.8.1 (p.134) 327 const int max_method_code_size = 64*K - 1; // JVM spec, 2nd ed. section 4.8.1 (p.134)
328 328
329 // Default ProtectionDomainCacheSize values
330
331 const int defaultProtectionDomainCacheSize = NOT_LP64(137) LP64_ONLY(2017);
329 332
330 //---------------------------------------------------------------------------------------------------- 333 //----------------------------------------------------------------------------------------------------
331 // Default and minimum StringTableSize values 334 // Default and minimum StringTableSize values
332 335
333 const int defaultStringTableSize = NOT_LP64(1009) LP64_ONLY(60013); 336 const int defaultStringTableSize = NOT_LP64(1009) LP64_ONLY(60013);
334 const int minimumStringTableSize=1009; 337 const int minimumStringTableSize = 1009;
335 338
336 339
337 //---------------------------------------------------------------------------------------------------- 340 //----------------------------------------------------------------------------------------------------
338 // HotSwap - for JVMTI aka Class File Replacement and PopFrame 341 // HotSwap - for JVMTI aka Class File Replacement and PopFrame
339 // 342 //