--- a/src/hotspot/share/classfile/protectionDomainCache.cpp Thu Apr 04 01:46:14 2019 +0200
+++ b/src/hotspot/share/classfile/protectionDomainCache.cpp Wed Apr 03 20:39:19 2019 -0400
@@ -45,7 +45,7 @@
}
ProtectionDomainCacheTable::ProtectionDomainCacheTable(int table_size)
- : Hashtable<ClassLoaderWeakHandle, mtClass>(table_size, sizeof(ProtectionDomainCacheEntry))
+ : Hashtable<WeakHandle<vm_class_loader_data>, mtClass>(table_size, sizeof(ProtectionDomainCacheEntry))
{ _dead_entries = false;
_total_oops_removed = 0;
}
@@ -180,8 +180,8 @@
protection_domain->print_value_on(&ls);
ls.cr();
}
- ClassLoaderWeakHandle w = ClassLoaderWeakHandle::create(protection_domain);
+ WeakHandle<vm_class_loader_data> w = WeakHandle<vm_class_loader_data>::create(protection_domain);
ProtectionDomainCacheEntry* p = new_entry(hash, w);
- Hashtable<ClassLoaderWeakHandle, mtClass>::add_entry(index, p);
+ Hashtable<WeakHandle<vm_class_loader_data>, mtClass>::add_entry(index, p);
return p;
}