[concurrency-interest] Atomic arrays and toArray(), stream(), iterator()

Remi Forax forax at univ-mlv.fr
Mon Apr 24 01:50:07 EDT 2017


correction to avoid to spread false news, 
i say that Arrayish was scheduled for 11 but i was wrong, it's part of valhalla and currently unscheduled. 

Rémi 

> De: "Martin Buchholz" <martinrb at google.com>
> À: "jbloch" <jbloch at gmail.com>
> Cc: "Mike Duigou" <openjdk at duigou.org>, "Concurrency Interest"
> <concurrency-interest at cs.oswego.edu>
> Envoyé: Mardi 21 Mars 2017 00:49:31
> Objet: Re: [concurrency-interest] Atomic arrays and toArray(), stream(),
> iterator()

> On Mon, Mar 20, 2017 at 4:24 PM, Joshua Bloch < jbloch at gmail.com > wrote:

>> Ben,
>> That's what I assumed, but I'll give Martin a chance to respond :)

> I was waiting for Doug or Aleksey to respond!

> The biggest advantage of AtomicLong will always be PORTABILITY. Each platform
> iteration takes more years to become ubiquitous than its predecessor, and that
> will be even more true for jdk9. VarHandles are for classes that are part of
> the platform or that value extreme performance more than portability.

> OTOH jdk9 AtomicLong is a wrapper around VarHandle. It's unlikely to be
> completely free. .... oh I now see Remi has a better answer!

> _______________________________________________
> Concurrency-interest mailing list
> Concurrency-interest at cs.oswego.edu
> http://cs.oswego.edu/mailman/listinfo/concurrency-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20170424/07a32151/attachment.html>


More information about the Concurrency-interest mailing list