RFR: 8350607: Consolidate MethodHandles::zero into MethodHandles::constant

Chen Liang liach at openjdk.org
Mon Feb 24 22:56:03 UTC 2025


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.

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

Commit messages:
 - Years, roll back unrelated changes
 - Simplify constant making
 - Years
 - Eliminate zero form
 - Special LF treatment for MHs.constant

Changes: https://git.openjdk.org/jdk/pull/23706/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23706&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8350607
  Stats: 260 lines in 9 files changed: 86 ins; 116 del; 58 mod
  Patch: https://git.openjdk.org/jdk/pull/23706.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23706/head:pull/23706

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


More information about the core-libs-dev mailing list