RFR: 8294960: Convert java.base/java.lang.invoke package to use the Classfile API to generate lambdas and method handles [v13]
Adam Sotona
asotona at openjdk.org
Fri May 24 16:24:13 UTC 2024
> java.base java.lang.invoke package heavily uses ASM to generate lambdas and method handles.
>
> This patch converts ASM calls to Classfile API.
>
> This PR is continuation of https://github.com/openjdk/jdk/pull/12945
>
> Any comments and suggestions are welcome.
>
> Please review.
>
> Thank you,
> Adam
Adam Sotona has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 23 commits:
- Merge branch 'master' into JDK-8294960-invoke
# Conflicts:
# src/java.base/share/classes/java/lang/classfile/Attributes.java
- fixed CodeBuilder use in j.l.invoke
- Merge branch 'master' into JDK-8294960-invoke
- Merge pull request #4 from cl4es/boxunbox_holder
Only create box/unbox MethodRefEntries on request
- Only create box/unbox MethodRefEntries on request
- Merge pull request #3 from cl4es/minor_init_improvements
Reduce init overhead of InvokeBytecodeGenerator and StackMapGenerator
- Remove stray MRE_LF_interpretWithArguments
- Reduce init overhead of InvokeBytecodeGenerator and StackMapGenerator
- Deferred initialization of attributes map by moving into a holder class
Co-authored-by: Claes Redestad <redestad at openjdk.org>
- Merge branch 'master' into JDK-8294960-invoke
- ... and 13 more: https://git.openjdk.org/jdk/compare/cfdc64fc...e1dbabcb
-------------
Changes: https://git.openjdk.org/jdk/pull/17108/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17108&range=12
Stats: 2113 lines in 10 files changed: 422 ins; 861 del; 830 mod
Patch: https://git.openjdk.org/jdk/pull/17108.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17108/head:pull/17108
PR: https://git.openjdk.org/jdk/pull/17108
More information about the core-libs-dev
mailing list