RFR: JDK-8288121: [JVMCI] Re-export the TerminatingThreadLocal functionality to the graal compiler.
Doug Simon
dnsimon at openjdk.org
Tue Aug 16 07:36:13 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.
Note that we also considered an alternate solution which would be to export `java.base/jdk.internal.misc` to `jdk.internal.vm.compiler`. However, this is not possible without making `jdk.internal.vm.compiler` a non-upgradeable module.
-------------
PR: https://git.openjdk.org/jdk/pull/9107
More information about the hotspot-compiler-dev
mailing list