mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +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
|
@ -714,11 +714,17 @@ typedef BinaryTreeDictionary<Metablock, FreeList> MetablockTreeDictionary;
|
|||
nonstatic_field(PlaceholderEntry, _loader_data, ClassLoaderData*) \
|
||||
\
|
||||
/**************************/ \
|
||||
/* ProctectionDomainEntry */ \
|
||||
/* ProtectionDomainEntry */ \
|
||||
/**************************/ \
|
||||
\
|
||||
nonstatic_field(ProtectionDomainEntry, _next, ProtectionDomainEntry*) \
|
||||
nonstatic_field(ProtectionDomainEntry, _protection_domain, oop) \
|
||||
nonstatic_field(ProtectionDomainEntry, _pd_cache, ProtectionDomainCacheEntry*) \
|
||||
\
|
||||
/*******************************/ \
|
||||
/* ProtectionDomainCacheEntry */ \
|
||||
/*******************************/ \
|
||||
\
|
||||
nonstatic_field(ProtectionDomainCacheEntry, _literal, oop) \
|
||||
\
|
||||
/*************************/ \
|
||||
/* LoaderConstraintEntry */ \
|
||||
|
@ -1560,6 +1566,7 @@ typedef BinaryTreeDictionary<Metablock, FreeList> MetablockTreeDictionary;
|
|||
declare_toplevel_type(SystemDictionary) \
|
||||
declare_toplevel_type(vmSymbols) \
|
||||
declare_toplevel_type(ProtectionDomainEntry) \
|
||||
declare_toplevel_type(ProtectionDomainCacheEntry) \
|
||||
\
|
||||
declare_toplevel_type(GenericGrowableArray) \
|
||||
declare_toplevel_type(GrowableArray<int>) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue