RFR: 8322770: Implement C2 VectorizedHashCode on AArch64 [v5]

Andrew Haley aph at openjdk.org
Fri Aug 23 07:57:05 UTC 2024


On Thu, 22 Aug 2024 15:53:26 GMT, Andrew Haley <aph at openjdk.org> wrote:

> 
> It's really not important, though.

I take that back. It _might_ be important because it enables optimization for short strings.
The average string in Java applications is about 32 characters long, so if we moved the block length down to 16 we'd get some benefit for typical java `String`s from this patch. It's not just about making the code compact and elegant, it's about real-world performance too.

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

PR Comment: https://git.openjdk.org/jdk/pull/18487#issuecomment-2306508397


More information about the hotspot-dev mailing list