RFR: 8367397: Improve naming and terminology in regmask.hpp and regmask.cpp [v7]

Daniel Lundén dlunden at openjdk.org
Mon Sep 15 11:46:57 UTC 2025


On Sat, 13 Sep 2025 04:46:28 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> src/hotspot/share/opto/regmask.hpp line 173:
>> 
>>> 171:   }
>>> 172: 
>>> 173:   void set_infinite() {
>> 
>> Suggestion:
>> 
>>   void set_infinite_stack() {
>> 
>> For consistency with `is_infinite_stack()`.
>
> Yes, it should be `set_infinite_stack` in parallel with `is_infinite_stack`, nice catch!

Good catch, now updated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27215#discussion_r2348729018


More information about the hotspot-compiler-dev mailing list