Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8218282

Use ThreadLocalRandom As Default RNG For Collection Shuffle

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      For the default random number generator in Collections.shuffle(), please consider using java.util.concurrent.ThreadLocalRandom instead of the current static copy of Random that is shared across all threads.

      Related to: JDK-6271215


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: