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

Nizar Benalla duke at openjdk.org
Tue Apr 23 07:21:43 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

This pull request has now been integrated.

Changeset: 89610770
Author:    Nizar Benalla <nizar.benalla at oracle.com>
Committer: Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/896107705615a3b9363b7a0a3e6703b20fedef70
Stats:     4 lines in 1 file changed: 1 ins; 0 del; 3 mod

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

Reviewed-by: pminborg, jpai

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

PR: https://git.openjdk.org/jdk/pull/18862


More information about the net-dev mailing list