hotspot/src/share/vm/oops/methodOop.hpp
changeset 12959 4d33f9be7e87
parent 11637 030466036615
child 12960 2989536b61ef
equal deleted inserted replaced
12958:009b6c9586d8 12959:4d33f9be7e87
   196 
   196 
   197   // Helper routine: get klass name + "." + method name + signature as
   197   // Helper routine: get klass name + "." + method name + signature as
   198   // C string, for the purpose of providing more useful NoSuchMethodErrors
   198   // C string, for the purpose of providing more useful NoSuchMethodErrors
   199   // and fatal error handling. The string is allocated in resource
   199   // and fatal error handling. The string is allocated in resource
   200   // area if a buffer is not provided by the caller.
   200   // area if a buffer is not provided by the caller.
   201   char* name_and_sig_as_C_string();
   201   char* name_and_sig_as_C_string() const;
   202   char* name_and_sig_as_C_string(char* buf, int size);
   202   char* name_and_sig_as_C_string(char* buf, int size) const;
   203 
   203 
   204   // Static routine in the situations we don't have a methodOop
   204   // Static routine in the situations we don't have a methodOop
   205   static char* name_and_sig_as_C_string(Klass* klass, Symbol* method_name, Symbol* signature);
   205   static char* name_and_sig_as_C_string(Klass* klass, Symbol* method_name, Symbol* signature);
   206   static char* name_and_sig_as_C_string(Klass* klass, Symbol* method_name, Symbol* signature, char* buf, int size);
   206   static char* name_and_sig_as_C_string(Klass* klass, Symbol* method_name, Symbol* signature, char* buf, int size);
   207 
   207