Integrated: 8310848: Convert ClassDesc and MethodTypeDesc to be stored in static final fields
Chen Liang
liach at openjdk.org
Thu Jun 29 12:36:04 UTC 2023
On Sun, 25 Jun 2023 02:57:04 GMT, Chen Liang <liach at 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 <liach at openjdk.org>
Committer: Adam Sotona <asotona at 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
More information about the core-libs-dev
mailing list