[infinispan-issues] [JBoss JIRA] (ISPN-11279) Replace UUID.randomUUID() with Util.threadLocalRandomUUID()
Dan Berindei (Jira)
issues at jboss.org
Wed Feb 5 01:57:47 EST 2020
Dan Berindei created ISPN-11279:
-----------------------------------
Summary: Replace UUID.randomUUID() with Util.threadLocalRandomUUID()
Key: ISPN-11279
URL: https://issues.redhat.com/browse/ISPN-11279
Project: Infinispan
Issue Type: Task
Components: Core
Affects Versions: 10.1.1.Final
Reporter: Dan Berindei
Fix For: 11.0.0.Final
{{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.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list