RFR: 8303252: G1: Return early from Full-GC if no regions are selected for compaction.
Ivan Walulya
iwalulya at openjdk.org
Mon Feb 27 15:51:15 UTC 2023
Please review this change to return early from full-gc in case no regions have been selected as targets for compaction.
To skip `phase3_adjust_pointers` and `phase4_do_compaction()`, we need to decouple cleanup work that was piggybacked onto these phases. Thus, the `phase5_` is introduced to do the cleanup.
Testing: Tier 1-3.
-------------
Commit messages:
- trailing whitespace
- copyright years
- space
- initial
Changes: https://git.openjdk.org/jdk/pull/12768/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12768&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8303252
Stats: 342 lines in 9 files changed: 214 ins; 122 del; 6 mod
Patch: https://git.openjdk.org/jdk/pull/12768.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12768/head:pull/12768
PR: https://git.openjdk.org/jdk/pull/12768
More information about the hotspot-gc-dev
mailing list