-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
JDK-8260022: [ppc] os::print_function_and_library_name shall resolve function descriptors transparently #2157
Conversation
👋 Welcome back stuefe! A progress list of the required criteria for merging this PR into |
4ccff8b
to
c0a07f2
Compare
Webrevs
|
Hi Thomas, |
Ouch, you are right. I fixed it. Thanks! |
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.
Hi Thomas, looks correct. I have only one wish.
@tstuefe 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 108 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 |
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.
Thanks!
9cedffa
to
e4f7cac
Compare
Gentle ping. |
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.
The changes look good to me.
Thanks for enhancing the output. Looks much nicer now!
I don't like that you had to include additional asm headers. But that's not your fault. As in other places, the include hierarchy is messed up.
Thank you Lutz! About the header, I got a build error without that include. |
/integrate |
@tstuefe Since your change was applied there have been 108 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 3e4194c. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
When function descriptors are fed to os::print_function_and_library_name() to get debug output, it would be very helpful to transparently handle the case where the address is not a code pointer but a function descriptor.
Of the official OpenJDK platforms this affects only ppc, but also includes at least ia64 for those who maintain ports to that platform.
Fixing this will also fix the display of signal handlers on linux ppc which still show up without function names after JDK-8258606.
Before:
Now:
The patch also adds a little trailing marker
(FD)
as an indication for the developer that this had been a function descriptor.Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/2157/head:pull/2157
$ git checkout pull/2157