|
|
|
|
|
by Kranar
1710 days ago
|
|
>In OpenJDK, Java threads are just thin wrappers around OS threads and OS threads are a very precious resource; a modern OS can't support more than a few thousand active threads at a time. I don't know what you define as a few thousand active threads, but running the following C++ code let me run 70,000 threads before I got a resource error: https://godbolt.org/z/74GsY1Kds |
|