On Mon, 9 Sep 2024 23:52:41 GMT, Claes Redestad <redes...@openjdk.org> wrote:

> Switching to `invokeBasic` for type-checked invokes in 
> `BootstrapMethodInvokers` instead of `invokeExact` avoids some 
> `MethodHandleNatives.linkMethod` calls during bootstrap. This brings a tiny 
> but measurable once-per-bootstrap method win. Both before and after we lean 
> on the static casts in BootstrapMethodInvokers to sanitize against type 
> mismatches.

This pull request has now been integrated.

Changeset: 0d8e52b3
Author:    Claes Redestad <redes...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/0d8e52b382432674533c9b80565eadf39ae83c64
Stats:     6 lines in 1 file changed: 0 ins; 0 del; 6 mod

8339800: Prefer invokeBasic in BootstrapMethodInvokers

Reviewed-by: jvernee

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

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

Reply via email to