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

Thomas Schatzl tschatzl at openjdk.org
Mon Feb 2 16:08:32 UTC 2026


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

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

Commit messages:
 - 8376410

Changes: https://git.openjdk.org/jdk/pull/29524/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29524&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8376410
  Stats: 16 lines in 2 files changed: 9 ins; 5 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/29524.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29524/head:pull/29524

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


More information about the hotspot-gc-dev mailing list