mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8136421: JEP 243: Java-Level JVM Compiler Interface
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett
This commit is contained in:
parent
f5b4bb46f5
commit
16526e000e
505 changed files with 50394 additions and 915 deletions
|
@ -481,6 +481,17 @@ IRT_ENTRY(address, InterpreterRuntime::exception_handler_for_exception(JavaThrea
|
|||
}
|
||||
} while (should_repeat == true);
|
||||
|
||||
#if INCLUDE_JVMCI
|
||||
if (UseJVMCICompiler && h_method->method_data() != NULL) {
|
||||
ResourceMark rm(thread);
|
||||
ProfileData* pdata = h_method->method_data()->allocate_bci_to_data(current_bci, NULL);
|
||||
if (pdata != NULL && pdata->is_BitData()) {
|
||||
BitData* bit_data = (BitData*) pdata;
|
||||
bit_data->set_exception_seen();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// notify JVMTI of an exception throw; JVMTI will detect if this is a first
|
||||
// time throw or a stack unwinding throw and accordingly notify the debugger
|
||||
if (JvmtiExport::can_post_on_exceptions()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue