8011135: (bf) CharBuffer.put(String) is slow because of String.charAt() call for each char
Alan.Bateman at oracle.com
Thu Feb 21 17:45:23 UTC 2019
On 21/02/2019 17:41, Brian Burkhalter wrote:
>> There are a few other places in the heap buffers that also need to be
>> hardened a bit (direct buffers of course need to much more careful).
> Shall I try to include fixing those in this patch?
Probably best to do it as a separate issue. I try to watch for these
things with direct buffer classes as these could lead to any number of
VM crashes or security issues. It's a less of concern with the heap
buffers but would be good to fix if you have cycles.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-dev