Why is creating a Thread said to be expensive?
The Java tutorials say that creating a Thread is expensive. But why exactly is it expensive? What exactly is happening when a Java Thread is created that makes its creation expensive? I’m taking the statement as true, but I’m just interested in mechanics of Thread creation in JVM. Thread lifecycle overhead. Thread creation and teardown … Read more