The System.identityHashCodes for value classes with the same fields should have different identityHashCodes to avoid collisions.
Incorporating the hashCode of its class could provide differentiation.
Incorporating the hashCode of its class could provide differentiation.
- relates to
-
JDK-8252185 [lworld] Improve performance of identityHashCode for value objects
-
- In Progress
-