-
Enhancement
-
Resolution: Fixed
-
P4
-
26
-
b03
There are a number of VM options controlling various size values related to the code cache and the code heap. They are declared in globals.hpp as being of type uintx. But the cpu definitions are not always consistent with that. Some platforms define them as uintx, some as size_t, and some as intx(!).
There are also some format strings using the wrong conversion spec when printing some of them. (It is because of these, found while investigating JDK-8198918, that I discovered the definition inconsistencies. Perhaps this issue should be categorized as a bug because of these incorrect format conversions.)
It would be better if these were all consistenly of type size_t, and use the "%zu" conversion spec when printing them.
There are also some format strings using the wrong conversion spec when printing some of them. (It is because of these, found while investigating JDK-8198918, that I discovered the definition inconsistencies. Perhaps this issue should be categorized as a bug because of these incorrect format conversions.)
It would be better if these were all consistenly of type size_t, and use the "%zu" conversion spec when printing them.
- links to
-
Commit(master) openjdk/jdk/7bc0d824
-
Review(master) openjdk/jdk/25791