RFR: 8372845: C2: Fold identity hash code if object is constant [v6]
Chen Liang
liach at openjdk.org
Tue Jan 27 07:15:12 UTC 2026
On Tue, 27 Jan 2026 06:51:54 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Use UpperCamelCase
>
> test/hotspot/jtreg/compiler/intrinsics/object/IdentityHashCodeFold.java line 37:
>
>> 35: * @summary Verify constant folding is possible for identity hash code
>> 36: * @library /test/lib /
>> 37: * @requires vm.compiler2.enabled
>
> Drive-by comment:
> Do you really need this restriction? IR rules are only executed if C2 is available anyway.
Well, the plain test isn't that meaningful without C2. https://github.com/openjdk/jdk/pull/28589#discussion_r2615925589
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28589#discussion_r2730577795
More information about the hotspot-runtime-dev
mailing list