Re: RFR 8020292 was :Re: class SplittableRandom

2013-07-17 Thread Mike Duigou
Hello all; Paul is on vacation (well deserved) and Doug/Guy/others have been continuing to work on SplittableRandom. As the code is continuing to evolve quickly I won't immediately post an update to this list but encourage those interested to follow along with updates either in the lambda

Re: RFR 8020292 was :Re: class SplittableRandom

2013-07-15 Thread Aleksey Shipilev
On 07/12/2013 09:26 PM, Paul Sandoz wrote: Here is the webrev: http://cr.openjdk.java.net/~psandoz/tl/JDK-8020292-splittable-random/webrev/ OK, early performance data follows. I've used a simple benchmark [1] to estimate the standalone costs for getting int/long/double, as well as the usage

Re: RFR 8020292 was :Re: class SplittableRandom

2013-07-15 Thread Peter Levart
On 07/15/2013 03:02 PM, Aleksey Shipilev wrote: The results are here [2]. Notable results follow. Hi Aleksey, Somehow the files in the directories under: http://cr.openjdk.java.net/~shade/8020292/data/ ... are not accessible (403 - Forbidden), although the sub-directories are browsable...

Re: RFR 8020292 was :Re: class SplittableRandom

2013-07-15 Thread Aleksey Shipilev
On 07/15/2013 05:43 PM, Peter Levart wrote: On 07/15/2013 03:02 PM, Aleksey Shipilev wrote: The results are here [2]. Notable results follow. Somehow the files in the directories under: http://cr.openjdk.java.net/~shade/8020292/data/ ... are not accessible (403 - Forbidden), although the

Re: RFR 8020292 was :Re: class SplittableRandom

2013-07-15 Thread David Chase
On 2013-07-15, at 9:02 AM, Aleksey Shipilev aleksey.shipi...@oracle.com wrote: The conclusion is: SR is a reasonable alternative with no obvious performance show-stoppers. That said, TLR is also reasonably fast at this point, and further improvements to TLR will probably beat the SR or tie it

Re: RFR 8020292 was :Re: class SplittableRandom

2013-07-15 Thread Doug Lea
On 07/15/13 09:02, Aleksey Shipilev wrote: OK, early performance data follows. ... - 64 bit: on moderately saturated machine (1, 16 threads), SR double is marginally faster than TLR, and SR int/long is significantly faster than TLR - 32 bit: TLR is vastly faster in int/long standalone

RFR 8020292 was :Re: class SplittableRandom

2013-07-12 Thread Paul Sandoz
Hi, Thanks Doug. Here is the webrev: http://cr.openjdk.java.net/~psandoz/tl/JDK-8020292-splittable-random/webrev/ Paul. On Jul 12, 2013, at 7:07 PM, Doug Lea d...@cs.oswego.edu wrote: [Also posted on concurrency-interest.] Thanks to all those sending quick feedback, both on and off

Re: RFR 8020292 was :Re: class SplittableRandom

2013-07-12 Thread Paul Sandoz
On Jul 12, 2013, at 7:26 PM, Paul Sandoz paul.san...@oracle.com wrote: Hi, Thanks Doug. Here is the webrev: http://cr.openjdk.java.net/~psandoz/tl/JDK-8020292-splittable-random/webrev/ In my haste i forgot to mention this patch is based off: