RFR: 8304928: Optimize ClassDesc.resolveConstantDesc [v2]
Chen Liang
liach at openjdk.org
Fri Mar 31 02:27:05 UTC 2023
> 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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/13252/files
- new: https://git.openjdk.org/jdk/pull/13252/files/960cbff9..c347939e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=13252&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=13252&range=00-01
Stats: 221 lines in 4 files changed: 16 ins; 190 del; 15 mod
Patch: https://git.openjdk.org/jdk/pull/13252.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13252/head:pull/13252
PR: https://git.openjdk.org/jdk/pull/13252
More information about the core-libs-dev
mailing list