4 ms·
It's usually a wash, maybe even a little against virtual threads as they have to store stack information along side all the state for the current context. One
by cogman10 3y ago
It's usually a wash, maybe even a little against virtual threads as they have to store stack information along side all the state for the current context.
One of the major changes to the JVM to make virtual threads work revolved around setting up the stack to be as light weight as possible.