hotspot/src/share/vm/classfile/protectionDomainCache.cpp
changeset 46968 9119841280f4
parent 46742 24ec8a039c90
equal deleted inserted replaced
46953:39063b484ec2 46968:9119841280f4
    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);