[infinispan-issues] [JBoss JIRA] (ISPN-11279) Replace UUID.randomUUID() with Util.threadLocalRandomUUID()
Tristan Tarrant (Jira)
issues at jboss.org
Mon Jun 15 03:51:01 EDT 2020
[ https://issues.redhat.com/browse/ISPN-11279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant reassigned ISPN-11279:
--------------------------------------
Assignee: Dan Berindei
> 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
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 11.0.1.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