comparison 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
comparison
equal deleted inserted replaced
9024:2b840ae76df1 9025:ff5a32117e02
1353 JRT_END 1353 JRT_END
1354 1354
1355 // Installed code has been deoptimized 1355 // Installed code has been deoptimized
1356 JRT_BLOCK_ENTRY(address, SharedRuntime::handle_deoptimized_installed_code(JavaThread* thread)) 1356 JRT_BLOCK_ENTRY(address, SharedRuntime::handle_deoptimized_installed_code(JavaThread* thread))
1357 JavaThread* THREAD = thread; 1357 JavaThread* THREAD = thread;
1358 THROW_(vmSymbols::java_lang_NullPointerException(), NULL); 1358 ThreadInVMfromJava tiv(THREAD);
1359 THROW_(vmSymbols::com_oracle_graal_api_code_InvalidInstalledCodeException(), NULL);
1359 JRT_END 1360 JRT_END
1360 1361
1361 // Handle call site that has been made non-entrant 1362 // Handle call site that has been made non-entrant
1362 JRT_BLOCK_ENTRY(address, SharedRuntime::handle_wrong_method(JavaThread* thread)) 1363 JRT_BLOCK_ENTRY(address, SharedRuntime::handle_wrong_method(JavaThread* thread))
1363 // 6243940 We might end up in here if the callee is deoptimized 1364 // 6243940 We might end up in here if the callee is deoptimized