equal
deleted
inserted
replaced
158 } |
158 } |
159 |
159 |
160 ProtectionDomainCacheEntry* ProtectionDomainCacheTable::find_entry(int index, Handle protection_domain) { |
160 ProtectionDomainCacheEntry* ProtectionDomainCacheTable::find_entry(int index, Handle protection_domain) { |
161 assert_locked_or_safepoint(SystemDictionary_lock); |
161 assert_locked_or_safepoint(SystemDictionary_lock); |
162 for (ProtectionDomainCacheEntry* e = bucket(index); e != NULL; e = e->next()) { |
162 for (ProtectionDomainCacheEntry* e = bucket(index); e != NULL; e = e->next()) { |
163 if (oopDesc::equals(e->object_no_keepalive(), protection_domain())) { |
163 if (e->object_no_keepalive() == protection_domain()) { |
164 return e; |
164 return e; |
165 } |
165 } |
166 } |
166 } |
167 |
167 |
168 return NULL; |
168 return NULL; |