-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8373110: jstack --mixed frames are broken on macOS after JDK-8371194 #28686
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 ysuenaga! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
Webrevs
|
shipilev
left a comment
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.
Drive-by comment:
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/bsd/aarch64/BsdAARCH64CFrame.java
Outdated
Show resolved
Hide resolved
|
macosx-aarch64 looks fine, but it looks like there is still an issue on macosx-x64. Stack traces are empty: Before this change you at least got a partial stack followed by the UnsupportedPlatformException. |
…sd/aarch64/BsdAARCH64CFrame.java Co-authored-by: Aleksey Shipilëv <shipilev@amazon.de>
Does it happen always? or intermittently?
I'm not sure, but I guess jstack could not unwind frame at some point(s) due to unwind info like DWARF on Linux - jstack might not handle call frame because the symbol could not be resolved. |
Always. Every thread and with every run. All of the thread stack traces just have the one empty frame. |
JDK-8371194 (PR #28284) has broken PStack (jstack --mixed) behavior on macOS. It affects both AMD64 and AArch64. See JBS for details.
This PR fixes it to implement
CFrame::toFrame.Progress
Warning
8373110: jstack --mixed frames are broken on macOS after JDK-8371194Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/28686/head:pull/28686$ git checkout pull/28686Update a local copy of the PR:
$ git checkout pull/28686$ git pull https://git.openjdk.org/jdk.git pull/28686/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 28686View PR using the GUI difftool:
$ git pr show -t 28686Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/28686.diff
Using Webrev
Link to Webrev Comment