RFR: 8294960: Convert java.base/java.lang.invoke package to use the Classfile API to generate lambdas and method handles [v6]

Adam Sotona asotona at openjdk.org
Wed Apr 17 15:21:32 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 incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 12 additional commits since the last revision:

 - applied suggested changes
 - Merge branch 'master' into JDK-8294960-invoke
 - Reversion of ClassBuilder changes
 - Merge branch 'master' into JDK-8294960-invoke
 - Apply suggestions from code review
   
   Co-authored-by: liach <7806504+liach at users.noreply.github.com>
 - Apply suggestions from code review
   
   Co-authored-by: liach <7806504+liach at users.noreply.github.com>
 - added missing comment
 - fixed InnerClassLambdaMetafactory for hidden caller classes
 - performance improvements
 - consolidation of descriptors handling
 - ... and 2 more: https://git.openjdk.org/jdk/compare/5270f351...304054b9

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17108/files
  - new: https://git.openjdk.org/jdk/pull/17108/files/500bb8f0..304054b9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17108&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17108&range=04-05

  Stats: 34095 lines in 899 files changed: 18206 ins; 9917 del; 5972 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