Bug 58100 - Performance enhancements : Replace Random by ThreadLocalRandom
Summary: Performance enhancements : Replace Random by ThreadLocalRandom
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.13
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-04 13:19 UTC by Philippe Mouawad
Modified: 2015-07-04 13:47 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2015-07-04 13:19:43 UTC
With upgrade to JDK7 we can use this feature instead of Random.
Comment 1 Philippe Mouawad 2015-07-04 13:47:41 UTC
Author: pmouawad
Date: Sat Jul  4 13:39:31 2015
New Revision: 1689154

URL: http://svn.apache.org/r1689154
Log:
Bug 58100 - Performance enhancements : Replace Random by ThreadLocalRandom
Bugzilla Id: 58100

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java
    jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java
    jmeter/trunk/src/functions/org/apache/jmeter/functions/RegexFunction.java
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/modifier/AnchorModifier.java
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java
    jmeter/trunk/xdocs/changes.xml

Author: pmouawad
Date: Sat Jul  4 13:46:25 2015
New Revision: 1689157

URL: http://svn.apache.org/r1689157
Log:
Bug 58100 - Performance enhancements : Replace Random by ThreadLocalRandom

Bugzilla Id: 58100

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/timers/GaussianRandomTimer.java
    jmeter/trunk/src/components/org/apache/jmeter/timers/RandomTimer.java
    jmeter/trunk/src/components/org/apache/jmeter/timers/UniformRandomTimer.java
    jmeter/trunk/xdocs/changes.xml