mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8362832: compiler/macronodes/TestTopInMacroElimination.java hits assert(false) failed: unexpected node
Reviewed-by: dlunden, epeter, kvn
This commit is contained in:
parent
19cca0a2a8
commit
a98b9e7cfa
@ -501,6 +501,11 @@ Node *PhaseMacroExpand::value_from_mem(Node *sfpt_mem, Node *sfpt_ctl, BasicType
|
||||
}
|
||||
} else if (mem->is_ArrayCopy()) {
|
||||
done = true;
|
||||
} else if (mem->is_top()) {
|
||||
// The slice is on a dead path. Returning nullptr would lead to elimination
|
||||
// bailout, but we want to prevent that. Just forwarding the top is also legal,
|
||||
// and IGVN can just clean things up, and remove whatever receives top.
|
||||
return mem;
|
||||
} else {
|
||||
DEBUG_ONLY( mem->dump(); )
|
||||
assert(false, "unexpected node");
|
||||
|
||||
@ -27,9 +27,6 @@
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
|
||||
compiler/macronodes/TestTopInMacroElimination.java 8362832 generic-all
|
||||
|
||||
gc/stringdedup/TestStringDeduplicationAgeThreshold.java 8362562 generic-all
|
||||
gc/stringdedup/TestStringDeduplicationInterned.java 8362562 generic-all
|
||||
gc/stringdedup/TestStringDeduplicationPrintOptions.java 8362562 generic-all
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 8325030
|
||||
* @bug 8325030 8362832
|
||||
* @summary Regression test for an assert triggered during allocation elimination because top is found during
|
||||
* constructing new phis.
|
||||
* @run main/othervm -XX:-ProfileExceptionHandlers compiler.macronodes.TestTopInMacroElimination
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user