Skip to content

Commit 1549bb1

Browse files
committed
8288302: Shenandoah: SIGSEGV in vm maybe related to jit compiling xerces
Backport-of: 5977ce5adf85c2fb9b1dd62ed250f6d4f05a613c
1 parent b7b00f7 commit 1549bb1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,8 @@ Node* ShenandoahBarrierSetC2::ideal_node(PhaseGVN* phase, Node* n, bool can_resh
10061006
} else if (can_reshape &&
10071007
n->Opcode() == Op_If &&
10081008
ShenandoahBarrierC2Support::is_heap_stable_test(n) &&
1009-
n->in(0) != NULL) {
1009+
n->in(0) != NULL &&
1010+
n->outcnt() == 2) {
10101011
Node* dom = n->in(0);
10111012
Node* prev_dom = n;
10121013
int op = n->Opcode();

0 commit comments

Comments
 (0)