RFR: 8310848: Convert ClassDesc and MethodTypeDesc to be stored in static final fields [v4]

Chen Liang liach at openjdk.org
Wed Jun 28 15:33:10 UTC 2023


On Tue, 27 Jun 2023 14:20:20 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
>
> Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:
> 
>  - 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

I have reverted the changes to SystemModulesPlugin and Write. Can you review this patch again?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14640#issuecomment-1611654121


More information about the core-libs-dev mailing list