RFR: 8294960: Convert java.base/java.lang.invoke package to use the Classfile API to generate lambdas and method handles
Adam Sotona
asotona at openjdk.org
Fri Dec 15 12:11:59 UTC 2023
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
-------------
Commit messages:
- fixed InnerClassLambdaMetafactory for hidden caller classes
- performance improvements
- consolidation of descriptors handling
- InvokerBytecodeGenerator::emit... improvements
- 8294960: Convert java.base/java.lang.invoke package to use the Classfile API to generate lambdas and method handlers
Changes: https://git.openjdk.org/jdk/pull/17108/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17108&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8294960
Stats: 2142 lines in 13 files changed: 443 ins; 859 del; 840 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