Absolute index bulk put/get byte operations on ByteBuffer
Martin Thompson
mjpt777 at gmail.com
Thu Sep 6 19:42:30 UTC 2018
There has been a long outstanding issue of ByteBuffer not having methods to
get or put a ByteBuffer or byte[] at an absolute index.
https://bugs.openjdk.java.net/browse/JDK-5029431
This seriously hampers the usefulness of ByteBuffer in a concurrent
environment due to contention on the position and limit fields. Slicing or
duplicating are not valid options are this are not threadsafe and they
allocate.
Is there any reason why this bug has not been progressed?
Regards,
Martin...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180906/9ab6a7e9/attachment.html>
More information about the nio-dev
mailing list