Mercurial > hg > graal-compiler
diff src/share/vm/runtime/sharedRuntime.cpp @ 10479:40b8c383bc31
Throw InvalidInstalledCodeException directly in the stubs.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 23 Jun 2013 15:49:01 +0200 |
parents | 36bcc10e01c0 |
children | 347d444a6fb7 |
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.cpp Sun Jun 23 15:27:39 2013 +0200 +++ b/src/share/vm/runtime/sharedRuntime.cpp Sun Jun 23 15:49:01 2013 +0200 @@ -752,6 +752,11 @@ throw_and_post_jvmti_exception(thread, vmSymbols::java_lang_IncompatibleClassChangeError(), "vtable stub"); JRT_END +JRT_ENTRY(void, SharedRuntime::throw_InvalidInstalledCodeException(JavaThread* thread)) + // These errors occur only at call sites + throw_and_post_jvmti_exception(thread, vmSymbols::com_oracle_graal_api_code_InvalidInstalledCodeException()); +JRT_END + JRT_ENTRY(void, SharedRuntime::throw_ArithmeticException(JavaThread* thread)) throw_and_post_jvmti_exception(thread, vmSymbols::java_lang_ArithmeticException(), "/ by zero"); JRT_END