RFR: 8342382: Implementation of JEP G1: Improve Application Throughput with a More Efficient Write-Barrier [v5]
Thomas Schatzl
tschatzl at openjdk.org
Tue Mar 4 08:28:56 UTC 2025
On Mon, 3 Mar 2025 18:28:48 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:
> Why are we using a prediction here?
Quickly checking again, do we have the actual count here from somewhere?
> Additionally, won't this prediction also include cards from the old gen regions in case of mixed gcs? How do we reconcile that when we are adding old gen regions to c-set?
The predictor contents changed to (supposedly) only contain cards containing young gen references. See g1Policy.cpp:934:
_analytics->report_card_rs_length(total_cards_scanned - total_non_young_rs_cards, is_young_only_pause);
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23739#discussion_r1978876199
More information about the core-libs-dev
mailing list