[infinispan-issues] [JBoss JIRA] (ISPN-11279) Replace UUID.randomUUID() with Util.threadLocalRandomUUID()

Pedro Ruivo (Jira) issues at jboss.org
Thu Aug 6 09:53:01 EDT 2020


     [ https://issues.redhat.com/browse/ISPN-11279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pedro Ruivo updated ISPN-11279:
-------------------------------
    Fix Version/s: 11.0.4.Final
                       (was: 11.0.3.Final)


> 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.4.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