New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8269022: Put evacuation failure string directly into gc=info log message #4539
8269022: Put evacuation failure string directly into gc=info log message #4539
Conversation
|
Webrevs
|
I have some comments, but otherwise it looks good to me.
Regarding Pause Young (Normal) (Evacuation Failure) (G1 Evacuation Pause)
, I interpret the three pairs of parens as:
1. (<gc pause kind, deciding what should be done in this pause>)
2. (<sth unexpected happened, deviating from the original plan>)
3. (<what initiates this pause>)
2 occurs strictly later than 1&3, so a more natural order is
Pause Young (Normal) (G1 Evacuation Pause) (Evacuation Failure)
.
This way, the original structure (meaning of the first two pairs of parens) could be preserved in all cases. When sth unexpected happens, the log is only appended, leaving the "conceptually existing" part intact.
Ofc, this is very subjective; just my 2 cents. (Merely a comment, not a review. I am fine with the current change.)
I am aware of this and this has come up before. The problem is that the order of adding these strings is fixed by the execution order of the scoped objects. My initial attempt to fix this was too messy, but 'll look into this again, maybe I can find some better way. |
@albertnetymk : fixed :) |
Looks good.
I agreed with Albert's comment about the order of the annotations. I'm glad you found a (nice, not kludgy) way to fix that.
@tschatzl This change now passes all automated pre-integration checks. 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 6 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the
|
Thanks @albertnetymk @walulyai @lkorinth @kimbarrett for your reviews. /integrate |
Going to push as commit a685011.
Your commit was automatically rebased without conflicts. |
Hi all,
can I have reviews for this change that puts the evacuation failure marker from a separate log line into the GC timing message. I.e. instead of
into
This is imho easier to read, better to process and less wasteful with log space.
Testing: tier1, gc/g1 tests
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/4539/head:pull/4539
$ git checkout pull/4539
Update a local copy of the PR:
$ git checkout pull/4539
$ git pull https://git.openjdk.java.net/jdk pull/4539/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 4539
View PR using the GUI difftool:
$ git pr show -t 4539
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/4539.diff