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

Adam Sotona asotona at openjdk.org
Wed Jun 28 16:01:27 UTC 2023


On Wed, 28 Jun 2023 15:30:37 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 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

It looks good 👍

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

Marked as reviewed by asotona (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14640#pullrequestreview-1503464828


More information about the core-libs-dev mailing list