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

Rounding in log output makes evaluation difficult

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: