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

Daniel Lundén dlunden at openjdk.org
Fri Sep 12 08:02:22 UTC 2025


On Fri, 12 Sep 2025 05:48:39 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> src/hotspot/share/opto/regmask.hpp line 66:
>> 
>>> 64: 
>>> 65:   static const unsigned int _WordBitMask = BitsPerWord - 1U;
>>> 66:   static const unsigned int _LogWordBits = LogBitsPerWord;
>> 
>> What about just replacing all uses of _LogWordBits with LogBitsPerWord?
>
> Yes, that would be a good step in the right direction.

Sure, sounds good

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

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


More information about the hotspot-compiler-dev mailing list