-
Notifications
You must be signed in to change notification settings - Fork 155
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
8173339: AArch64: Fix minimum stack size computations #66
Conversation
👋 Welcome back dongbohe! A progress list of the required criteria for merging this PR into |
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
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.
Looks fine. I was a bit freaked out because I'd forgotten that this is a count of "theoretical" 4k pages, regardless of the actual page size, which is 64k on some AArch64 systems.
@dongbohe 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 42 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. 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 (@theRealAph) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
Thank you for your review, Andrew. Tagged the JBS issue with jdk8u-fix-request. |
I found that some test cases fail on OS with 64k page size, and launched a PR #71 to fix these test cases. |
@dongbohe This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
@dongbohe This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
/open |
@gnu-andrew Only the pull request author can set the pull request state to "open" |
/open |
@dongbohe This pull request is now open |
I've approved this based on Andrew's review. Please reopen and integrate. Thanks. |
/integrate |
/sponsor |
Going to push as commit de32daa.
Your commit was automatically rebased without conflicts. |
@gnu-andrew @dongbohe Pushed as commit de32daa. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Thanks for the quick turn-around! |
I should do it, thanks for the sponsor. |
Hi,
I would like to backport this patch to fix minimum stack size computations on AArch64.
I updated the value directly on
define_pd_global
because JDK-8078556 is not in 8u.Testing: Performed full jtreg test aarch64-linux-gnu platforms with 4k page size.
Following test case worked correctly after patch.
Before patch:
$ java TLSStackOverflow
[1] 35476 segmentation fault (core dumped) java TLSStackOverflow
After patch:
$ java TLSStackOverflow
got expected stackoverflow, passed
$ keytool -genkey -keyalg RSA -keystore localhost-rsa.jks -storepass changeit -storetype pkcs12
$ cat TLSStackOverflow.java
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev pull/66/head:pull/66
$ git checkout pull/66
Update a local copy of the PR:
$ git checkout pull/66
$ git pull https://git.openjdk.org/jdk8u-dev pull/66/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 66
View PR using the GUI difftool:
$ git pr show -t 66
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/66.diff