8316060: test/hotspot/jtreg/runtime/reflect/ReflectOutOfMemoryError.java may fail if heap is huge#15676
8316060: test/hotspot/jtreg/runtime/reflect/ReflectOutOfMemoryError.java may fail if heap is huge#15676mrserb wants to merge 1 commit intoopenjdk:masterfrom
Conversation
…ava may fail if heap is huge
|
👋 Welcome back serb! A progress list of the required criteria for merging this PR into |
lmesnik
left a comment
There was a problem hiding this comment.
Looks good and should be enough to don't fail with ZGC/SingelGenZGC.
|
@mrserb 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 19 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 |
dholmes-ora
left a comment
There was a problem hiding this comment.
Looks good - all OOME inducing tests should set the heap size. And presumably it will also now run fast so doesn't need a custom timeout.
Thanks
|
/integrate |
|
Going to push as commit bd52bbf.
Your commit was automatically rebased without conflicts. |
The test tries to generate the OOM by filling the whole heap, unfortunately it may fail if the heap is large than 25G. If the heap is around 15-20G the test is quite slow.
The current patch is kind of modified version of the next fix, but instead of increasing timeout it minimize the amount of memory used by the heap.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/15676/head:pull/15676$ git checkout pull/15676Update a local copy of the PR:
$ git checkout pull/15676$ git pull https://git.openjdk.org/jdk.git pull/15676/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 15676View PR using the GUI difftool:
$ git pr show -t 15676Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/15676.diff
Webrev
Link to Webrev Comment