Mercurial > hg > truffle
comparison src/share/vm/oops/methodOop.hpp @ 6146:eba1d5bce9e8
Merge
author | kvn |
---|---|
date | Thu, 14 Jun 2012 14:59:52 -0700 |
parents | 2fe087c3e814 e2fe93124108 |
children | d2a62e0f25eb 8150fa46d2ed 6d8f36bcef55 |
comparison
equal
deleted
inserted
replaced
6130:17b1b616daf7 | 6146:eba1d5bce9e8 |
---|---|
194 | 194 |
195 // Helper routine: get klass name + "." + method name + signature as | 195 // Helper routine: get klass name + "." + method name + signature as |
196 // C string, for the purpose of providing more useful NoSuchMethodErrors | 196 // C string, for the purpose of providing more useful NoSuchMethodErrors |
197 // and fatal error handling. The string is allocated in resource | 197 // and fatal error handling. The string is allocated in resource |
198 // area if a buffer is not provided by the caller. | 198 // area if a buffer is not provided by the caller. |
199 char* name_and_sig_as_C_string(); | 199 char* name_and_sig_as_C_string() const; |
200 char* name_and_sig_as_C_string(char* buf, int size); | 200 char* name_and_sig_as_C_string(char* buf, int size) const; |
201 | 201 |
202 // Static routine in the situations we don't have a methodOop | 202 // Static routine in the situations we don't have a methodOop |
203 static char* name_and_sig_as_C_string(Klass* klass, Symbol* method_name, Symbol* signature); | 203 static char* name_and_sig_as_C_string(Klass* klass, Symbol* method_name, Symbol* signature); |
204 static char* name_and_sig_as_C_string(Klass* klass, Symbol* method_name, Symbol* signature, char* buf, int size); | 204 static char* name_and_sig_as_C_string(Klass* klass, Symbol* method_name, Symbol* signature, char* buf, int size); |
205 | 205 |