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

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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 14.0.0.Final
    • 10.1.1.Final
    • Core
    • None

      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.

              ttarrant@redhat.com Tristan Tarrant
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: