< prev index next >
src/hotspot/share/classfile/protectionDomainCache.cpp
Print this page
rev 49275 : [mq]: JDK-8199781.patch
*** 130,140 ****
return entry;
}
ProtectionDomainCacheEntry* ProtectionDomainCacheTable::find_entry(int index, Handle protection_domain) {
for (ProtectionDomainCacheEntry* e = bucket(index); e != NULL; e = e->next()) {
! if (e->object_no_keepalive() == protection_domain()) {
return e;
}
}
return NULL;
--- 130,140 ----
return entry;
}
ProtectionDomainCacheEntry* ProtectionDomainCacheTable::find_entry(int index, Handle protection_domain) {
for (ProtectionDomainCacheEntry* e = bucket(index); e != NULL; e = e->next()) {
! if (oopDesc::equals(e->object_no_keepalive(), protection_domain())) {
return e;
}
}
return NULL;
< prev index next >