In the past, threads usually blocked on LockUtil.park(…), and AQS is
depends on it to park threads.
Virtual thread only solved thread blocking on JDK layer by rewriting
LockUtik.park(…)
In some conditions, the carrier thread will be blocked (I only remember the
following points)
1. JNI calling
2.
Hi,
I check the docs for Virtual Threads[1][2][3]. It comes up to me with two
major concerns about its real-world improvement for Pulsar's scenario:
1. All of the virtual threads share the same schedule pool, which means
that all tasks run on virtual threads competing with each other. It can be
b