RFR: 8304928: Optimize ClassDesc.resolveConstantDesc [v2]

Mandy Chung mchung at openjdk.org
Fri Mar 31 04:11:14 UTC 2023


On Fri, 31 Mar 2023 02:27:05 GMT, Chen Liang <liach at openjdk.org> wrote:

>> This patch optimizes ClassDesc.resolveConstantDesc for array classes. Otherwise, the performance of reference class resolution remain unchanged.
>> 
>> A benchmark comparing resolution for reference arrays, primitive arrays, and class or interfaces is included in this patch, and the result comparison on my machine is available at https://jmh.morethan.io/?gists=21c462f4879f6166b3308a41c092d51e,1aeae6ff40a129f89dbfedcb874cfd37
>
> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update per review, will post new benchmark results

Looks good.  The new benchmark is cleaner.

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

Marked as reviewed by mchung (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13252#pullrequestreview-1366221429


More information about the core-libs-dev mailing list