carrier local

Alen Vrečko alen.vrecko at gmail.com
Thu Apr 2 13:23:24 UTC 2020


Hello, everyone.

I have some thread local byte buffers. But now the threads are virtual and
it defeats the purpose.

Shouldn't the ThreadLocal act as carrier local? As ThreadLocal is
effectively a private field for VirtualThread thus rendered useless?

How do you access carrier thread via the API?

I wish to list all the thread pool threads on server status page and have
next to them some application level context data. This context is added
using thread local. But now it doesn't work.

Thank you for your time
Alen


More information about the loom-dev mailing list