RFR: 8353949: HttpHeaders.firstValueAsLong unnecessarily boxes to Long

Daniel Jeliński djelinski at openjdk.org
Thu Apr 10 10:51:32 UTC 2025


On Thu, 10 Apr 2025 05:47:09 GMT, Volkan Yazici <vyazici at openjdk.org> wrote:

> Avoid unnecessary boxing in `HttpHeaders::firstValueAsLong`.

LGTM.

Don't use `noreg-self` for this. That label is used for fixing test issues. `noreg-perf` or `noreg-cleanup` would be more appropriate here.

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

Marked as reviewed by djelinski (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/24561#pullrequestreview-2756233332


More information about the net-dev mailing list