8288302: Shenandoah: SIGSEGV in vm maybe related to jit compiling xerces

Reviewed-by: shade, thartmann
This commit is contained in:
Roland Westrelin 2022-10-04 08:08:38 +00:00
parent f957ce9959
commit bf39b184ca

View File

@ -1080,7 +1080,8 @@ Node* ShenandoahBarrierSetC2::ideal_node(PhaseGVN* phase, Node* n, bool can_resh
} else if (can_reshape &&
n->Opcode() == Op_If &&
ShenandoahBarrierC2Support::is_heap_stable_test(n) &&
n->in(0) != NULL) {
n->in(0) != NULL &&
n->outcnt() == 2) {
Node* dom = n->in(0);
Node* prev_dom = n;
int op = n->Opcode();