RFR: 8304015: G1: Metaspace-induced GCs should not trigger maximal compaction
Albert Mingkun Yang
ayang at openjdk.org
Mon Mar 13 11:40:19 UTC 2023
On Sat, 11 Mar 2023 13:20:39 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:
> Hi all,
>
> Please review this small cleanup to remove triggering maximal compaction on Metaspace-induced full-GCs.
>
> Testing: Tier1.
I think it's better to keep the var so that the semantic of the literal boolean is clear in this context.
(Slightly off the PR -- it's not obvious that metaspace related GC enters this path. Why isn't the decision on what GC cycle (young/old/clear-soft-or-not) to trigger made inside GC code?)
-------------
Marked as reviewed by ayang (Reviewer).
PR: https://git.openjdk.org/jdk/pull/12987
More information about the hotspot-gc-dev
mailing list