Re: RFR: 8265448: (zipfs): Reduce read contention in ZipFileSystem [v5]

2021-05-10 Thread Lance Andersen
On Fri, 7 May 2021 03:10:32 GMT, Jason Zaugg wrote: >> If the given Path represents a file, use the overload of read defined >> in FileChannel that accepts an explicit position and avoid serializing >> reads. >> >> Note: The underlying NIO implementation is not required to implement >>

Re: RFR: 8265448: (zipfs): Reduce read contention in ZipFileSystem [v5]

2021-05-09 Thread Alan Bateman
On Fri, 7 May 2021 03:10:32 GMT, Jason Zaugg wrote: >> If the given Path represents a file, use the overload of read defined >> in FileChannel that accepts an explicit position and avoid serializing >> reads. >> >> Note: The underlying NIO implementation is not required to implement >>

Re: RFR: 8265448: (zipfs): Reduce read contention in ZipFileSystem [v5]

2021-05-09 Thread Lance Andersen
On Fri, 7 May 2021 03:10:32 GMT, Jason Zaugg wrote: >> If the given Path represents a file, use the overload of read defined >> in FileChannel that accepts an explicit position and avoid serializing >> reads. >> >> Note: The underlying NIO implementation is not required to implement >>

Re: RFR: 8265448: (zipfs): Reduce read contention in ZipFileSystem [v5]

2021-05-06 Thread Jason Zaugg
> If the given Path represents a file, use the overload of read defined > in FileChannel that accepts an explicit position and avoid serializing > reads. > > Note: The underlying NIO implementation is not required to implement > FileChannel.read(ByteBuffer, long) concurrently; Windows still