RFR: 8338545: Functional interface implementations for common pre-boot ClassFile operations [v3]
Chen Liang
liach at openjdk.org
Tue Aug 20 17:10:56 UTC 2024
> Some ad-hoc lambdas and classes for functional calls to ClassFile API in early bootstrap can be replaced with a few fixed factories. This allows some methods to be used at early bootstrap with less class loading costs.
>
> Depends on #20627, as this adds another fix to one of the fixes there on `ClassBuilder::withMethodBody(String, MethodTypeDesc, int, Consumer)`.
Chen Liang 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 four additional commits since the last revision:
- Merge branch 'master' into feature/cf-shared-lambdas
- Sneaky import
- 8338545: Functional interface implementations for common pre-boot ClassFile operations
- 8338543: ClassBuilder withMethod builders should cache the method type symbol
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/20629/files
- new: https://git.openjdk.org/jdk/pull/20629/files/07b93802..97a3eed7
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=20629&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=20629&range=01-02
Stats: 928 lines in 45 files changed: 698 ins; 56 del; 174 mod
Patch: https://git.openjdk.org/jdk/pull/20629.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20629/head:pull/20629
PR: https://git.openjdk.org/jdk/pull/20629
More information about the core-libs-dev
mailing list