src/hotspot/share/classfile/systemDictionary.hpp
changeset 48463 474cec233fb2
parent 47774 69c081ca110a
child 48538 82c3d4173a53
child 48619 1703d83b3ffe
equal deleted inserted replaced
48462:0bce2ae39928 48463:474cec233fb2
   647                                           TRAPS);
   647                                           TRAPS);
   648   static bool is_system_class_loader(oop class_loader);
   648   static bool is_system_class_loader(oop class_loader);
   649   static bool is_platform_class_loader(oop class_loader);
   649   static bool is_platform_class_loader(oop class_loader);
   650   static void clear_invoke_method_table();
   650   static void clear_invoke_method_table();
   651 
   651 
       
   652   // Returns TRUE if the method is a non-public member of class java.lang.Object.
       
   653   static bool is_nonpublic_Object_method(Method* m) {
       
   654     assert(m != NULL, "Unexpected NULL Method*");
       
   655     return !m->is_public() && m->method_holder() == SystemDictionary::Object_klass();
       
   656   }
       
   657 
   652 protected:
   658 protected:
   653   static InstanceKlass* find_shared_class(Symbol* class_name);
   659   static InstanceKlass* find_shared_class(Symbol* class_name);
   654 
   660 
   655   // Setup link to hierarchy
   661   // Setup link to hierarchy
   656   static void add_to_hierarchy(InstanceKlass* k, TRAPS);
   662   static void add_to_hierarchy(InstanceKlass* k, TRAPS);