8276231: ciReplay: SIGSEGV when replay compiling lambdas

Reviewed-by: iveresov, chagedorn
This commit is contained in:
Dean Long 2021-11-16 17:25:38 +00:00
parent d5e47d6b84
commit e5ffdf9120

View File

@ -467,6 +467,7 @@ class CompileReplay : public StackObj {
}
{
bool found_it;
ik->link_class(CHECK_NULL);
obj = cp->find_cached_constant_at(cpi, found_it, thread);
}
}
@ -927,6 +928,7 @@ class CompileReplay : public StackObj {
void process_ciInstanceKlass(TRAPS) {
InstanceKlass* k = (InstanceKlass*)parse_klass(CHECK);
if (k == NULL) {
skip_remaining();
return;
}
int is_linked = parse_int("is_linked");