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
8275037: Test vmTestbase/nsk/sysdict/vm/stress/btree/btree011/btree011.java crashes with memory exhaustion on Windows #6419
Conversation
…1.java crashes with memory exhaustion on Windows
|
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.
This looks good and trivial. I hope this makes these tests more reliable.
@hseigel 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 8 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 Coleen for reviewing this! /integrate |
Going to push as commit 9f2f46e.
Your commit was automatically rebased without conflicts. |
Hi Harold, |
Hi David, |
Sounds odd that an out-of-memory condition was fixed by giving the VM less memory. :) I can only assume that the default -Xms value was too large for the initial heap. But it still seems a bit odd. Thanks. |
Please review this fix for JDK-8275037. The .../sysdict/vm/stress/btree tests were intermittently failing on Windows because invocations of javac by the tests were running out of memory. The fix sets the maximum heap to 1G when the tests invoke javac.
Additionally, the fix ignores NoClassDefFoundError exceptions thrown by Class.forName() because those exceptions can be caused by a running out of memory when initializing a class.
The fix was tested by running each .../sysdict/vm/stress test over 2000 times on Windows x64 debug builds. Additionally, each test was run hundreds of times on Linux x64, Linux aarch64, Macosx x64, and Macosx aarch64.
Thanks, Harold
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/6419/head:pull/6419
$ git checkout pull/6419
Update a local copy of the PR:
$ git checkout pull/6419
$ git pull https://git.openjdk.java.net/jdk pull/6419/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 6419
View PR using the GUI difftool:
$ git pr show -t 6419
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/6419.diff