> 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. > > See https://mail.openjdk.org/pipermail/classfile-api-dev/2023-June/000378.html
Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains six commits: - Revert irrelevant changes - Merge branch 'master' into fix/cd-usage - Merge branch 'master' into fix/cd-usage - Merge branch 'master' into fix/cd-usage - Fix build - 8310848: Convert ClassDesc and MethodTypeDesc to be stored in static final fields ------------- Changes: https://git.openjdk.org/jdk/pull/14640/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14640&range=04 Stats: 131 lines in 6 files changed: 39 ins; 19 del; 73 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