什么是即将到来的Java并发库:jsr166y? jsr166z? [英] What's the upcoming Java concurrency library: jsr166y? jsr166z?

查看:289
本文介绍了什么是即将到来的Java并发库:jsr166y? jsr166z?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要使用即将到来的并发库,其中
将包含在

Java 7中,根据 此网站

I wanted to play around with the upcoming concurrency library which is going to be included in
Java 7 according to this website.

它似乎命名为 JSR166

It seems to be named JSR166.

在大多数地方,它的引用实现称为 jsr166y
,而少数资源称为

In most places its reference implementation is referred as jsr166y, while few resources call it jsr166z.

对于每个引用实现,我发现了两个完全不同的不同 javadoc。

I discovered two totally different javadocs for each reference implementation.

  • Docs for jsr166y
  • Docs for jsr166z

现在,哪些实现将包含在Java 7中?

Now, which implementation is going to be included in Java 7?

EDIT

虽然有人回答建议jsr166y是Java 7的事情,
我发现了 文档(TS- 5515)
本文档提到Java 7,但提到LinkedAsyncAction
,它只存在于jsr166z javadocs中。 (Confusion ...)

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...)

推荐答案

JSR 166是Java 5中创建java.util.concurrent的原始Java并发性jsr。他们在Java 6中做了一个维护修改,称为JSR 166x。 Java 7维护rev是JSR 166y。

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.

目前预定包含在JSR 166y中的是:

Currently slated to be included in JSR 166y is:


  • Fork / join(但不是ParallelArray框架)

  • TransferQueue / LinkedTransferQueue集合

  • >
  • Fork/join (but NOT the ParallelArray framework)
  • TransferQueue / LinkedTransferQueue collection
  • Phasers (CyclicBarriers on steroids)

推送到JDK 8(至少):

Push to JDK 8 (at least):



有关详情,请 javadoc此处或加入并发性邮件列表:

For more info, javadoc here or join the concurrency-interest mailing list:

  • http://cs.oswego.edu/mailman/listinfo/concurrency-interest

这篇关于什么是即将到来的Java并发库:jsr166y? jsr166z?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆