FunTester
Nov 5, 2023 · Backend Development
Why java.util.UUID.randomUUID Can Block Threads and How to Fix It
The article explains how java.util.UUID.randomUUID relies on OS entropy, can block threads when entropy is low, shows a real‑world thread‑dump example, and provides three remedies: upgrading the JDK, installing haveged, or switching to /dev/urandom.
BlockingJDKJava
0 likes · 5 min read
