[lworld] RFR: 8376171: [lworld] Enable storing the hash code in the mark word of value objects [v3]
Tobias Hartmann
thartmann at openjdk.org
Tue Jan 27 14:10:06 UTC 2026
On Tue, 27 Jan 2026 13:59:55 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:
>> I took this from `ObjectSynchronizer::FastHashCode` but I can convert it back to `mark()` if you think it's not needed.
>
> I "think" `ObjectSynchronizer::FastHashCode` needs it to "acquire" the monitor object in the else branch inside that function.
Right, I also think the acquire is not needed here. I changed it back.
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/1954#discussion_r2732178102
More information about the valhalla-dev
mailing list