8371948: TestStackOverflowDuringInit.java fails xss too small on linux-aarch64#28352
8371948: TestStackOverflowDuringInit.java fails xss too small on linux-aarch64#28352sendaoYan wants to merge 9 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back syan! A progress list of the required criteria for merging this PR into |
|
@sendaoYan 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 166 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 |
|
@sendaoYan The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
|
A more resilient change would be to add a WhiteBox API to obtain the minimum stack for the actual platform in use, and then exec the VM with that as an -Xss value. Is that something you can do? |
Okey, Thanks for the suggestion, I will try this in this PR later. |
|
@sendaoYan |
…t wb.getMinimumJavaStackSize()
…t wb.getMinimumJavaStackSize()
dholmes-ora
left a comment
There was a problem hiding this comment.
Looking good. Just a couple of minor issues.
Thanks
test/hotspot/jtreg/runtime/memory/ReadMinimumJavaStackSize.java
Outdated
Show resolved
Hide resolved
|
Looking for second reviewer since touch the hotspot files. |
|
Thanks for the suggestions and reviews @dholmes-ora @theRealAph /integrate |
|
Going to push as commit 360777c.
Your commit was automatically rebased without conflicts. |
|
@sendaoYan Pushed as commit 360777c. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Hi all,
On linux-aarch64, when page size is 64K, the minimal java thread stack size is 448K. So this PR increase the minimal java thread stack size in test/hotspot/jtreg/runtime/ClassInitErrors/TestStackOverflowDuringInit.java. Below is the calculation formula for the minimal java thread stack size:
This PR add whitebox API getMinimumJavaStackSize() to the the allowd minimum java stack size, and get the allowed minimum java stack size in test/hotspot/jtreg/runtime/ClassInitErrors/TestStackOverflowDuringInit.java
Change has been verified locally both on linux-x64 and linux-aarch64.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/28352/head:pull/28352$ git checkout pull/28352Update a local copy of the PR:
$ git checkout pull/28352$ git pull https://git.openjdk.org/jdk.git pull/28352/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 28352View PR using the GUI difftool:
$ git pr show -t 28352Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/28352.diff
Using Webrev
Link to Webrev Comment