Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8276094 Region Pinning in G1
  3. JDK-8278287

G1: Extend the gc+heap=debug messages to also show the number of failed regions of that category

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
      gc

      Description

      Extend the gc+heap=debug messages to also show the number of failed regions of that category.

      E.g. for these messages
      ```
      [1.912s][info ][gc,heap ] GC(0) Eden regions: 64->0(56)
      [1.912s][info ][gc,heap ] GC(0) Survivor regions: 0->8(8)
      [1.912s][info ][gc,heap ] GC(0) Old regions: 0->56
      [1.912s][info ][gc,heap ] GC(0) Archive regions: 2->2
      [1.912s][info ][gc,heap ] GC(0) Humongous regions: 5->5
      ```

      to add something like

      ```
      [1.912s][info ][gc,heap ] GC(0) Eden regions: 64->0(56) [0]
      [1.912s][info ][gc,heap ] GC(0) Survivor regions: 0->8(8) [3]
      [1.912s][info ][gc,heap ] GC(0) Old regions: 0->56 [2]
      [1.912s][info ][gc,heap ] GC(0) Archive regions: 2->2 [0]
      [1.912s][info ][gc,heap ] GC(0) Humongous regions: 5->5 [2]
      ```



      This is one of the follow-up tasks discussed at :
       - https://github.com/openjdk/jdk/pull/6627#pullrequestreview-821445879, and
       - https://github.com/openjdk/jdk/pull/6627#issuecomment-985478359

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mli Hamlin Li
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: