This tech article Fork and Join: Java Can Excel at Painless Parallel Programming Too!
describes the rich primitives added in Java SE 5 and Java SE 6 by the java.util.concurrent packages to deal with concurrency and the fork/join framework provided in Java SE 7 to support parallelism. Brought to you by the Oracle Technology Network.
-
Tech Article: Fork and Join: Java Can Excel at Painless Parallel Programming Too! (4 messages)
- Posted by: Tori Wieldt
- Posted on: August 10 2011 10:20 EDT
Threaded Messages (4)
- This comment form is not iOS compatible :( by Denis Bredelet on August 14 2011 08:25 EDT
- I like where Java is headed, though still not all that painless by Denis Bredelet on August 14 2011 08:28 EDT
- Missed opportunity? by Billy Newport on August 16 2011 08:26 EDT
- hi by matt coleman on October 09 2012 05:17 EDT
-
This comment form is not iOS compatible :([ Go to top ]
- Posted by: Denis Bredelet
- Posted on: August 14 2011 08:25 EDT
- in response to Tori Wieldt
- This tech article Fork and Join: Java Can Excel at Painless Parallel Programming Too!
describes the rich primitives added in Java SE 5 and Java SE 6 by the java.util.concurrent packages to deal with concurrency and the fork/join framework provided in Java SE 7 to support parallelism. Brought to you by the Oracle Technology Network.
-
I like where Java is headed, though still not all that painless[ Go to top ]
- Posted by: Denis Bredelet
- Posted on: August 14 2011 08:28 EDT
- in response to Denis Bredelet
- This tech article Fork and Join: Java Can Excel at Painless Parallel Programming Too!
describes the rich primitives added in Java SE 5 and Java SE 6 by the java.util.concurrent packages to deal with concurrency and the fork/join framework provided in Java SE 7 to support parallelism. Brought to you by the Oracle Technology Network.
-
Missed opportunity?[ Go to top ]
- Posted by: Billy Newport
- Posted on: August 16 2011 08:26 EDT
- in response to Tori Wieldt
In the sample, it creates Tasks and then in a loop blocks waiting for each task to finish. If the post processing for a task was expensive post join then blocking for a specific task may not be optimal. Is there a way to join on ANY of these tasks, i.e. the first one to complete rather than an explicit task? A task collection with a joinFirst method or similar? That would probably allow the joiner thread to get more done.
-
hi[ Go to top ]
- Posted by: matt coleman
- Posted on: October 09 2012 05:17 EDT
- in response to Tori Wieldt
would love to join and learn this graphic designer holiday gifts