JDK-8352891 Performance improvements to ByteArrayOutputStream

Brian Burkhalter brian.burkhalter at oracle.com
Fri Apr 4 20:31:10 UTC 2025


I did not notice that Alan’s comment below, about adding a hint as to the maximum expected size, has been specifically addressed anywhere in this discussion. It might not be all that pertinent to the main thread of discussion, however, but it would certainly be useful for the issue [1], which I linked to [2].

Brian

[1] https://bugs.openjdk.org/browse/JDK-8329287
[2] https://bugs.openjdk.org/browse/JDK-8353729

On Apr 2, 2025, at 3:52 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

[…] and whether having a parameter to specify the initial size or some hint of the max size would help the discussion.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20250404/7b53be36/attachment.htm>


More information about the core-libs-dev mailing list