RFR: 8353949: HttpHeaders.firstValueAsLong unnecessarily boxes to Long

Volkan Yazici vyazici at openjdk.org
Thu Apr 10 10:58:29 UTC 2025


On Thu, 10 Apr 2025 10:49:04 GMT, Daniel Jeliński <djelinski 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.

@djelinski, thanks for the correction. Updated the ticket accordingly: `s/noreg-self/noreg-perf/`.

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

PR Comment: https://git.openjdk.org/jdk/pull/24561#issuecomment-2792355689


More information about the net-dev mailing list