On Sun, 25 Jun 2023 02:57:04 GMT, Chen Liang <li...@openjdk.org> wrote:
> 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 This pull request has now been integrated. Changeset: 07734f6d Author: Chen Liang <li...@openjdk.org> Committer: Adam Sotona <asot...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/07734f6dde2b29574b6ef98eeb9e007d8801a3ea Stats: 131 lines in 6 files changed: 39 ins; 19 del; 73 mod 8310848: Convert ClassDesc and MethodTypeDesc to be stored in static final fields Reviewed-by: asotona ------------- PR: https://git.openjdk.org/jdk/pull/14640