Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/sharedRuntime.cpp @ 9025:ff5a32117e02
Implement fast invocation of installed code (direct tail call to the target machine code address).
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 12 Apr 2013 01:53:52 +0200 |
parents | f94bb5d20e5d |
children | f491f51e96b5 |
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.cpp Thu Apr 11 17:48:30 2013 +0200 +++ b/src/share/vm/runtime/sharedRuntime.cpp Fri Apr 12 01:53:52 2013 +0200 @@ -1355,7 +1355,8 @@ // Installed code has been deoptimized JRT_BLOCK_ENTRY(address, SharedRuntime::handle_deoptimized_installed_code(JavaThread* thread)) JavaThread* THREAD = thread; - THROW_(vmSymbols::java_lang_NullPointerException(), NULL); + ThreadInVMfromJava tiv(THREAD); + THROW_(vmSymbols::com_oracle_graal_api_code_InvalidInstalledCodeException(), NULL); JRT_END // Handle call site that has been made non-entrant