mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8003420: NPG: make new GC root for pd_set
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
This commit is contained in:
parent
2d75de8b05
commit
30ed89669a
7 changed files with 403 additions and 40 deletions
|
@ -326,12 +326,15 @@ typedef jlong s8;
|
|||
|
||||
const int max_method_code_size = 64*K - 1; // JVM spec, 2nd ed. section 4.8.1 (p.134)
|
||||
|
||||
// Default ProtectionDomainCacheSize values
|
||||
|
||||
const int defaultProtectionDomainCacheSize = NOT_LP64(137) LP64_ONLY(2017);
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
// Default and minimum StringTableSize values
|
||||
|
||||
const int defaultStringTableSize = NOT_LP64(1009) LP64_ONLY(60013);
|
||||
const int minimumStringTableSize=1009;
|
||||
const int minimumStringTableSize = 1009;
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue