News: JSR 166: Concurrency Utilities released as Proposed Final Draft
The JSR 166 expert group has release the Proposed Final Draft for their Concurrency Utilities specification. The JSR proposes a set of medium-level utilities that provide functionality commonly needed in concurrent programs.
- Posted by: Dion Almaer
- Posted on: March 23 2004 08:22 EST
The package will consist of interfaces and classes that tend to be useful across diverse programming styles and applications. These classes include:
- Atomic variables.
- Special-purpose locks, barriers, semaphores and condition variables.
- Queues and related collections designed for multithreaded use.
- Thread pools and custom execution frameworks.
Visit the JSR 166 home page
Download the JSR 166 proposed final draft
The JSR proposes a set of medium-level utilities that provide functionality commonly needed in concurrent programs."Medium level" is a good assessment. With this JSR it is reasonable for a high performance Java application to define custom scheduling of its threads. Eg, the JVM scheduler suffers priority inversion, but a custom scheduler wouldn't. Other eg, aging and shortest job first. What a boost to workflow management and quality of service.
Other than the slides that can be found on the JSR 166 intrest site (http://gee.cs.oswego.edu/dl/concurrency-interest/index.html), does anyone know of any tutorial or examples for the package? Thanks.
The best reference is probably Doug Lea's book "Concurrent Programming in Java", published by Addison-Wesley. It's a little old now, but the concepts are still as valid today as when he wrote them.