mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
7133093: Improve system dictionary performance
Implement one dictionary per ClassLoaderData for faster lookup and removal during class unloading Reviewed-by: iklam, acorn, jiangli
This commit is contained in:
parent
b170f01ddd
commit
a1f70549e4
52 changed files with 781 additions and 1466 deletions
|
@ -33,7 +33,7 @@
|
|||
// Dictionary entry pd_set point to entries in this hashtable. Please refer
|
||||
// to dictionary.hpp pd_set for more information about how protection domain entries
|
||||
// are used.
|
||||
// This table is walked during GC, rather than the entire system dictionary
|
||||
// This table is walked during GC, rather than the class loader data graph dictionaries.
|
||||
class ProtectionDomainCacheEntry : public HashtableEntry<oop, mtClass> {
|
||||
friend class VMStructs;
|
||||
public:
|
||||
|
@ -55,7 +55,7 @@ class ProtectionDomainCacheEntry : public HashtableEntry<oop, mtClass> {
|
|||
void verify();
|
||||
};
|
||||
|
||||
// The ProtectionDomainCacheTable contains all protection domain oops. The system
|
||||
// The ProtectionDomainCacheTable contains all protection domain oops. The
|
||||
// dictionary entries reference its entries instead of having references to oops
|
||||
// directly.
|
||||
// This is used to speed up system dictionary iteration: the oops in the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue