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

Humongous Reclaimed log output may be confusing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 9, 10
    • hotspot
    • gc
    • b21

      The output of gc+phases=trace contains a line showing the number of regions reclaimed.

      However the corresponding sub-items of Humongous Register show counts in number of objects. This is confusing e.g. in:

      [267.722s][debug][gc,phases ] GC(486) Humongous Register: 0.1ms
      [267.722s][trace][gc,phases ] GC(486) Humongous Total: 73
      [267.722s][trace][gc,phases ] GC(486) Humongous Candidate: 73
      [...]
      [267.722s][debug][gc,phases ] GC(486) Humongous Reclaim: 1.4ms
      [267.722s][trace][gc,phases ] GC(486) Humongous Reclaimed: 221

      I.e. the value printed for the latter message is higher than the value for the initially found.

      Since we already print the number of region difference in gc+heap for humongous regions, so it might be more useful to print the number of objects here as well.

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

              Created:
              Updated:
              Resolved: