RFR: 8377165: G1: Introduce common G1 GC Mark to collect scoped objects
Thomas Schatzl
tschatzl at openjdk.org
Thu Feb 5 08:39:10 UTC 2026
Hi all,
this change factors out the initial scoped objects common to g1 young and full gc into `G1GCMark` to avoid duplication and ordering issues.
All other scoped objects (maybe but `G1HeapPrinterMark`) are specific to the separate collectors. Not sure it is worth commonalizing them.
Testing: gha
Thanks,
Thomas
-------------
Commit messages:
- * fix whitespace
- * fix copyright
- 8377165
Changes: https://git.openjdk.org/jdk/pull/29568/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29568&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8377165
Stats: 62 lines in 5 files changed: 21 ins; 29 del; 12 mod
Patch: https://git.openjdk.org/jdk/pull/29568.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29568/head:pull/29568
PR: https://git.openjdk.org/jdk/pull/29568
More information about the hotspot-gc-dev
mailing list