Integrated: 8300647: Miscellaneous hashCode improvements in java.base

Claes Redestad redestad at openjdk.org
Thu Jan 19 16:53:24 UTC 2023


On Thu, 19 Jan 2023 11:45:12 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> Went through the jdk and found a few more places where `ArraysSupport::vectorizedHashCode` can be used, and a few where adhoc methods could be replaced with a plain call to `java.util.Arrays` equivalents. This patch addresses that.
> 
> After this, #12068, and #12077 I think we're reaching the limit of sensible direct use of `AS::vectorizedHashCode`. I've found a few places outside of java.base where `vectorizedHashCode` might be applicable, but none that seem important enough to warrant an export of this method outside of java.base.

This pull request has now been integrated.

Changeset: d85243f0
Author:    Claes Redestad <redestad at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d85243f02b34d03bd7af63a5bcbc73f500f720df
Stats:     37 lines in 2 files changed: 1 ins; 31 del; 5 mod

8300647: Miscellaneous hashCode improvements in java.base

Reviewed-by: stsypanov, rriggs

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

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



More information about the security-dev mailing list