In the gc, heap sizes are typically rounded to some (rather abritrary) k/M/G values for better human consumption.
This introduces subtle rounding problems when calculating values from it (like number of promoted bytes being negative for no reason)
A possibility is to add an option to allow the size format output to always be written in bytes.
This feature may also be automatically enabled by other options like G1LogLevel=finest.
This introduces subtle rounding problems when calculating values from it (like number of promoted bytes being negative for no reason)
A possibility is to add an option to allow the size format output to always be written in bytes.
This feature may also be automatically enabled by other options like G1LogLevel=finest.
- relates to
-
JDK-8217315 Proper units should print more significant digits
-
- Resolved
-
-
JDK-8059805 JEP 271: Unified GC Logging
-
- Closed
-