equal
deleted
inserted
replaced
82 class ResolutionErrorTable; |
82 class ResolutionErrorTable; |
83 class SymbolPropertyTable; |
83 class SymbolPropertyTable; |
84 class ProtectionDomainCacheTable; |
84 class ProtectionDomainCacheTable; |
85 class ProtectionDomainCacheEntry; |
85 class ProtectionDomainCacheEntry; |
86 class GCTimer; |
86 class GCTimer; |
|
87 class OopStorage; |
87 |
88 |
88 // Certain classes are preloaded, such as java.lang.Object and java.lang.String. |
89 // Certain classes are preloaded, such as java.lang.Object and java.lang.String. |
89 // They are all "well-known", in the sense that no class loader is allowed |
90 // They are all "well-known", in the sense that no class loader is allowed |
90 // to provide a different definition. |
91 // to provide a different definition. |
91 // |
92 // |
635 static SymbolPropertyTable* _invoke_method_table; |
636 static SymbolPropertyTable* _invoke_method_table; |
636 |
637 |
637 // ProtectionDomain cache |
638 // ProtectionDomain cache |
638 static ProtectionDomainCacheTable* _pd_cache_table; |
639 static ProtectionDomainCacheTable* _pd_cache_table; |
639 |
640 |
|
641 // VM weak OopStorage object. |
|
642 static OopStorage* _vm_weak_oop_storage; |
|
643 |
640 protected: |
644 protected: |
641 static void validate_protection_domain(InstanceKlass* klass, |
645 static void validate_protection_domain(InstanceKlass* klass, |
642 Handle class_loader, |
646 Handle class_loader, |
643 Handle protection_domain, TRAPS); |
647 Handle protection_domain, TRAPS); |
644 |
648 |
687 static bool is_nonpublic_Object_method(Method* m) { |
691 static bool is_nonpublic_Object_method(Method* m) { |
688 assert(m != NULL, "Unexpected NULL Method*"); |
692 assert(m != NULL, "Unexpected NULL Method*"); |
689 return !m->is_public() && m->method_holder() == SystemDictionary::Object_klass(); |
693 return !m->is_public() && m->method_holder() == SystemDictionary::Object_klass(); |
690 } |
694 } |
691 |
695 |
|
696 static void initialize_oop_storage(); |
|
697 static OopStorage* vm_weak_oop_storage(); |
|
698 |
692 protected: |
699 protected: |
693 static InstanceKlass* find_shared_class(Symbol* class_name); |
700 static InstanceKlass* find_shared_class(Symbol* class_name); |
694 |
701 |
695 // Setup link to hierarchy |
702 // Setup link to hierarchy |
696 static void add_to_hierarchy(InstanceKlass* k, TRAPS); |
703 static void add_to_hierarchy(InstanceKlass* k, TRAPS); |