I wanted to play around with the upcoming concurrency library which
is going to be included in
Java 7 according to this website.
It seems to be named JSR166.
In most places its reference implementation is referred as jsr166y, while few resources call it jsr166z.
I discovered two totally different javadocs for each reference implementation.
Now, which implementation is going to be included in Java 7?
EDIT
While people who answered suggest that jsr166y is the thing for Java 7,
I discovered this document (TS-5515) from JavaOne.
This document refers to Java 7 but mentions LinkedAsyncAction
which is only present in jsr166z javadocs. (Confusion...)
The Java platform is designed from the ground up to support concurrent programming, with basic concurrency support in the Java programming language and the Java class libraries. Since version 5.0, the Java platform has also included high-level concurrency APIs.
Concurrency is the ability to run several or multi programs or applications in parallel. The backbone of Java concurrency is threads (a lightweight process, which has its own files and stacks and can access the shared data from other threads in the same process).
Concurrency is the ability to run several programs or several parts of a program in parallel. If a time consuming task can be performed asynchronously or in parallel, this improve the throughput and the interactivity of the program. 2.
JSR 166 was the original Java concurrency jsr for Java 5 that created java.util.concurrent. They did a maintenance rev in Java 6 called JSR 166x. The Java 7 maintenance rev is JSR 166y. JSR 166z is the closures prototype version.
Currently slated to be included in JSR 166y is:
Push to JDK 8 (at least):
For more info, javadoc here or join the concurrency-interest mailing list:
The link on the javac.info site (jsr166z) uses BGGA closures which will not be in JDK7.
The link on Doug Lea's site (jsr166y) should be up to date. Doug is the spec lead. The API has been pruned down to the basics as how the fork-join framework will be used in practice is not yet clear. Presumably libraries will be available at a slightly higher level, and when thing settle down more can be added to JDK8.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With