-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8361536: [s390x] Saving return_pc at wrong offset #26209
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
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back amitkumar! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
@offamitkumar 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. |
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.
LGTM.
Thanks for fixing.
Fast debug build was fine, but release build crashed with this error:
stack trace:
This commit (e945e04) seems to be faulty. |
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.
We're not really saving space. We just use less of the caller allocated stack space which is still as large as before.
But the change looks good and should make the stack walking code happy, because it can find the return_pc where it is expected, now.
This reverts commit e945e04.
@TheRealMDoerr I need reapproval. Can you provide one ? Thanks. |
Fixes the bug where return pc was stored at a wrong offset, which causes issue with java abi.
Issue appeared in #26004, see the comment: #26004 (comment).
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/26209/head:pull/26209
$ git checkout pull/26209
Update a local copy of the PR:
$ git checkout pull/26209
$ git pull https://git.openjdk.org/jdk.git pull/26209/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 26209
View PR using the GUI difftool:
$ git pr show -t 26209
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/26209.diff
Using Webrev
Link to Webrev Comment