RFR: 8347167: Reduce allocation in com.sun.net.httpserver.Headers::normalize [v3]

Daniel Fuchs dfuchs at openjdk.org
Thu Nov 20 13:43:17 UTC 2025


On Wed, 19 Nov 2025 14:09:09 GMT, Josiah Noel <duke at openjdk.org> wrote:

>> Following the direction outlined in the net-dev discussion, I've updated the `com.sun.net.httpserver.Headers.normalize()` method to no longer allocate a superfluous char array when the header is already normalized.
>
> Josiah Noel has updated the pull request incrementally with one additional commit since the last revision:
> 
>   patch 2

I did an additional round of testing and all went well. Approved!

-------------

Marked as reviewed by dfuchs (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27276#pullrequestreview-3487925610


More information about the net-dev mailing list