Integrated: 8376410: G1: Task queue statistics not reset properly on mark abort
Thomas Schatzl
tschatzl at openjdk.org
Tue Feb 3 12:39:52 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
This pull request has now been integrated.
Changeset: 69c3e278
Author: Thomas Schatzl <tschatzl at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/69c3e2780c44c6ad2ef0f296e8cfba7796f2213e
Stats: 16 lines in 2 files changed: 9 ins; 5 del; 2 mod
8376410: G1: Task queue statistics not reset properly on mark abort
Reviewed-by: shade, iwalulya
-------------
PR: https://git.openjdk.org/jdk/pull/29524
More information about the hotspot-gc-dev
mailing list