RFR: 8367397: Improve naming and terminology in regmask.hpp and regmask.cpp [v5]
Daniel Lundén
dlunden at openjdk.org
Fri Sep 12 12:33:45 UTC 2025
On Fri, 12 Sep 2025 12:23:29 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> I vote for `RM_SIZE_IN_WORDS` because it is a constant, the same as if it was a value from an enum.
>
> Same as @dean-long : constants and enum values are generally `RM_SIZE_IN_WORDS`. Sometimes we also do `CamelCase`. Like for `LogBitsPerWord`. Underscore `_` is really only for fields.
Thanks, now updated
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27215#discussion_r2344100928
More information about the hotspot-compiler-dev
mailing list