Integrated: 8303252: G1: Return early from Full-GC if no regions are selected for compaction.

Ivan Walulya iwalulya at openjdk.org
Wed Mar 1 13:56:20 UTC 2023


On Mon, 27 Feb 2023 15:21:00 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: c1e77e05
Author:    Ivan Walulya <iwalulya at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c1e77e05647ca93bb4f39a320a5c7a632e283410
Stats:     344 lines in 9 files changed: 216 ins; 122 del; 6 mod

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

Reviewed-by: tschatzl, ayang

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

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


More information about the hotspot-gc-dev mailing list