RFR: 8331711: G1 doesn't need pre write barrier for stores from new allocated objects [v2]
Liang Mao
lmao at openjdk.org
Thu May 9 04:50:55 UTC 2024
On Wed, 8 May 2024 11:28:15 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:
> Did you check how many of the stores where g1_can_remove_pre_barrier said false and you would have said true, were elided anyway during store capturing (cf. InitializeNode::capture_store), or as part of G1BarrierSetC2::eliminate_gc_barrier? In other words, how many barriers are you eliding, that were not in fact already elided, just a bit later on?
There is only 1 store that g1_can_remove_pre_barrier return false and was elided by this PR in JBB.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19098#discussion_r1594958770
More information about the hotspot-gc-dev
mailing list