Oracle Java documentation says:
Instances of java.util.Random are threadsafe. However, the concurrent use of the same java.util.Random instance across threads may encounter contention and consequent poor performance. Consider instead using ThreadLocalRandom in multithreaded designs.
What might be the reason behind poor performance?
See Question&Answers more detail:os