[lworld] RFR: 8256481: [lworld] C2 fails to eliminate GC barriers when replacing in line type buffer allocation
thartmann at openjdk.java.net
Wed Nov 18 13:35:18 UTC 2020
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.
- 8256481: [lworld] C2 fails to eliminate GC barriers when replacing inline type buffer allocation
Stats: 36 lines in 2 files changed: 6 ins; 4 del; 26 mod
Fetch: git fetch https://git.openjdk.java.net/valhalla pull/269/head:pull/269
More information about the valhalla-dev