Integrated: 8320864: Serial: Extract out Full GC related fields from ContiguousSpace

Albert Mingkun Yang ayang at openjdk.org
Tue Jan 9 06:16:35 UTC 2024


On Tue, 28 Nov 2023 09:29:57 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Simple moving some fields from the generic class to Full GC specific files.
> 
> Ideally, on deciding wheter `to`-space should be compacted, one should use `set_incremental_collection_failed` to check if promotion-failure occurred during young-gc, but in some places, this flag is set even in the absence of promotion-failure, e.g. `heap->set_incremental_collection_failed(); // Slight lie: we did not even attempt one`. Therefore, I used `next_compaction_space` for this purpose, in order to keep this patch more focused and the diff-size small.
> 
> Test: tier1-5; perf neutral using the attached benchmark.

This pull request has now been integrated.

Changeset: 07fce8ef
Author:    Albert Mingkun Yang <ayang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/07fce8eff207eedcbab29b52660f19333df7c574
Stats:     857 lines in 11 files changed: 269 ins; 494 del; 94 mod

8320864: Serial: Extract out Full GC related fields from ContiguousSpace

Reviewed-by: kbarrett, sjohanss

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

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


More information about the hotspot-gc-dev mailing list