8304015: G1: Metaspace-induced GCs should not trigger maximal compaction#12987
8304015: G1: Metaspace-induced GCs should not trigger maximal compaction#12987walulyai wants to merge 2 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back iwalulya! A progress list of the required criteria for merging this PR into |
albertnetymk
left a comment
There was a problem hiding this comment.
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?)
|
@walulyai This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 55 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
Decided to go with using the comment /* do_maximal_compation */ as done in many other cases where we want to be clear but also avoid declaring variables.
I think this is a design issue that we need to discuss along with other concerns around call paths to full-gc. |
|
Thanks @albertnetymk and @tschatzl for the reviews! /integrate |
|
Going to push as commit 0cc0f06.
Your commit was automatically rebased without conflicts. |
Hi all,
Please review this small cleanup to remove triggering maximal compaction on Metaspace-induced full-GCs.
Testing: Tier1.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/12987/head:pull/12987$ git checkout pull/12987Update a local copy of the PR:
$ git checkout pull/12987$ git pull https://git.openjdk.org/jdk pull/12987/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 12987View PR using the GUI difftool:
$ git pr show -t 12987Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/12987.diff