This would be better as a discussion on the developer list initially. Once agreement is reached, can create a bugzilla enhancement for tracking the code updates.
On 21 January 2013 11:21, <[email protected]> wrote: > https://issues.apache.org/bugzilla/show_bug.cgi?id=54453 > > Bug ID: 54453 > Summary: Performance enhancements : Replace Randomw by > ThreadLocalRandom > Product: JMeter > Version: 2.8 > Hardware: All > OS: All > Status: NEW > Severity: enhancement > Priority: P2 > Component: Main > Assignee: [email protected] > Reporter: [email protected] > Classification: Unclassified > > Hello, > Java 7 introduced ThreadLocalRandom which has much better performances than > using Random as static instance. > See: > > http://docs.oracle.com/javase/tutorial/essential/concurrency/threadlocalrandom.html > http://niklasschlimm.blogspot.fr/2012/01/java-7-how-to-write-really-fast-java.html > > > Implementation is here for Java6 but can we use it with Apache License ?: > https://github.com/codahale/metrics/blob/master/metrics-core/src/main/java/com/yammer/metrics/stats/ThreadLocalRandom.java > > Or should we migrate to Java 7 as Java6 will be soon EOL ? > > -- > You are receiving this mail because: > You are the assignee for the bug.
