ForkJoinPool in Java: Work-Stealing and the Common Pool
How ForkJoinPool really works: work-stealing deques, the common pool's size, and which blocking calls get a spare thread and which quietly stall it.
How ForkJoinPool really works: work-stealing deques, the common pool's size, and which blocking calls get a spare thread and which quietly stall it.
Heap is 4 GB, the process uses 7 GB. Where JVM native memory goes (stacks, direct buffers, code cache, Metaspace) and how NMT baseline and diff find it.
Why your pool never grows past core size. How ThreadPoolExecutor admits tasks, why the queue fills first, and what each rejection policy does, with lab output.