RFR: 8342962: [s390x] TestOSRLotsOfLocals.java crashes [v2]

Amit Kumar amitkumar at openjdk.org
Fri Oct 25 15:14:07 UTC 2024


On Fri, 25 Oct 2024 13:52:12 GMT, Lutz Schmidt <lucy at openjdk.org> wrote:

>> Amit Kumar has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   comments from Lutz
>
> src/hotspot/cpu/s390/c1_LIRAssembler_s390.cpp line 139:
> 
>> 137:     const int locals_space = BytesPerWord * method() -> max_locals();
>> 138:     int monitor_offset = locals_space + (2 * BytesPerWord) * (number_of_locks - 1);
>> 139:     bool handled_manually = false;
> 
> Sorry, another idea (no need to accept it):
> 
>   bool large_offset = ! Immediate::is_simm20(monitor_offset + BytesPerWord) && number_of_locks > 0;
> 
>   if (large_offset) {
> . . .

done 🙂

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21703#discussion_r1816891970


More information about the hotspot-compiler-dev mailing list