src/hotspot/share/classfile/systemDictionary.hpp
changeset 48538 82c3d4173a53
parent 48514 9608f7f41c4e
parent 48463 474cec233fb2
child 48637 7bba05746c44
equal deleted inserted replaced
48537:0140779fc556 48538:82c3d4173a53
   652                                           TRAPS);
   652                                           TRAPS);
   653   static bool is_system_class_loader(oop class_loader);
   653   static bool is_system_class_loader(oop class_loader);
   654   static bool is_platform_class_loader(oop class_loader);
   654   static bool is_platform_class_loader(oop class_loader);
   655   static void clear_invoke_method_table();
   655   static void clear_invoke_method_table();
   656 
   656 
       
   657   // Returns TRUE if the method is a non-public member of class java.lang.Object.
       
   658   static bool is_nonpublic_Object_method(Method* m) {
       
   659     assert(m != NULL, "Unexpected NULL Method*");
       
   660     return !m->is_public() && m->method_holder() == SystemDictionary::Object_klass();
       
   661   }
       
   662 
   657 protected:
   663 protected:
   658   static InstanceKlass* find_shared_class(Symbol* class_name);
   664   static InstanceKlass* find_shared_class(Symbol* class_name);
   659 
   665 
   660   // Setup link to hierarchy
   666   // Setup link to hierarchy
   661   static void add_to_hierarchy(InstanceKlass* k, TRAPS);
   667   static void add_to_hierarchy(InstanceKlass* k, TRAPS);