diff src/share/vm/runtime/javaCalls.cpp @ 9023:f94bb5d20e5d

Rename MethodInvalidatedException to InvalidInstalledCodeException (and make it a checked exception). Make sure that a compiled code object can always be directly called without first doing a check on the native method pointer.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 11 Apr 2013 17:36:46 +0200
parents b8f261ba79c6
children cefad50507d8
line wrap: on
line diff
--- a/src/share/vm/runtime/javaCalls.cpp	Thu Apr 11 13:03:20 2013 +0200
+++ b/src/share/vm/runtime/javaCalls.cpp	Thu Apr 11 17:36:46 2013 +0200
@@ -412,7 +412,7 @@
       ((JavaThread*) THREAD)->set_graal_alternate_call_target(nm->verified_entry_point());
       entry_point = method->adapter()->get_i2c_entry();
     } else {
-      THROW(vmSymbols::MethodInvalidatedException());
+      THROW(vmSymbols::com_oracle_graal_api_code_InvalidInstalledCodeException());
     }
   }
 #endif