Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8058221

Rounding in log output makes evaluation difficult

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 9
    • hotspot
    • gc

      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.

            Unassigned Unassigned
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: