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

Too aggressive sweeping with Loom

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 20
    • repo-loom
    • hotspot
    • gc
    • b03

    Description

      Test gc/g1/mixedgc/TestOldGenCollectionUsage.java fails with

      [0.010s][info][gc] Using G1
      [5.052s][info][gc] GC(0) Pause Young (Concurrent Start) (CodeCache GC Threshold) 1M->1M(14M) 3.708ms
      [5.052s][info][gc] GC(1) Concurrent Mark Cycle
      [5.066s][info][gc] GC(1) Pause Remark 1M->1M(14M) 8.189ms
      [5.068s][info][gc] GC(1) Pause Cleanup 1M->1M(14M) 0.035ms
      [5.068s][info][gc] GC(1) Concurrent Mark Cycle 16.038ms
      [7.044s][info][gc] GC(2) Pause Young (Concurrent Start) (CodeCache GC Threshold) 1M->1M(14M) 1.564ms
      [7.044s][info][gc] GC(3) Concurrent Mark Cycle
      [7.063s][info][gc] GC(3) Pause Remark 1M->1M(14M) 12.511ms
      [7.065s][info][gc] GC(3) Pause Cleanup 1M->1M(14M) 0.038ms
      [7.065s][info][gc] GC(3) Concurrent Mark Cycle 21.037ms
      [7.305s][info][gc] GC(4) Pause Young (Concurrent Start) (CodeCache GC Threshold) 1M->1M(14M) 1.199ms
      [7.305s][info][gc] GC(5) Concurrent Mark Cycle
      [7.323s][info][gc] GC(5) Pause Remark 1M->1M(14M) 10.848ms
      [7.325s][info][gc] GC(5) Pause Cleanup 1M->1M(14M) 0.046ms
      [7.325s][info][gc] GC(5) Concurrent Mark Cycle 19.865ms
      [7.359s][info][gc] GC(6) Pause Young (Concurrent Start) (CodeCache GC Threshold) 1M->1M(14M) 0.477ms
      [7.359s][info][gc] GC(7) Concurrent Mark Cycle
      [7.376s][info][gc] GC(7) Pause Remark 1M->1M(14M) 11.692ms
      [7.377s][info][gc] GC(7) Pause Cleanup 1M->1M(14M) 0.041ms
      [7.378s][info][gc] GC(7) Concurrent Mark Cycle 18.961ms
      [11.401s][info][gc] GC(8) Pause Young (Concurrent Start) (CodeCache GC Threshold) 1M->1M(14M) 2.332ms
      [11.401s][info][gc] GC(9) Concurrent Mark Cycle
      [11.423s][info][gc] GC(9) Pause Remark 1M->1M(14M) 15.900ms
      [11.428s][info][gc] GC(9) Pause Cleanup 1M->1M(14M) 0.030ms
      [11.428s][info][gc] GC(9) Concurrent Mark Cycle 26.621ms
      [13.390s][info][gc] GC(10) Pause Young (Concurrent Start) (CodeCache GC Threshold) 1M->1M(14M) 1.640ms
      [13.390s][info][gc] GC(11) Concurrent Mark Cycle
      [13.418s][info][gc] GC(11) Pause Remark 1M->1M(14M) 21.073ms
      [13.421s][info][gc] GC(11) Pause Cleanup 1M->1M(14M) 0.034ms
      [13.421s][info][gc] GC(11) Concurrent Mark Cycle 31.662ms
      [15.669s][info][gc] GC(12) Pause Young (Concurrent Start) (CodeCache GC Threshold) 1M->1M(14M) 1.108ms
      [15.669s][info][gc] GC(13) Concurrent Mark Cycle
      [15.699s][info][gc] GC(13) Pause Remark 1M->1M(14M) 24.211ms
      [15.701s][info][gc] GC(13) Pause Cleanup 1M->1M(14M) 0.047ms
      [15.702s][info][gc] GC(13) Concurrent Mark Cycle 32.781ms
      Monitor G1 Old Gen pool with G1 Young Generation collector.
      [19.061s][info][gc] GC(14) Pause Young (Concurrent Start) (CodeCache GC Threshold) 2M->1M(14M) 2.588ms
      [19.062s][info][gc] GC(15) Concurrent Mark Cycle
      [19.087s][info][gc] GC(15) Pause Remark 1M->1M(14M) 19.521ms
      [19.089s][info][gc] GC(15) Pause Cleanup 1M->1M(14M) 0.045ms
      [19.089s][info][gc] GC(15) Concurrent Mark Cycle 27.876ms
      Found pool: G1 Old Gen
      Found collector: G1 Young Generation
      [21.305s][info][gc] GC(16) Pause Full (WhiteBox Initiated Full GC) 2M->1M(14M) 46.398ms
      [21.306s][info][gc] GC(17) Pause Young (Concurrent Start) (CodeCache GC Threshold) 1M->1M(14M) 1.013ms
      [21.306s][info][gc] GC(18) Concurrent Mark Cycle
      [21.337s][info][gc] GC(18) Pause Remark 1M->1M(14M) 23.691ms
      [21.339s][info][gc] GC(18) Pause Cleanup 1M->1M(14M) 0.040ms
      [21.339s][info][gc] GC(18) Concurrent Mark Cycle 32.771ms
      [21.400s][info][gc] GC(19) Pause Young (Concurrent Start) (CodeCache GC Threshold) 1M->1M(14M) 0.910ms
      [21.400s][info][gc] GC(20) Concurrent Mark Cycle
      [21.430s][info][gc] GC(20) Pause Remark 1M->1M(14M) 23.446ms
      [21.434s][info][gc] GC(20) Pause Cleanup 1M->1M(14M) 0.047ms
      [21.434s][info][gc] GC(20) Concurrent Mark Cycle 34.302ms
      [21.527s][info][gc] GC(21) Pause Young (Prepare Mixed) (G1 Evacuation Pause) 3M->3M(14M) 2.179ms
      [21.533s][info][gc] GC(22) Pause Young (Mixed) (WhiteBox Initiated Young GC) 3M->3M(14M) 5.387ms
      G1 Old Gen: usage after GC = 3921928
      G1 Young Generation: collection count = 12
      G1 Young Generation: collection time = 23
      [21.813s][info][gc] GC(23) Pause Young (Concurrent Start) (WhiteBox Initiated Concurrent Mark) 3M->3M(14M) 1.148ms
      [21.813s][info][gc] GC(24) Concurrent Mark Cycle
      [21.850s][info][gc] GC(24) Pause Remark 3M->3M(14M) 29.203ms
      [21.855s][info][gc] GC(24) Pause Cleanup 3M->3M(14M) 0.041ms
      [21.856s][info][gc] GC(24) Concurrent Mark Cycle 42.653ms
      [21.870s][info][gc] GC(25) Pause Young (Prepare Mixed) (WhiteBox Initiated Young GC) 3M->3M(14M) 1.856ms
      [21.872s][info][gc] GC(26) Pause Young (Mixed) (WhiteBox Initiated Young GC) 3M->2M(14M) 1.200ms
      G1 Old Gen: usage after GC = 2983424
      ----------System.err:(12/783)----------
      java.lang.RuntimeException: G1 Old Gen found not updating usage
      at gc.g1.mixedgc.TestOldGenCollectionUsage.run(TestOldGenCollectionUsage.java:130)
      at gc.g1.mixedgc.TestOldGenCollectionUsage.main(TestOldGenCollectionUsage.java:62)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:1534)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: G1 Old Gen found not updating usage
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: G1 Old Gen found not updating usage

      Attachments

        Issue Links

          Activity

            People

              eosterlund Erik Ă–sterlund
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: