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

Wrong reporting of eden/survivor capacity after GC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • gc

      VM prints inadequate amount of eden and survivor capacity after GC.

      VM options: -XX:MaxGCPauseMillis=10000 -XX:GCPauseIntervalMillis=100000000

      Log contains:
      [1,287s][info ][gc,heap ] GC(4) Eden: 79872K->0K(23367048192K)
      [1,287s][info ][gc,heap ] GC(4) Survivor: 1024K->16384K(2604452864K)

      Sizes of eden and survivor are wrong.

      Log:
      [0.026s][info ][gc] Using G1
      [0,331s][info ][gc,start] GC(0) Pause Young (G1 Evacuation Pause) (0,331s)
      [0,341s][info ][gc,heap ] GC(0) Eden: 5120K->0K(56320K)
      [0,341s][info ][gc,heap ] GC(0) Survivor: 0K->1024K(1024K)
      [0,341s][info ][gc,heap ] GC(0) Old: 0K->0K
      [0,341s][info ][gc,heap ] GC(0) Humongous: 0K->0K
      [0,341s][info ][gc,metaspace] GC(0) Metaspace: 3165K->3165K(1056768K)
      [0,341s][info ][gc ] GC(0) Pause Young (G1 Evacuation Pause) 5M->0M(94M) (0,331s, 0,341s) 9,543ms
      [0,341s][info ][gc,cpu ] GC(0) User=0,05s Sys=0,00s Real=0,01s
      [0,630s][info ][gc,start ] GC(1) Pause Young (G1 Evacuation Pause) (0,630s)
      [0,703s][info ][gc,heap ] GC(1) Eden: 56320K->0K(15360K)
      [0,703s][info ][gc,heap ] GC(1) Survivor: 1024K->7168K(7168K)
      [0,703s][info ][gc,heap ] GC(1) Old: 0K->5120K
      [0,703s][info ][gc,heap ] GC(1) Humongous: 0K->0K
      [0,703s][info ][gc,metaspace] GC(1) Metaspace: 3226K->3226K(1056768K)
      [0,703s][info ][gc ] GC(1) Pause Young (G1 Evacuation Pause) 55M->11M(94M) (0,630s, 0,703s) 72,783ms
      [0,703s][info ][gc,cpu ] GC(1) User=0,39s Sys=0,06s Real=0,07s
      [0,750s][info ][gc,start ] GC(2) Pause Young (G1 Evacuation Pause) (0,750s)
      [0,812s][info ][gc,heap ] GC(2) Eden: 15360K->0K(1024K)
      [0,812s][info ][gc,heap ] GC(2) Survivor: 7168K->3072K(3072K)
      [0,812s][info ][gc,heap ] GC(2) Old: 5120K->12288K
      [0,812s][info ][gc,heap ] GC(2) Humongous: 0K->0K
      [0,812s][info ][gc,metaspace] GC(2) Metaspace: 3234K->3234K(1056768K)
      [0,812s][info ][gc ] GC(2) Pause Young (G1 Evacuation Pause) 26M->14M(94M) (0,750s, 0,812s) 61,689ms
      [0,812s][info ][gc,cpu ] GC(2) User=0,43s Sys=0,02s Real=0,06s
      [0,817s][info ][gc,start ] GC(3) Pause Young (G1 Evacuation Pause) (0,817s)
      [0,886s][info ][gc,heap ] GC(3) Eden: 1024K->0K(20835616768K)
      [0,886s][info ][gc,heap ] GC(3) Survivor: 3072K->1024K(1024K)
      [0,886s][info ][gc,heap ] GC(3) Old: 12288K->15360K
      [0,886s][info ][gc,heap ] GC(3) Humongous: 0K->0K
      [0,886s][info ][gc,metaspace] GC(3) Metaspace: 3234K->3234K(1056768K)
      [0,887s][info ][gc ] GC(3) Pause Young (G1 Evacuation Pause) 15M->15M(94M) (0,817s, 0,887s) 69,599ms
      [0,887s][info ][gc,cpu ] GC(3) User=0,42s Sys=0,04s Real=0,06s
      [1,197s][info ][gc,start ] GC(4) Pause Young (G1 Evacuation Pause) (1,197s)
      [1,287s][info ][gc,heap ] GC(4) Eden: 79872K->0K(23367048192K)
      [1,287s][info ][gc,heap ] GC(4) Survivor: 1024K->16384K(2604452864K)
      [1,287s][info ][gc,heap ] GC(4) Old: 15360K->15360K
      [1,287s][info ][gc,heap ] GC(4) Humongous: 0K->0K
      [1,287s][info ][gc,metaspace] GC(4) Metaspace: 3235K->3235K(1056768K)
      [1,287s][info ][gc ] GC(4) Pause Young (G1 Evacuation Pause) 93M->30M(323M) (1,197s, 1,287s) 90,412ms
      [1,287s][info ][gc,cpu ] GC(4) User=0,56s Sys=0,01s Real=0,08s

            aharlap Alexander Harlap (Inactive)
            mchernov Michail Chernov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: