[lworld] Integrated: 8256481: [lworld] C2 fails to eliminate GC barriers when replacing inline type buffer allocation

Tobias Hartmann thartmann at openjdk.java.net
Wed Nov 18 16:47:20 UTC 2020


On Wed, 18 Nov 2020 13:31:29 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> In Valhalla code, `G1BarrierSetC2::eliminate_gc_barrier` is not only used at macro expansion but also during IGVN to remove inline type buffer allocations. Current code is not robust enough to handle duplicate barriers and other IR shapes that were not yet folded by IGVN. This fix makes it more robust.
> 
> Thanks,
> Tobias

This pull request has now been integrated.

Changeset: 39c775ff
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/39c775ff
Stats:     36 lines in 2 files changed: 6 ins; 4 del; 26 mod

8256481: [lworld] C2 fails to eliminate GC barriers when replacing inline type buffer allocation

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

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



More information about the valhalla-dev mailing list