Integrated: 8316587: Use ArraysSupport.vectorizedHashCode in Utf8EntryImpl

Chen Liang liach at openjdk.org
Fri Oct 20 07:39:45 UTC 2023


On Wed, 20 Sep 2023 09:17:24 GMT, Chen Liang <liach at openjdk.org> wrote:

> Like #12077, this uses JDK's internal utilities to speed up ASCII reading in Class files, where most identifiers, from conventions to attribute names, are ASCII. See the JBS issue for more in-depth explanations.
> 
> Before: (Master)
> 
> Benchmark                         Mode  Cnt    Score   Error  Units
> ReadMetadata.jdkReadMemberNames  thrpt    4  167.623 ± 8.522  ops/s
> 
> 
> After: (This patch, first revision)
> 
> Benchmark                         Mode  Cnt    Score   Error  Units
> ReadMetadata.jdkReadMemberNames  thrpt    4  175.908 ± 4.766  ops/s

This pull request has now been integrated.

Changeset: 4812caba
Author:    Chen Liang <liach at openjdk.org>
Committer: Adam Sotona <asotona at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4812cabaa489e99481facddce69686a9fee29c44
Stats:     48 lines in 2 files changed: 24 ins; 13 del; 11 mod

8316587: Use ArraysSupport.vectorizedHashCode in Utf8EntryImpl

Reviewed-by: asotona, redestad

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

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


More information about the core-libs-dev mailing list