RFR: 8376410: G1: Task queue statistics not reset properly on mark abort

Aleksey Shipilev shade at openjdk.org
Mon Feb 2 17:44:38 UTC 2026


On Mon, 2 Feb 2026 13:55:21 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this change that makes sure that task queue stats are properly reset. Previously, if marking had been aborted (or restarted), there were leftovers in the statistics, which caused the assertion failure.
> 
> The change not only fixes reset of the task queue stats, but also reset of the partial array splitter which suffers from the same issue.
> 
> Testing: given test case not failing any more after 30mins (failed within a few iterations typically), GHA, tier1-5
> 
> Thanks,
>   Thomas

Looks reasonable

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29524#pullrequestreview-3740979185


More information about the hotspot-gc-dev mailing list