RFR: 8350607: Consolidate MethodHandles::zero into MethodHandles::constant
Chen Liang
liach at openjdk.org
Mon Feb 24 22:56:04 UTC 2025
On Thu, 20 Feb 2025 02:33:59 GMT, Chen Liang <liach at openjdk.org> wrote:
> LF editor spins classes, this avoids the spinning overhead and should speed up non-capturing lambdas too.
>
> There may need to be additional intrinsic work for MH combinator lf bytecode generation.
I think this version should be fine: Perfstartup-LambdaNoop's `MethodHandle.constant` instructions have decreased from 99032 to 48507 by eliding the generation of a LF via LambdaFormEditor. Tests seem to be fine too.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23706#issuecomment-2679834729
More information about the core-libs-dev
mailing list