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
8258058: improve description of OutOfMemoryError relevant flags #1792
Conversation
|
@navyxliu |
Webrevs
|
/summary OutOfMemoryError thrown out of JVM doesn't notify hotspot, so debug.cpp::report_java_out_out_memory does not handle it. ie. Some options don't respect OOMEs from Java libraries. We need to make the description more clear to users. |
@navyxliu Setting summary to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine.
Thanks,
David
@navyxliu 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 5 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 As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@dholmes-ora, @DamonFool) but any other Committer may sponsor as well.
|
@@ -550,7 +551,8 @@ const intx ObjectAlignmentInBytes = 8; | |||
"Dump heap to file after any major stop-the-world GC") \ | |||
\ | |||
product(bool, HeapDumpOnOutOfMemoryError, false, MANAGEABLE, \ | |||
"Dump heap to file when java.lang.OutOfMemoryError is thrown") \ | |||
"Dump heap to file when java.lang.OutOfMemoryError is thrown " \ | |||
"from JVM") \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better to align \
to the right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the change.
LGTM
/integrate |
/sponsor |
@DamonFool @navyxliu Since your change was applied there have been 5 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 0c8cc2c. |
Thanks! @DamonFool and @dholmes-ora |
/cc hotspot
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/1792/head:pull/1792
$ git checkout pull/1792