Searching for programs using java.util.concurrent

View: New views
3 Messages — Rating Filter:   Alert me  

Searching for programs using java.util.concurrent

by Niko Matsakis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I am a PhD student researching new ways to verify thread safety.  I am  
looking for programs which use the java.util.concurrent classes to  
implement Fork-Join parallel processing.  Ideally, such examples would  
be realistic, but simple and self-contained.  I would like to use them  
to help validate my designs, etc.  I am also interested in other  
parallel Java programs that seem suitable, even if they don't use  
JSR-166 or follow a fork-join model.  Perhaps someone on this list has  
suggestions?  Thanks in advance for any assistance.

In case you are interested, the basic thrust of my research involves  
grouping together objects into disjoint sets called partitions.  A  
flow-sensitive analysis then checks that no two threads simultaneously  
use objects in the same partition in incompatible ways.  I would like  
to find sample programs both to validate my ideas in a practical  
setting and to help drive the implementation.


regards,
Niko Matsakis
_______________________________________________
Concurrency-interest mailing list
Concurrency-interest@...
http://altair.cs.oswego.edu/mailman/listinfo/concurrency-interest

Re: Searching for programs using java.util.concurrent

by Edward Harned :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Take a look at open source Tymeac starting here:
http://coopsoft.com/JavaProduct.html

Tymeac uses the concurrency classes. It runs both as an internal server as well as with RMI.

In Tymeac you predefine the Queues with number of threads, etc. Tymeac separates (forks) the request into its parts, places the request into Queues for parallel processing and concatenates the results (joins) for the client.

It is well documented with plenty of samples.

Ed Harned


--- On Sat, 6/7/08, Niko Matsakis <niko@...> wrote:

> From: Niko Matsakis <niko@...>
> Subject: [concurrency-interest] Searching for programs using java.util.concurrent
> To: concurrency-interest@...
> Date: Saturday, June 7, 2008, 9:13 AM
> Hello,
>
> I am a PhD student researching new ways to verify thread
> safety.  I am  
> looking for programs which use the java.util.concurrent
> classes to  
> implement Fork-Join parallel processing.  Ideally, such
> examples would  
> be realistic, but simple and self-contained.  I would like
> to use them  
> to help validate my designs, etc.  I am also interested in
> other  
> parallel Java programs that seem suitable, even if they
> don't use  
> JSR-166 or follow a fork-join model.  Perhaps someone on
> this list has  
> suggestions?  Thanks in advance for any assistance.
>
> In case you are interested, the basic thrust of my research
> involves  
> grouping together objects into disjoint sets called
> partitions.  A  
> flow-sensitive analysis then checks that no two threads
> simultaneously  
> use objects in the same partition in incompatible ways.  I
> would like  
> to find sample programs both to validate my ideas in a
> practical  
> setting and to help drive the implementation.
>
>
> regards,
> Niko Matsakis
> _______________________________________________
> Concurrency-interest mailing list
> Concurrency-interest@...
> http://altair.cs.oswego.edu/mailman/listinfo/concurrency-interest


     
_______________________________________________
Concurrency-interest mailing list
Concurrency-interest@...
http://altair.cs.oswego.edu/mailman/listinfo/concurrency-interest

Re: Searching for programs using java.util.concurrent

by Gregg Wonderly-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This article is quite telling of the importance of things like the fork/join
stuff for making effective use of losely coupled computing engines.  The fact
that there are 3 different processor types on board makes it clear that certain
types of calculations can and should be optimized by implementation details of
"platforms" instead of by programmers directly.

How cool it would be to have one of these are your finger tips with fork/join as
the programming control implementation!

<http://www.nytimes.com/2008/06/09/technology/09petaflops.html?_r=1&oref=slogin>

Gregg Wonderly
_______________________________________________
Concurrency-interest mailing list
Concurrency-interest@...
http://altair.cs.oswego.edu/mailman/listinfo/concurrency-interest
LightInTheBox - Buy quality products at wholesale price