On Fri, 19 Apr 2024 12:02:43 GMT, Nizar Benalla <d...@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.bena...@oracle.com> Committer: Jaikiran Pai <j...@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