comparison src/share/vm/oops/methodOop.hpp @ 6145:e2fe93124108

7174928: JSR 292: unresolved invokedynamic call sites deopt and osr infinitely Reviewed-by: kvn
author twisti
date Wed, 13 Jun 2012 11:36:03 -0700
parents 0382d2b469b2
children eba1d5bce9e8
comparison
equal deleted inserted replaced
6144:5e990493719e 6145: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