InputStream/OutputStream concurrency guarantees
Archie Cobbs
archie.cobbs at gmail.com
Fri Oct 31 02:33:18 UTC 2025
On Thu, Oct 30, 2025 at 4:39 PM Florian Weimer <fweimer at redhat.com> wrote:
> I'm trying to image in a way to get rid of the double buffering in
> FileInputStream/FileOutputStream: have the kernel access the heap
> directly, instead of a copy.
Wasn't that one of the goals of the NIO Channel API and direct ByteBuffers?
You've probably already considered that approach - if so I'm curious why it
doesn't work.
Also there is the new Foreign Function & Memory AP (JEP 454) which might
help.
-Archie
--
Archie L. Cobbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20251030/7d3d7a62/attachment.htm>
More information about the core-libs-dev
mailing list