-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8371194: serviceability/sa/TestJhsdbJstackMixedWithXComp.java failing #28284
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
Co-authored-by: Patricio Chilano Mateo <[email protected]>
|
👋 Welcome back ysuenaga! A progress list of the required criteria for merging this PR into |
|
@YaSuenag 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 64 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 |
|
/contributor add @pchilano |
|
@YaSuenag |
Webrevs
|
|
This PR is for Linux, other platforms (Windows, Mac) would not work. However I think it is not a problem because Windows and Mac has not been supported mixed jstack originally. |
pchilano
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.
Fix looks good to me (can't comment on the PPC and RISCV parts though).
| * @bug 8370176 | ||
| * @requires vm.hasSA | ||
| * @requires os.family == "linux" | ||
| * @requires os.arch == "amd64" |
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.
Can't we run the test on AArch64 now?
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.
I think this PR works on Linux AArch64, but I'm not sure because previous change (#27885) worked on some Linux AArch64, but there are some platforms whch did not work. Thus I think it is better to keep this test for Linux AMD64 only.
I couldn't reproduce the problem on Fedora Rawhide on Raspberry Pi 4, but there might be some issue because SA does not have DWARF parser for AArch 64 - it means the native we cannot find sender frame which depends on DWARF, does not use FP as frame pointer.
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.
I enabled this test for linux-aarch64 and it seems to pass our testing.
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.
I saw the problem on VMError::report_and_die because its frame could not be unwinded without DWARF.
I have not seen the problem in other place, but I'm concerned the test fails on some Linux AArch64 platforms. Thus I think it is better to wait enabling the test until SA supports DWARF.
We've fixed mixed mode jstack for the debuggee running with
-Xcompin JDK-8370176, but it was not enough. We need to handle like unifyingCFrameandFramein stack unwinding as possible, and need to change how to get caller SP/FP from stack.This PR works fine on both Linux AMD64 and Linux AArch64. All of
hotspot/jtreg/serviceability/satests have been passed on both platforms.Big thanks to @pchilano for your help!
Progress
Issue
Reviewers
Contributors
<[email protected]>Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/28284/head:pull/28284$ git checkout pull/28284Update a local copy of the PR:
$ git checkout pull/28284$ git pull https://git.openjdk.org/jdk.git pull/28284/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 28284View PR using the GUI difftool:
$ git pr show -t 28284Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/28284.diff
Using Webrev
Link to Webrev Comment