On Fri, 23 Jan 2026 15:50:08 GMT, Paul Hübner <[email protected]> wrote:

>> Tobias Hartmann has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Use markWord::no_hash
>
> src/hotspot/share/prims/jvm.cpp line 780:
> 
>> 778:     // Check if mark word contains hash code already
>> 779:     intptr_t hash = obj->mark().hash();
>> 780:     if (hash != 0) {
> 
> We have a `has_no_hash` which might be better instead. We actually use a 
> constant no hash value in the markWord (albeit it is zero right now).

Right, fixed.

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/1954#discussion_r2726484364

Reply via email to