RFR: 8364649: G1: Move collection set related full gc reset code into abandon_collection_set() method

Thomas Schatzl tschatzl at openjdk.org
Mon Aug 4 15:54:06 UTC 2025


Hi all,

  please review this change that removes all collection set related "abandoning" for full collection into `G1CollectedHeap::abandon_collection_set()`. Otherwise, when needing to search all over the place for the components, it's harder to verify if everything is actually properly handled.

Testing: gha

Thanks,
  Thomas

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

Depends on: https://git.openjdk.org/jdk/pull/26622

Commit messages:
 - * re-add clearing the attribute table value (not really necessary either way)
 - 8364649

Changes: https://git.openjdk.org/jdk/pull/26624/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26624&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8364649
  Stats: 7 lines in 3 files changed: 4 ins; 3 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/26624.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26624/head:pull/26624

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


More information about the hotspot-gc-dev mailing list