Lower GCTimeLimit in TestUseGCOverheadLimit.java

XMLWordPrintable

    • gc
    • b26

        gc/TestUseGCOverheadLimit.java#G1 fails in our test infrastructure sometimes on macOS aarch64 (9 failure have been seen so far).
        end of log of an example failure :
         ....
        [46.311s][info ][gc] GC(686) Pause Young (Concurrent Start) (G1 Evacuation Pause) (Evacuation Failure: Allocation) 127M->127M(128M) 14.228ms
        [46.311s][debug][gc] GC Overhead Limit: GC Time 89.488501 Free Space 0.000000 Counter 0
        [46.311s][info ][gc] GC(688) Concurrent Mark Cycle
        [46.313s][debug][gc] GC(687) Clear Bitmap 1.994ms
        [46.484s][info ][gc] GC(687) Pause Full (G1 Compaction Pause) 127M->121M(128M) 173.420ms
        [46.484s][info ][gc] GC(688) Concurrent Mark Cycle 173.609ms
        [46.519s][debug][gc] GC(689) Allocated 0 survivor 0 old percent total 0.00% (10%)
        [46.519s][info ][gc] GC(689) Pause Young (Normal) (G1 Evacuation Pause) (Evacuation Failure: Allocation) 127M->127M(128M) 33.855ms
        [46.519s][debug][gc] GC Overhead Limit: GC Time 89.862385 Free Space 0.000000 Counter 0
        [46.744s][info ][gc] GC(690) Pause Full (G1 Compaction Pause) 127M->121M(128M) 225.117ms
        [46.769s][debug][gc] GC(691) Allocated 0 survivor 0 old percent total 0.00% (10%)
        [46.769s][info ][gc] GC(691) Pause Young (Concurrent Start) (G1 Evacuation Pause) (Evacuation Failure: Allocation) 127M->127M(128M) 23.232ms
        [46.769s][debug][gc] GC Overhead Limit: GC Time 89.725280 Free Space 0.000000 Counter 0
        [46.769s][info ][gc] GC(693) Concurrent Mark Cycle
        [46.770s][debug][gc] GC(692) Clear Bitmap 0.723ms
        [46.968s][info ][gc] GC(692) Pause Full (G1 Compaction Pause) 127M->121M(128M) 199.113ms
        [46.968s][info ][gc] GC(693) Concurrent Mark Cycle 199.256ms
        [Ljava.lang.Object;@3d012ddd
        ];
         stderr: []
         exitValue = 0

        java.lang.RuntimeException: Unexpected to get exit value of [0]
        at jdk.test.lib.process.OutputAnalyzer.shouldNotHaveExitValue(OutputAnalyzer.java:563)
        at gc.TestUseGCOverheadLimit.main(TestUseGCOverheadLimit.java:77)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:565)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
        at java.base/java.lang.Thread.run(Thread.java:1474)

              Assignee:
              Thomas Schatzl
              Reporter:
              Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: