Thread-local successor for object pooling

Alan Bateman Alan.Bateman at oracle.com
Thu Nov 3 14:25:31 UTC 2022


On 02/11/2022 18:03, Carter Kozak wrote:
> :
>
> My fear, however, is that by making ThreadLocal support on a 
> per-thread basis configurable, we make them dangerous to use in any 
> code that cannot be directly traced to thread creation (all library code).

As I said, this is an area that needs more feedback. The ability to 
create Threads that don't support TLs has been in the EA builds for 
several years without much feedback. It will of course be re-evaulated 
carefully when it comes time to promote preview APIs to permanent.

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20221103/b45969a0/attachment-0001.htm>


More information about the loom-dev mailing list