There are various styles for naming private static constants in ZGC. Some have a leading underscore, some begin with a lowercase letter and some start with an uppercase letter. The convention we feel is the most appropriate, which also aligns with the hotspot style guide, is to have mixed-case with the first letter of each word capitalized when naming private static constants. There are also some occurrences of writing "const static" instead of the more commonly used "static const", which should be made consistent to have the static keyword appear first.
- links to
-
Commit(master) openjdk/jdk/8908812d
-
Review(master) openjdk/jdk/20968