On Tue, 27 Jan 2026 23:12:34 GMT, Chen Liang <[email protected]> wrote:
>> For value objects, the ValueObjectMethods.valueObjectHashCodeAlt uses
>> System.identityHashCode for all referenced objects.
>
> src/java.base/share/classes/java/lang/runtime/ValueObjectMethods.java line
> 1467:
>
>> 1465: */
>> 1466: private static int valueObjectHashCodeAlt(Object obj) {
>> 1467: if (VERBOSE && obj != null) {
>
> Don't think we need this null check, we would crash right below. Without this
> check it is still a crash, no debug info is lost.
ok, I think the debug info can be removed with JDK-8372954.
-------------
PR Review Comment:
https://git.openjdk.org/valhalla/pull/1987#discussion_r2736721196