[concurrency-interest] Java ForkJoin demo applications

Dr Heinz M. Kabutz heinz at javaspecialists.eu
Thu Dec 8 16:01:56 EST 2011


Hi Doug,

in your Fib example: 
http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/loops/Fib.java?revision=1.5&view=markup

should "number" not be marked as volatile, as it is accessed from 
multiple threads?

Regards

Heinz
-- 
Dr Heinz M. Kabutz (PhD CompSci)
Author of "The Java(tm) Specialists' Newsletter"
Sun Java Champion
IEEE Certified Software Development Professional
http://www.javaspecialists.eu
Tel: +30 69 72 850 460
Skype: kabutz 



On 12/8/11 10:41 PM, Doug Lea wrote:
> On 12/08/11 09:29, Mattias De Wael wrote:
>
>> In the paper of Doug Lea "A Java Fork/Join Framework" a battery of 
>> demo-apps is
>> used to provide data about the performance of the framework.
>
> Variants of these and others are available in our misc
> performance test directory
> http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/loops/
>
> including: Integrate IntegrateGamma Fib LeftSpineFib DynamicFib
> DynamicLeftSpineFib  DynamicAsyncFib ScalarLongSort BoxedLongSort
> NQueensCS AsyncNQueensCS FJSums MatrixMultiply LU Microscope
> TorusSpanningTree FJJacobi FJPhaserJacobi Heat
>
> See near the bottom of
> http://gee.cs.oswego.edu/dl/concurrency-interest/index.html
> for  some notes about loops tests.
>
> -Doug
> _______________________________________________
> Concurrency-interest mailing list
> Concurrency-interest at cs.oswego.edu
> http://cs.oswego.edu/mailman/listinfo/concurrency-interest
>


More information about the Concurrency-interest mailing list