Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-11279

Replace UUID.randomUUID() with Util.threadLocalRandomUUID()

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 10.1.1.Final
    • 14.0.0.Dev01
    • Core
    • None

    Description

      UUID.randomUUID() is pretty expensive, because it uses SecureRandom.
      We don't need cryptographically strong UUIDs, so we can generate all our UUIDs with Util.threadLocalRandomUUID() instead.

      Attachments

        Issue Links

          Activity

            People

              ttarrant@redhat.com Tristan Tarrant
              dberinde@redhat.com Dan Berindei
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: