RFR: 8294982: Implementation of Classfile API [v12]
Adam Sotona
asotona at openjdk.org
Thu Feb 9 17:21:01 UTC 2023
On Tue, 7 Feb 2023 11:48:52 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> Yes, performance is the main reason.
>> I'll note to do a fresh differential performance benchmarks with a HashMap.
>
> thanks
I tried HashMap with String keys and it cause performance regressions, however with Utf8Entry initialized with raw Attribute name as the HashMap key - there are no performance regressions.
I'm going to push a patch removing all the manually computed HASH_ values and fragile inlined HashMap implementation.
-------------
PR: https://git.openjdk.org/jdk/pull/10982
More information about the build-dev
mailing list