8218601: [AOT] Crash in AOTCodeHeap::mark_evol_dependent_methods
Null check nmethod in aot dependencies Reviewed-by: kvn
This commit is contained in:
parent
e148e49c58
commit
175b462a77
@ -707,7 +707,9 @@ void AOTCodeHeap::mark_evol_dependent_methods(InstanceKlass* dependee) {
|
||||
for (int i = 0; i < methods_cnt; ++i) {
|
||||
int code_id = indexes[i];
|
||||
AOTCompiledMethod* aot = _code_to_aot[code_id]._aot;
|
||||
aot->mark_for_deoptimization(false);
|
||||
if (aot != NULL) {
|
||||
aot->mark_for_deoptimization(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user