hotspot/src/share/vm/interpreter/templateInterpreter.cpp
changeset 14294 130e947dfbe6
parent 13728 882756847a04
child 18507 61bfc8995bb3
--- a/hotspot/src/share/vm/interpreter/templateInterpreter.cpp	Fri Oct 26 14:18:57 2012 -0700
+++ b/hotspot/src/share/vm/interpreter/templateInterpreter.cpp	Mon Oct 29 11:08:48 2012 -0700
@@ -373,11 +373,7 @@
   method_entry(java_lang_math_pow  )
   method_entry(java_lang_ref_reference_get)
 
-  // method handle entry kinds are generated later in MethodHandlesAdapterGenerator::generate:
-  for (int i = Interpreter::method_handle_invoke_FIRST; i <= Interpreter::method_handle_invoke_LAST; i++) {
-    Interpreter::MethodKind kind = (Interpreter::MethodKind) i;
-    Interpreter::_entry_table[kind] = Interpreter::_entry_table[Interpreter::abstract];
-  }
+  initialize_method_handle_entries();
 
   // all native method kinds (must be one contiguous block)
   Interpreter::_native_entry_begin = Interpreter::code()->code_end();