On Mon, 3 Mar 2025 18:28:48 GMT, Ivan Walulya <iwalu...@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

Reply via email to