-
Notifications
You must be signed in to change notification settings - Fork 146
8258746: illegal access to global field _jvmci_old_thread_counters by terminated thread causes crash #154
Conversation
👋 Welcome back dlong! A progress list of the required criteria for merging this PR into |
@dean-long The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
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 Dean,
This looks good to me. :)
Good catch on keeping the free of _jvmci_counters in the destructor.
Thanks,
David
@dean-long 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 no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
Thanks, David and Vladimir. |
/integrate |
Going to push as commit d9cb068.
Your commit was automatically rebased without conflicts. |
@dean-long Pushed as commit d9cb068. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
This change moves the access to the global field _jvmci_old_thread_counters from the thread destructor to JavaThread::exit(). See the JBS issue for more details. The free of _jvmci_counters is left in the destructor intentionally, as it is allocated in the JavaThread constructor and not all termination paths go through JavaThread::exit().
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk17 pull/154/head:pull/154
$ git checkout pull/154
Update a local copy of the PR:
$ git checkout pull/154
$ git pull https://git.openjdk.java.net/jdk17 pull/154/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 154
View PR using the GUI difftool:
$ git pr show -t 154
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk17/pull/154.diff