RFR: 8303252: G1: Return early from Full-GC if no regions are selected for compaction. [v5]

Ivan Walulya iwalulya at openjdk.org
Wed Mar 1 11:18:37 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.

Ivan Walulya has updated the pull request incrementally with one additional commit since the last revision:

  Remove extra logging

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12768/files
  - new: https://git.openjdk.org/jdk/pull/12768/files/3fe10e90..754ea1aa

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12768&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12768&range=03-04

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 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