Platform threads reserve ~1 MB OS stack and schedule via expensive OS kernel context switches—capping servers at a few thousand concurrent blocking calls. Finalized in Java 21 (JEP 444), Virtual Threads store resizable stack frames in the Java heap, letting a handful of carrier threads run hundreds of thousands of concurrent blocking tasks!
More lessons in Complete Core Java