hotspot/src/share/vm/oops/methodOop.hpp
changeset 5420 586d3988e72b
parent 4756 da88c27a9241
child 5547 f4b087cbb361
--- a/hotspot/src/share/vm/oops/methodOop.hpp	Fri Apr 30 08:37:24 2010 -0700
+++ b/hotspot/src/share/vm/oops/methodOop.hpp	Sat May 01 02:42:18 2010 -0700
@@ -525,11 +525,16 @@
 
   // JSR 292 support
   bool is_method_handle_invoke() const              { return access_flags().is_method_handle_invoke(); }
+  static bool is_method_handle_invoke_name(vmSymbols::SID name_sid);
+  static bool is_method_handle_invoke_name(symbolOop name) {
+    return is_method_handle_invoke_name(vmSymbols::find_sid(name));
+  }
   // Tests if this method is an internal adapter frame from the
   // MethodHandleCompiler.
   bool is_method_handle_adapter() const;
   static methodHandle make_invoke_method(KlassHandle holder,
-                                         symbolHandle signature,
+                                         symbolHandle name, //invokeExact or invokeGeneric
+                                         symbolHandle signature, //anything at all
                                          Handle method_type,
                                          TRAPS);
   // these operate only on invoke methods: