RFR: JDK-8288121: [JVMCI] Re-export the TerminatingThreadLocal functionality to the graal compiler.
Doug Simon
dnsimon at openjdk.org
Wed Jun 29 07:52:30 UTC 2022
On Wed, 29 Jun 2022 07:45:45 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
>> 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.
>
> Marked as reviewed by dnsimon (Committer).
> @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 `TerminatingThreadLocal` for use by Graal.
-------------
PR: https://git.openjdk.org/jdk/pull/9107
More information about the hotspot-compiler-dev
mailing list