[lworld] Integrated: 8252299: [lworld] C2 compilation fails with assert(!use_ReduceInitialCardMarks()) failed: can only happen with card marking

Tobias Hartmann thartmann at openjdk.java.net
Wed Aug 26 11:58:18 UTC 2020


On Tue, 25 Aug 2020 15:20:40 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> When replacing an inline type buffer allocation by a dominating allocation, we are removing stores and re-link all
> users of the dominated allocation to the dominating one (see InlineTypeNode::replace_allocation). Now we forgot to also
> remove GC barriers for initializing stores to the dominated allocation, which causes several issues because these are
> then re-linked to the dominated allocation as well while the corresponding stores were removed. The fix is to simply
> remove these barriers as well via BarrierSet::eliminate_gc_barrier.

This pull request has now been integrated.

Changeset: 54b54109
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/54b54109
Stats:     45 lines in 11 files changed: 0 ins; 15 del; 30 mod

8252299: [lworld] C2 compilation fails with assert(!use_ReduceInitialCardMarks()) failed: can only happen with card
marking

-------------

PR: https://git.openjdk.java.net/valhalla/pull/166



More information about the valhalla-dev mailing list