hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-11970) Replace uses of ThreadLocal<Random> with ThreadLocalRandom on branches that are JDK7+
Date Thu, 14 May 2015 14:31:00 GMT
Sean Busbey created HADOOP-11970:
------------------------------------

             Summary: Replace uses of ThreadLocal<Random> with ThreadLocalRandom on
branches that are JDK7+
                 Key: HADOOP-11970
                 URL: https://issues.apache.org/jira/browse/HADOOP-11970
             Project: Hadoop Common
          Issue Type: Improvement
            Reporter: Sean Busbey
            Assignee: Sean Busbey


ThreadLocalRandom should be used when available in place of ThreadLocal<Random>. For
JDK7 the difference is minimal, but JDK8 starts including optimizations for ThreadLocalRandom.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message