On Thu, 19 Jan 2023 11:45:12 GMT, Claes Redestad <redes...@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 <redes...@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

Reply via email to