[ 
https://issues.apache.org/jira/browse/ISIS-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16837660#comment-16837660
 ] 

ASF subversion and git services commented on ISIS-2117:
-------------------------------------------------------

Commit 400e0eeac9199dded6c8ec00661ee566173355b0 in isis's branch 
refs/heads/2112_SpringBoot from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=400e0ee ]

ISIS-2117: don't use shared random instances

- basically to improve performance in multithreaded contexts

> Replace instances of Math.random with Random.nextDouble.
> --------------------------------------------------------
>
>                 Key: ISIS-2117
>                 URL: https://issues.apache.org/jira/browse/ISIS-2117
>             Project: Isis
>          Issue Type: Improvement
>            Reporter: bd2019us
>            Priority: Trivial
>         Attachments: ISIS-2117.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Replace Math.random with Random.nextDouble. There is a performance overhead 
> cost when using Math.random over Random.nextDouble. Even moreso, the Random 
> class can allow for easier random manipulation in the future if needed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to