RFR: 8369238: Allow virtual thread preemption on some common class initialization paths [v12]
Patricio Chilano Mateo
pchilanomate at openjdk.org
Mon Nov 3 19:03:08 UTC 2025
On Mon, 3 Nov 2025 18:34:59 GMT, Richard Reingruber <rrich at openjdk.org> wrote:
>> Patricio Chilano Mateo has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Improve comment and assert msg
>
> src/hotspot/cpu/ppc/macroAssembler_ppc.cpp line 764:
>
>> 762: addi(regs[i], regs[0], regs[i]->encoding());
>> 763: }
>> 764: addi(regs[0], regs[0], regs[0]->encoding());
>
> Based on @fbredber's suggestion:
> Suggestion:
>
> load_const_optimized(bad, 0xbad0101babe00000);
> for (int i = (sizeof(regs) / sizeof(Register)) - 1; i >= 0; i--) {
> addi(regs[i], bad, regs[i]->encoding());
> }
Done.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27802#discussion_r2487538760
More information about the hotspot-dev
mailing list