On Mon, 21 Sep 2026 11:05:26 GMT, Chen Liang <[email protected]> wrote:

>> The identity hash code of value objects currently can produce 0. A zero 
>> value is usually not anticipated for System.identityHashCode calls unless 
>> the argument is null; the 0 hash also cannot be cached. Thus, we should move 
>> away from the 0 hash.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Chen Liang has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Remove useless java.management

Thanks!

I'd just like a hint about where a test for the runtime implementation should 
live, and what it should look like. Do I just write a "normal" test with -Xint 
in the flags?

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

PR Comment: https://git.openjdk.org/jdk/pull/32660#issuecomment-5796029387

Reply via email to