RFR: 8310848: Convert ClassDesc and MethodTypeDesc to be stored in static final fields [v3]
Chen Liang
liach at openjdk.org
Mon Jun 26 12:15:11 UTC 2023
> This would encourage Classfile API users to use the descriptors as constants, which can improve performance by avoiding repeated validation and reusing cached descriptor strings for MethodTypeDesc. This patch updates usages in the main codebase and benchmarks; tests are left untouched.
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 three additional commits since the last revision:
- Merge branch 'master' into fix/cd-usage
- Fix build
- 8310848: Convert ClassDesc and MethodTypeDesc to be stored in static final fields
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14640/files
- new: https://git.openjdk.org/jdk/pull/14640/files/82442aac..04cec5e9
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14640&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14640&range=01-02
Stats: 332 lines in 30 files changed: 129 ins; 20 del; 183 mod
Patch: https://git.openjdk.org/jdk/pull/14640.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14640/head:pull/14640
PR: https://git.openjdk.org/jdk/pull/14640
More information about the core-libs-dev
mailing list