Integrated: 8262298 : G1BarrierSetC2::step_over_gc_barrier fails with assert "bad barrier shape"
Nils Eliasson
neliasso at openjdk.java.net
Wed Mar 17 16:34:48 UTC 2021
On Tue, 16 Mar 2021 13:01:06 GMT, Nils Eliasson <neliasso at openjdk.org> wrote:
> During eliminate_macro_nodes an allocation and a tightly coupled arraycopy is eliminated. The gc barrier is still there but the entry condition is always false. During the subsequent igvn we can hit an assert depending on what order the barrier nodes are removed.
>
> If the entry to the gc barrier is removed first - the exit region node will have Parm-control as in(2). This is a sign that it is a barrier during teardown. I add a check for that in this patch.
This pull request has now been integrated.
Changeset: cdf78e47
Author: Nils Eliasson <neliasso at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/cdf78e47
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8262298: G1BarrierSetC2::step_over_gc_barrier fails with assert "bad barrier shape"
Reviewed-by: kvn, vlivanov
-------------
PR: https://git.openjdk.java.net/jdk/pull/3029
More information about the hotspot-compiler-dev
mailing list