While working on a small JavaFX application, I noticed some strange behavior. When I closed all windows, the application did not stop immediately, even though all threads were done with their work. It became even more mysterious. After a while the application would shut down correctly. What was going on? Continue reading “Surprising Behavior of a Cached Thread Pool”