< prev index next >

src/share/vm/classfile/protectionDomainCache.hpp

Print this page

        

*** 31,41 **** // This class caches the approved protection domains that can access loaded classes. // 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 class ProtectionDomainCacheEntry : public HashtableEntry<oop, mtClass> { friend class VMStructs; public: oop protection_domain() { return literal(); } --- 31,41 ---- // This class caches the approved protection domains that can access loaded classes. // 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 class loader data graph dictionaries. class ProtectionDomainCacheEntry : public HashtableEntry<oop, mtClass> { friend class VMStructs; public: oop protection_domain() { return literal(); }
*** 53,63 **** void print() PRODUCT_RETURN; void verify(); }; ! // The ProtectionDomainCacheTable contains all protection domain oops. The system // 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 // protection domain are the only ones referring the Java heap. So when there is // need to update these, instead of going over every entry of the system dictionary, --- 53,63 ---- void print() PRODUCT_RETURN; void verify(); }; ! // 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 // protection domain are the only ones referring the Java heap. So when there is // need to update these, instead of going over every entry of the system dictionary,
< prev index next >