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

[TESTBUG]gc/g1/mixedgc/TestOldGenCollectionUsage.java fails intermittently with OutOfMemoryError in CDS mode

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b12

      Description

      gc/g1/mixedgc/TestOldGenCollectionUsage.java fails intermittently with OutOfMemoryError when running with CDS enabled.

      [0.028s][info][gc] Using G1
      Monitor G1 Old Gen pool with G1 Young Generation collector.
      Found pool: G1 Old Gen
      Found collector: G1 Young Generation
      [39.355s][info][gc] GC(0) Pause Young (Normal) (G1 Evacuation Pause) 5M->2M(12M) 57.183ms
      [39.392s][info][gc] GC(1) Pause Young (Normal) (G1 Evacuation Pause) 3M->3M(12M) 35.974ms
      [39.394s][info][gc] GC(2) Pause Young (Normal) (G1 Evacuation Pause) 4M->5M(12M) 1.331ms
      [39.396s][info][gc] GC(3) Pause Young (Normal) (WhiteBox Initiated Young GC) 6M->6M(12M) 1.750ms
      [39.399s][info][gc] GC(4) Pause Young (Normal) (WhiteBox Initiated Young GC) 6M->6M(12M) 1.342ms
      G1 Old Gen: usage after GC = 0
      G1 Young Generation: collection count = 5
      G1 Young Generation: collection time = 96
      [40.295s][info][gc] GC(5) Pause Young (Concurrent Start) (WhiteBox Initiated Concurrent Mark) 6M->6M(12M) 2.016ms
      [40.296s][info][gc] GC(6) Concurrent Cycle
      [40.368s][info][gc] GC(6) Pause Remark 6M->6M(12M) 60.726ms
      [40.377s][info][gc] GC(6) Pause Cleanup 6M->6M(12M) 0.138ms
      [40.378s][info][gc] GC(6) Concurrent Cycle 82.068ms
      [40.381s][info][gc] GC(7) Pause Young (Prepare Mixed) (WhiteBox Initiated Young GC) 6M->6M(12M) 2.505ms
      Allocating new objects to provoke mixed GC
      [40.383s][info][gc] GC(8) Pause Young (Mixed) (G1 Evacuation Pause) 7M->6M(12M) 1.609ms
      [40.402s][info][gc] GC(9) Pause Young (Mixed) (G1 Evacuation Pause) 7M->6M(12M) 18.973ms
      [40.436s][info][gc] GC(10) To-space exhausted
      [40.436s][info][gc] GC(10) Pause Young (Mixed) (G1 Evacuation Pause) 8M->10M(12M) 33.323ms
      [40.572s][info][gc] GC(11) Pause Full (G1 Evacuation Pause) 10M->7M(12M) 133.504ms
      [40.574s][info][gc] GC(12) Pause Young (Normal) (G1 Evacuation Pause) 8M->8M(12M) 0.861ms
      [40.812s][info][gc] GC(13) To-space exhausted
      [40.812s][info][gc] GC(13) Pause Young (Normal) (G1 Evacuation Pause) 9M->9M(12M) 3.171ms
      [40.942s][info][gc] GC(14) Pause Full (G1 Evacuation Pause) 9M->9M(12M) 129.230ms
      [41.068s][info][gc] GC(15) Pause Full (G1 Evacuation Pause) 9M->9M(12M) 124.669ms
      [41.070s][info][gc] GC(16) Pause Young (Normal) (G1 Evacuation Pause) 9M->9M(12M) 0.881ms
      [41.209s][info][gc] GC(17) Pause Full (G1 Evacuation Pause) 9M->9M(12M) 138.452ms
      [41.335s][info][gc] GC(18) Pause Full (G1 Evacuation Pause) 9M->9M(12M) 125.504ms
      [41.337s][info][gc] GC(19) Pause Young (Normal) (G1 Evacuation Pause) 9M->9M(12M) 0.728ms
      [41.460s][info][gc] GC(20) Pause Full (G1 Evacuation Pause) 9M->9M(12M) 121.937ms
      [41.572s][info][gc] GC(21) Pause Full (G1 Evacuation Pause) 9M->9M(12M) 112.300ms
      [41.574s][info][gc] GC(22) Pause Young (Normal) (G1 Evacuation Pause) 9M->9M(12M) 0.874ms
      [41.734s][info][gc] GC(23) Pause Full (G1 Evacuation Pause) 9M->9M(12M) 159.758ms
      [41.867s][info][gc] GC(24) Pause Full (G1 Evacuation Pause) 9M->9M(12M) 132.231ms
      [41.870s][info][gc] GC(25) Pause Young (Normal) (G1 Evacuation Pause) 9M->9M(12M) 1.038ms
      [42.013s][info][gc] GC(26) Pause Full (G1 Evacuation Pause) 9M->9M(12M) 142.617ms
      [42.155s][info][gc] GC(27) Pause Full (G1 Evacuation Pause) 9M->9M(12M) 141.286ms
      [42.157s][info][gc] GC(28) Pause Young (Normal) (G1 Evacuation Pause) 9M->9M(12M) 1.221ms
      [42.295s][info][gc] GC(29) Pause Full (G1 Evacuation Pause) 9M->9M(12M) 137.493ms
      [42.433s][info][gc] GC(30) Pause Full (G1 Evacuation Pause) 9M->9M(12M) 136.979ms
      [42.437s][info][gc] GC(31) Pause Young (Normal) (G1 Evacuation Pause) 9M->9M(12M) 3.065ms
      [42.570s][info][gc] GC(32) Pause Full (G1 Evacuation Pause) 9M->2M(12M) 132.926ms
      ----------System.err:(6/249)----------
      java.lang.OutOfMemoryError: Java heap space

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jiangli Jiangli Zhou
                Reporter:
                jiangli Jiangli Zhou
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: