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

Use ThreadLocalRandom As Default RNG For Collection Shuffle

    Details

      Description

      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


        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: