< prev index next >

src/share/vm/classfile/dictionary.hpp

Print this page

        

*** 147,160 **** // to be updated. bool _strongly_reachable; public: oop protection_domain() { return literal(); } - void init() { - _strongly_reachable = false; - } - ProtectionDomainCacheEntry* next() { return (ProtectionDomainCacheEntry*)HashtableEntry<oop, mtClass>::next(); } ProtectionDomainCacheEntry** next_addr() { --- 147,156 ----
*** 163,176 **** void oops_do(OopClosure* f) { f->do_oop(literal_addr()); } - void set_strongly_reachable() { _strongly_reachable = true; } - bool is_strongly_reachable() { return _strongly_reachable; } - void reset_strongly_reachable() { _strongly_reachable = false; } - void print() PRODUCT_RETURN; void verify(); }; // The ProtectionDomainCacheTable contains all protection domain oops. The system --- 159,168 ----
*** 194,204 **** return (ProtectionDomainCacheEntry**) Hashtable<oop, mtClass>::bucket_addr(i); } ProtectionDomainCacheEntry* new_entry(unsigned int hash, Handle protection_domain) { ProtectionDomainCacheEntry* entry = (ProtectionDomainCacheEntry*) Hashtable<oop, mtClass>::new_entry(hash, protection_domain()); - entry->init(); return entry; } static unsigned int compute_hash(Handle protection_domain); --- 186,195 ----
*** 215,226 **** void unlink(BoolObjectClosure* cl); // GC support void oops_do(OopClosure* f); - void always_strong_oops_do(OopClosure* f); - void roots_oops_do(OopClosure* strong, OopClosure* weak); static uint bucket_size(); void print() PRODUCT_RETURN; void verify(); --- 206,215 ----
*** 304,321 **** return protection_domain() == NULL ? true : contains_protection_domain(protection_domain()); } - void set_strongly_reachable() { - for (ProtectionDomainEntry* current = _pd_set; - current != NULL; - current = current->_next) { - current->_pd_cache->set_strongly_reachable(); - } - } - void verify_protection_domain_set() { for (ProtectionDomainEntry* current = _pd_set; current != NULL; current = current->_next) { current->_pd_cache->protection_domain()->verify(); --- 293,302 ----
< prev index next >