--- a/src/hotspot/share/classfile/systemDictionary.hpp Tue Apr 10 08:15:40 2018 -0400
+++ b/src/hotspot/share/classfile/systemDictionary.hpp Tue Apr 10 10:06:42 2018 -0400
@@ -84,6 +84,7 @@
class ProtectionDomainCacheTable;
class ProtectionDomainCacheEntry;
class GCTimer;
+class OopStorage;
// Certain classes are preloaded, such as java.lang.Object and java.lang.String.
// They are all "well-known", in the sense that no class loader is allowed
@@ -637,6 +638,9 @@
// ProtectionDomain cache
static ProtectionDomainCacheTable* _pd_cache_table;
+ // VM weak OopStorage object.
+ static OopStorage* _vm_weak_oop_storage;
+
protected:
static void validate_protection_domain(InstanceKlass* klass,
Handle class_loader,
@@ -689,6 +693,9 @@
return !m->is_public() && m->method_holder() == SystemDictionary::Object_klass();
}
+ static void initialize_oop_storage();
+ static OopStorage* vm_weak_oop_storage();
+
protected:
static InstanceKlass* find_shared_class(Symbol* class_name);