Integrated: 8304928: Optimize ClassDesc.resolveConstantDesc

Chen Liang liach at openjdk.org
Fri Mar 31 17:49:27 UTC 2023


On Thu, 30 Mar 2023 20:06:02 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

This pull request has now been integrated.

Changeset: cccb0191
Author:    Chen Liang <liach at openjdk.org>
Committer: Mandy Chung <mchung at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cccb0191a3b18e2155e9202e5b5a694dc100121a
Stats:     95 lines in 2 files changed: 82 ins; 3 del; 10 mod

8304928: Optimize ClassDesc.resolveConstantDesc

Reviewed-by: mchung

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

PR: https://git.openjdk.org/jdk/pull/13252


More information about the core-libs-dev mailing list