Integrated: 8347167: Reduce allocation in com.sun.net.httpserver.Headers::normalize
Josiah Noel
duke at openjdk.org
Thu Nov 20 15:58:17 UTC 2025
On Mon, 15 Sep 2025 02:50:27 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.
This pull request has now been integrated.
Changeset: ea19ad2a
Author: Josiah Noel <32279667+SentryMan at users.noreply.github.com>
Committer: Michael McMahon <michaelm at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/ea19ad2ac8a1fa9d4124be9a8e05cf4c6f6231bd
Stats: 268 lines in 3 files changed: 248 ins; 0 del; 20 mod
8347167: Reduce allocation in com.sun.net.httpserver.Headers::normalize
Reviewed-by: vyazici, dfuchs, michaelm
-------------
PR: https://git.openjdk.org/jdk/pull/27276
More information about the net-dev
mailing list