-
Notifications
You must be signed in to change notification settings - Fork 236
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
8315380: AsyncGetCallTrace crash in frame::safe_for_sender #3003
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back jbachorik! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
Webrevs
|
/label add hotspot,serviceability |
@jbachorik |
/label hotspot-runtime |
@jbachorik |
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.
Should not the new check be of unextended_sp rather than sp? That would match the check in JDK 17.
Indeed. I feel a bit stupid now. Fixed. |
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 good now.
|
/approval I would like to ask for approval to integrate this JDK 11 specific bug fix. The change is very limited and improves the profiling experience for users of this Java version. |
@jbachorik usage: |
/approval request I would like to ask for approval to integrate this JDK 11 specific bug fix. The change is very limited and improves the profiling experience for users of this Java version. |
@jbachorik |
This change is fixing the problem in
frame_aarch64.cpp
, functionsafe_for_sender
, where we have this codeWhile this captures one possibility of not being safe, it omits the check for
unextended_sp
falling within the stack space.The proposed change then is
This is actually just making sure the behaviour is the same as in JDK 15+ (since JDK-8238988) where the
unextended_sp
is checked for being within the stack limits.The change is not accompanied by a JTReg test because I was not able to craft one triggering the issue reliably.
Existing tests from tier1-tier4 were run on a linux-aarch64 system with no new failures observed.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/3003/head:pull/3003
$ git checkout pull/3003
Update a local copy of the PR:
$ git checkout pull/3003
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/3003/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3003
View PR using the GUI difftool:
$ git pr show -t 3003
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/3003.diff
Using Webrev
Link to Webrev Comment