RFR: JDK-8288121: [JVMCI] Re-export the TerminatingThreadLocal functionality to the graal compiler.
Tom Rodriguez
never at openjdk.org
Tue Aug 16 14:59:30 UTC 2022
On Thu, 9 Jun 2022 15:01:26 GMT, Tomáš Zezula <duke 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.
I don't see any better solution at the moment.
-------------
Marked as reviewed by never (Reviewer).
PR: https://git.openjdk.org/jdk/pull/9107
More information about the hotspot-compiler-dev
mailing list