-
Notifications
You must be signed in to change notification settings - Fork 30
8279077: JFR crashes on Linux ppc due to missing crash protector in signal handler #155
Conversation
👋 Welcome back zgu! A progress list of the required criteria for merging this PR into |
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.
Please add the jdk16 and later comment:
// Handle JFR thread crash protection.
// Note: this may cause us to longjmp away. Do not use any code before this
// point which really needs any form of epilogue code running, eg RAII objects.
If we want to update comments, we should do it cross all relevant platforms. This is a linux ppc specific bug, would you mind to update comments in separate CR? 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.
Fine with me, though note that all releases from 16 on have the same comment.
@zhengyu123 This change now passes all automated pre-integration checks. 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 no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
Filed: JDK-8279181 |
Thank you, Zhengyu. |
/integrate |
Got approval, integrated. |
Going to push as commit 250ef7d. |
@zhengyu123 Pushed as commit 250ef7d. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
This is a linux_ppc specific bug, probably a day-one bug till relevant code was refactored by JDK-8255711 in 16.
Linux ppc signal handler does not install crash protector as other Linux based platforms do, e.g. linux_x86, that can result a crash while jfr tries to fill stack trace for other thread.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk15u-dev pull/155/head:pull/155
$ git checkout pull/155
Update a local copy of the PR:
$ git checkout pull/155
$ git pull https://git.openjdk.java.net/jdk15u-dev pull/155/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 155
View PR using the GUI difftool:
$ git pr show -t 155
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk15u-dev/pull/155.diff