JDK 10 RFR of 8182710: File.listRoots() always returns the root of CD drive

Tagir Valeev amaembo at gmail.com
Thu Jun 29 15:11:34 UTC 2017

Note that BitSet version removes single capturing lambda and additional
stream step (every step creates at least two objects), so the tradeoff is
not so obvious. Also it's probably possible that single-element array could
be scalarized by JIT.

With best regards,
Tagir Valeev.

On Thu, Jun 29, 2017 at 5:25 PM, Brian Burkhalter <
brian.burkhalter at oracle.com> wrote:

> On Jun 29, 2017, at 7:21 AM, Roger Riggs <Roger.Riggs at Oracle.com> wrote:
> > Just interesting how much attention this snippet of code received.  :)
> Agreed.
> Thanks,
> Brian

More information about the core-libs-dev mailing list