RFR: 8295319: pending_cards_at_gc_start doesn't include cards in thread buffers

Kim Barrett kbarrett at openjdk.org
Tue Nov 1 08:52:13 UTC 2022


On Mon, 31 Oct 2022 17:02:30 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> > `calculate_collection_set` -> `finalize_initial_collection_set` -> `finalize_young_part`: `size_t pending_cards = _policy->pending_cards_at_gc_start() + _g1h->hot_card_cache()->num_entries();`
> > called before `pre_evacuate_collection_set`
> > `flush_dirty_card_logs_and_stats` needs to be called before `calculate_collection_set`
> 
> Sigh! Looks like I got lost while tracking down the callers and call chains.

Fixed now.

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

PR: https://git.openjdk.org/jdk/pull/10914


More information about the hotspot-gc-dev mailing list