equal
deleted
inserted
replaced
95 void ProtectionDomainCacheTable::verify() { |
95 void ProtectionDomainCacheTable::verify() { |
96 verify_table<ProtectionDomainCacheEntry>("Protection Domain Table"); |
96 verify_table<ProtectionDomainCacheEntry>("Protection Domain Table"); |
97 } |
97 } |
98 |
98 |
99 void ProtectionDomainCacheEntry::verify() { |
99 void ProtectionDomainCacheEntry::verify() { |
100 guarantee(literal()->is_oop(), "must be an oop"); |
100 guarantee(oopDesc::is_oop(literal()), "must be an oop"); |
101 } |
101 } |
102 |
102 |
103 ProtectionDomainCacheEntry* ProtectionDomainCacheTable::get(Handle protection_domain) { |
103 ProtectionDomainCacheEntry* ProtectionDomainCacheTable::get(Handle protection_domain) { |
104 unsigned int hash = compute_hash(protection_domain); |
104 unsigned int hash = compute_hash(protection_domain); |
105 int index = hash_to_index(hash); |
105 int index = hash_to_index(hash); |