RFR: 8291897: TerminatingThreadLocal(s) not registered from virtual thread(s) [v2]
Peter Levart
plevart at openjdk.org
Fri Aug 5 09:54:39 UTC 2022
On Thu, 4 Aug 2022 15:55:38 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Peter Levart has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Removed unused JLA, SharedSecrets, added @enablePreview test annotation
>
> test/jdk/jdk/internal/misc/TerminatingThreadLocal/TestTerminatingThreadLocal.java line 40:
>
>> 38: * @compile --enable-preview -source ${jdk.version} TestTerminatingThreadLocal.java
>> 39: * @run main/othervm --enable-preview -Djdk.virtualThreadScheduler.parallelism=1 -Djdk.virtualThreadScheduler.maxPoolSize=2 TestTerminatingThreadLocal
>> 40: */
>
> If you add `@enablePreview` then it will allow you to drop the `@compile` line and drop `--enable-preview from the `@run` tag.
>
> You might want to add the bugId to the `@bug` list too.
Done in next commit.
-------------
PR: https://git.openjdk.org/jdk/pull/9743
More information about the security-dev
mailing list