Integrated: 8310946: G1: Refactor G1Policy::next_gc_should_be_mixed
Albert Mingkun Yang
ayang at openjdk.org
Fri Jun 30 12:26:06 UTC 2023
On Tue, 27 Jun 2023 11:58:34 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Simple restructuring around `next_gc_should_be_mixed`.
>
> (After such refactoring, I also tend to think this predicate makes more sense in the caller context, i.e. `bool is_next_gc_mixed = has_marking_candidates();`. For example, one of the call site even asserts `assert(!candidates()->has_more_marking_candidates(),`. Ofc, this is rather subjective.)
>
> Test: hotspot_gc
This pull request has now been integrated.
Changeset: 33011ea1
Author: Albert Mingkun Yang <ayang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/33011ea19bb29e88ce18a138a8fa8b34f8c97407
Stats: 17 lines in 2 files changed: 2 ins; 8 del; 7 mod
8310946: G1: Refactor G1Policy::next_gc_should_be_mixed
Reviewed-by: tschatzl, kbarrett
-------------
PR: https://git.openjdk.org/jdk/pull/14673
More information about the hotspot-gc-dev
mailing list