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

Kim Barrett kbarrett at openjdk.org
Thu Nov 3 23:39:43 UTC 2022


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

> Please review this change to G1 to include the per-thread buffers in the
> number of pending cards at the start of a young GC.
> 
> DCQS::concatenate_logs has been renamed to concatenate_logs_and_stats, and now
> also merges the per-thread refinement stats during the thread walk to flush
> buffers.  That replaces the separate thread walk to merge and record these
> stats earlier in the GC.  The merged stats and related info don't seem to be
> needed until after the buffer flushing.
> 
> Also, when abandoning dirty card buffers and stats because of a full GC, fixed
> to also abandon an buffers in the paused buffers lists.
> 
> Testing:
> mach5 tier1-3
> performance testing found no significant changes, as expected.

This pull request has now been integrated.

Changeset: 03498039
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/034980393fc3e40b8a75b6aa19c68b3b58c9dd90
Stats:     107 lines in 7 files changed: 39 ins; 41 del; 27 mod

8295319: pending_cards_at_gc_start doesn't include cards in thread buffers

Reviewed-by: iwalulya, tschatzl

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

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


More information about the hotspot-gc-dev mailing list