JDK-8288121: [JVMCI] Re-export the TerminatingThreadLocal functionality to the graal compiler.#9107
JDK-8288121: [JVMCI] Re-export the TerminatingThreadLocal functionality to the graal compiler.#9107tzezula wants to merge 2 commits intoopenjdk:masterfrom
Conversation
|
Hi @tzezula, welcome to this OpenJDK project and thanks for contributing! We do not recognize you as Contributor and need to ensure you have signed the Oracle Contributor Agreement (OCA). If you have not signed the OCA, please follow the instructions. Please fill in your GitHub username in the "Username" field of the application. Once you have signed the OCA, please let us know by writing If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please use "Add GitHub user tzezula" as summary for the issue. If you are contributing this work on behalf of your employer and your employer has signed the OCA, please let us know by writing |
9a3e7c0 to
d53c90f
Compare
|
/covered |
|
Thank you! Please allow for a few business days to verify that your employer has signed the OCA. Also, please note that pull requests that are pending an OCA check will not usually be evaluated, so your patience is appreciated! |
…unctionality to the jvmci compiler.
Webrevs
|
|
@dougxc, can you review this? It is out of my expertise. |
Since I helped craft this change, it should really get another reviewer. @dholmes-ora maybe you could look at it? TL;DR this PR is exposing |
|
@tzezula This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
Still valid PR. |
|
@plevart any chance you could look at this PR since you introduced |
|
Note that we also considered an alternate solution which would be to export |
tkrodriguez
left a comment
There was a problem hiding this comment.
I don't see any better solution at the moment.
|
|
@tzezula 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 837 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. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@dougxc, @tkrodriguez) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
/integrate |
|
@tzezula Please do not rebase or force-push to an active PR as it invalidates existing review comments. All changes will be squashed into a single commit automatically when integrating. See OpenJDK Developers’ Guide for more information. |
|
/sponsor |
|
Going to push as commit 97e2689.
Your commit was automatically rebased without conflicts. |
JVMCI compilers need to release resources tied to a thread-local variable when the associated thread is exiting. The JDK internally uses the jdk.internal.misc.TerminatingThreadLocal class for this purpose. This pull request re-exports the TerminatingThreadLocal functionality to JVMCI compilers.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/9107/head:pull/9107$ git checkout pull/9107Update a local copy of the PR:
$ git checkout pull/9107$ git pull https://git.openjdk.org/jdk pull/9107/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 9107View PR using the GUI difftool:
$ git pr show -t 9107Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/9107.diff