RFR: 8319773: Avoid inflating monitors when installing hash codes for LM_LIGHTWEIGHT [v4]
Axel Boldt-Christmas
aboldtch at openjdk.org
Fri Nov 17 08:16:00 UTC 2023
On Thu, 16 Nov 2023 19:15:06 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:
>> Axel Boldt-Christmas has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Move is_lock_owned closer to its only use
>
> src/hotspot/cpu/x86/sharedRuntime_x86.cpp line 68:
>
>> 66: __ testptr(result, markWord::monitor_value);
>> 67: __ jcc(Assembler::notZero, slowCase);
>> 68: } else {
>
> Not needed for other platforms? Or will that be done with other bugs or sub-tasks?
I only found that x86 and 32bit arm does this in the shared runtime. I can create a jbs entry for arm. If it is the case that other platform do this for C1, then I cannot find where.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16603#discussion_r1396843718
More information about the hotspot-dev
mailing list