RFR: 8309259: Reduce calls to MethodHandles.lookup() in jdk.internal.net.http.Stream

Per Minborg pminborg at openjdk.org
Tue Apr 23 06:27:27 UTC 2024


On Fri, 19 Apr 2024 12:02:43 GMT, Nizar Benalla <duke at openjdk.org> wrote:

> Please review this simple enhancement that is just reducing the number of times we call the `MethodHandles.lookup()` method, as it can be a bit slow.
> Passes tier 1-3
> 
> TIA

Nice cleanup. LGTM.

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

Marked as reviewed by pminborg (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18862#pullrequestreview-2016337671


More information about the net-dev mailing list