[concurrency-interest] What's the advantage of a Java-5 ThreadPoolExecutor over a Java-7 ForkJoinPool?

√iktor Ҡlang viktor.klang at gmail.com
Thu Feb 16 07:18:30 EST 2012


On Thu, Feb 16, 2012 at 1:06 PM, Mohan Radhakrishnan
<radhakrishnan.mohan at gmail.com> wrote:
> Does the first point in
> http://cs.oswego.edu/pipermail/concurrency-interest/2012-January/008987.html
>
> mean that now I can submit independent tasks to the FJ framework
> without the need for
> a task and subtask graph and still get the benefits of work stealing ?

Yes

>
> I am trying to apply this to a streaming financial message handler.
> Have I understood this wrongly ? Any code snippet that demonstrates
> this ? Should I check Akka source ?

We're not doing any magic, we just embedded the new code under a
modified package name so it doesn't clash with JDK7 and then replaced
the lookup for Unsafe so it works on Android. That's it.

Doug is a genius.

Cheers,
√

>
> Mohan
>
> 2012/2/15 √iktor Ҡlang <viktor.klang at gmail.com>:
>> You guys should have a look at the latest post at letitcrash.com
>>
>> Cheers,
>>>>
>
> _______________________________________________
> Concurrency-interest mailing list
> Concurrency-interest at cs.oswego.edu
> http://cs.oswego.edu/mailman/listinfo/concurrency-interest



-- 
Viktor Klang

Akka Tech Lead
Typesafe - The software stack for applications that scale

Twitter: @viktorklang



More information about the Concurrency-interest mailing list