diff 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
line wrap: on
line diff
--- a/src/share/vm/oops/methodOop.hpp	Tue Jun 12 16:23:31 2012 -0700
+++ b/src/share/vm/oops/methodOop.hpp	Wed Jun 13 11:36:03 2012 -0700
@@ -198,8 +198,8 @@
   // C string, for the purpose of providing more useful NoSuchMethodErrors
   // and fatal error handling. The string is allocated in resource
   // area if a buffer is not provided by the caller.
-  char* name_and_sig_as_C_string();
-  char* name_and_sig_as_C_string(char* buf, int size);
+  char* name_and_sig_as_C_string() const;
+  char* name_and_sig_as_C_string(char* buf, int size) const;
 
   // Static routine in the situations we don't have a methodOop
   static char* name_and_sig_as_C_string(Klass* klass, Symbol* method_name, Symbol* signature);