Integrated: 8338546: Speed up ConstantPoolBuilder::classEntry(ClassDesc)

Chen Liang liach at openjdk.org
Tue Sep 24 14:30:45 UTC 2024


On Wed, 21 Aug 2024 22:27:02 GMT, Chen Liang <liach at openjdk.org> wrote:

> Speed up `ConstantPoolBuilder::classEntry(ClassDesc)` by going through `ClassDesc` comparison and reusing descriptor hash to calculate internal name hash if possible. No suitable device to run benchmarks so need to find something to run the new benchmark to ensure things work as intended.

This pull request has now been integrated.

Changeset: caa751c5
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/caa751c561f55bc59a6195a947d7b75515b5d2c0
Stats:     689 lines in 7 files changed: 594 ins; 42 del; 53 mod

8338546: Speed up ConstantPoolBuilder::classEntry(ClassDesc)

Reviewed-by: asotona, redestad

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

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


More information about the core-libs-dev mailing list