src/share/vm/oops/methodOop.hpp

changeset 3848
e2fe93124108
parent 3500
0382d2b469b2
child 3849
eba1d5bce9e8
equal deleted inserted replaced
3847:5e990493719e 3848:e2fe93124108
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

mercurial