Why is ThreadLocal problematic with virtual threads?

Libraries storing per-request state in ThreadLocal allocate one entry per virtual thread — catastrophic memory with 100k concurrent requests. Prefer...

Why is ThreadLocal problematic with virtual threads? · Home · Support the platform