changeset 52661 | 4f45c682eab0 |
parent 52067 | 2e72562697bf |
child 54669 | ad45b3802d4e |
--- a/src/hotspot/share/runtime/javaCalls.cpp Thu Nov 22 09:55:44 2018 +0100 +++ b/src/hotspot/share/runtime/javaCalls.cpp Thu Nov 22 10:01:38 2018 +0100 @@ -427,7 +427,7 @@ #if INCLUDE_JVMCI if (alternative_target != NULL) { - if (alternative_target->is_alive()) { + if (alternative_target->is_alive() && !alternative_target->is_unloading()) { thread->set_jvmci_alternate_call_target(alternative_target->verified_entry_point()); entry_point = method->adapter()->get_i2c_entry(); } else {