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

Improve cause printout for G1 Full GC

XMLWordPrintable

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

      Currently at the end of full gc we print something like

      Pause Full (G1 Compaction Pause)

      at the end of GC regardless of the cause for that compaction. This makes it hard to understand why that full gc has been triggered.

      Even for maximum compaction full gcs, we print the same reason.

      It would be nice if we tagged the full gcs better with e.g. whether they were caused by regular allocation/gc, humongous allocation, or the reason has been that maximum compaction.

      One option could be adding another tag, like

      Pause Full (G1 Compaction Pause) (G1 Humongous Allocation) (in case of humongous allocation)
      Pause Full (G1 Compaction Pause) (G1 Maximum Compaction)

      or just use a single tag

      Pause Full (G1 Maximum Compaction Pause)

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

              Created:
              Updated: