Integrated: 8264734: Some SA classes could use better hashCode() implementation

Mitsuru Kariya github.com+2217224+kariya-mitsuru at openjdk.java.net
Mon May 17 09:54:10 UTC 2021


On Thu, 15 Apr 2021 15:44:15 GMT, Mitsuru Kariya <github.com+2217224+kariya-mitsuru at openjdk.org> wrote:

> The current `hashCode` implementation of SA's Address subclasses ignores the upper 32 bits of the long value.
> This PR changes to use `Long.hashCode` instead.

This pull request has now been integrated.

Changeset: a555fd89
Author:    Mitsuru Kariya <Mitsuru.Kariya at oss.nttdata.com>
Committer: Kevin Walls <kevinw at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a555fd89d040792d4de73ab67d86b171a38cfde6
Stats:     26 lines in 11 files changed: 0 ins; 6 del; 20 mod

8264734: Some SA classes could use better hashCode() implementation

Reviewed-by: cjplummer, kevinw

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

PR: https://git.openjdk.java.net/jdk/pull/3522


More information about the serviceability-dev mailing list