comparison 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
comparison
equal deleted inserted replaced
10478:dd3333e4f182 10479:40b8c383bc31
748 JRT_END 748 JRT_END
749 749
750 JRT_ENTRY(void, SharedRuntime::throw_IncompatibleClassChangeError(JavaThread* thread)) 750 JRT_ENTRY(void, SharedRuntime::throw_IncompatibleClassChangeError(JavaThread* thread))
751 // These errors occur only at call sites 751 // These errors occur only at call sites
752 throw_and_post_jvmti_exception(thread, vmSymbols::java_lang_IncompatibleClassChangeError(), "vtable stub"); 752 throw_and_post_jvmti_exception(thread, vmSymbols::java_lang_IncompatibleClassChangeError(), "vtable stub");
753 JRT_END
754
755 JRT_ENTRY(void, SharedRuntime::throw_InvalidInstalledCodeException(JavaThread* thread))
756 // These errors occur only at call sites
757 throw_and_post_jvmti_exception(thread, vmSymbols::com_oracle_graal_api_code_InvalidInstalledCodeException());
753 JRT_END 758 JRT_END
754 759
755 JRT_ENTRY(void, SharedRuntime::throw_ArithmeticException(JavaThread* thread)) 760 JRT_ENTRY(void, SharedRuntime::throw_ArithmeticException(JavaThread* thread))
756 throw_and_post_jvmti_exception(thread, vmSymbols::java_lang_ArithmeticException(), "/ by zero"); 761 throw_and_post_jvmti_exception(thread, vmSymbols::java_lang_ArithmeticException(), "/ by zero");
757 JRT_END 762 JRT_END