-
Bug
-
Resolution: Unresolved
-
P5
-
None
-
13, 14, 15, 16, 17
Test gc/g1/TestPeriodicCollection.java failed with following log:
----------System.out:(15/1422)----------
[0.074s][debug][gc,ergo,heap] Expand the heap. requested expansion amount: 50331648B expansion amount: 50331648B
[0.076s][info ][gc ] Using G1
[0.077s][debug][gc,ergo,heap] Attempt heap expansion (allocate archive regions). Total size: 1048576B
[0.077s][debug][gc,ergo,heap] Attempt heap expansion (allocate archive regions). Total size: 1048576B
[0.272s][info ][gc ] Periodic GC enabled with interval 3000ms
[initial ] init: 50_331_648, used: 2_863_104, comm: 52_428_800, freeRatio ~= 94.5%
[3.295s][debug][gc,periodic ] Checking for periodic GC.
[17.212s][info ][gc ] GC(0) Pause Young (Concurrent Start) (G1 Periodic Collection) 4M->1M(50M) 13916.704ms
[17.212s][info ][gc ] GC(1) Concurrent Cycle
[after ] init: 50_331_648, used: 1_863_728, comm: 52_428_800, freeRatio ~= 96.4%
[17.259s][debug][gc,ergo,heap] GC(1) Attempt heap shrinking (capacity higher than max desired capacity). Capacity: 52428800B occupancy: 5242880B live: 2283192B maximum_desired_capacity: 8388608B (25 %)
[17.260s][debug][gc,ergo,heap] GC(1) Shrink the heap. requested shrinking amount: 44040192B aligned shrinking amount: 44040192B attempted shrinking amount: 44040192B
[17.260s][info ][gc ] GC(1) Pause Remark 2M->2M(8M) 8.739ms
[17.271s][info ][gc ] GC(1) Pause Cleanup 2M->2M(8M) 0.057ms
[17.272s][info ][gc ] GC(1) Concurrent Cycle 59.886ms
----------System.err:(19/1381)----------
java.lang.RuntimeException: committed free heap size is not less than committed full heap size, heap hasn't been shrunk?
MinHeapFreeRatio = 5
MaxHeapFreeRatio = 25: expected that 52428800 < 52428800
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertLessThan(Asserts.java:99)
at gc.g1.TestPeriodicCollection.main(TestPeriodicCollection.java:82)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:835)
JavaTest Message: Test threw exception: java.lang.RuntimeException: committed free heap size is not less than committed full heap size, heap hasn't been shrunk?
MinHeapFreeRatio = 5
MaxHeapFreeRatio = 25: expected that 52428800 < 52428800
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: committed free heap size is not less than committed full heap size, heap hasn't been shrunk? MinHeapFreeRatio = 5 MaxHeapFreeRatio = 25: expected that 52428800 < 52428800
----------System.out:(15/1422)----------
[0.074s][debug][gc,ergo,heap] Expand the heap. requested expansion amount: 50331648B expansion amount: 50331648B
[0.076s][info ][gc ] Using G1
[0.077s][debug][gc,ergo,heap] Attempt heap expansion (allocate archive regions). Total size: 1048576B
[0.077s][debug][gc,ergo,heap] Attempt heap expansion (allocate archive regions). Total size: 1048576B
[0.272s][info ][gc ] Periodic GC enabled with interval 3000ms
[initial ] init: 50_331_648, used: 2_863_104, comm: 52_428_800, freeRatio ~= 94.5%
[3.295s][debug][gc,periodic ] Checking for periodic GC.
[17.212s][info ][gc ] GC(0) Pause Young (Concurrent Start) (G1 Periodic Collection) 4M->1M(50M) 13916.704ms
[17.212s][info ][gc ] GC(1) Concurrent Cycle
[after ] init: 50_331_648, used: 1_863_728, comm: 52_428_800, freeRatio ~= 96.4%
[17.259s][debug][gc,ergo,heap] GC(1) Attempt heap shrinking (capacity higher than max desired capacity). Capacity: 52428800B occupancy: 5242880B live: 2283192B maximum_desired_capacity: 8388608B (25 %)
[17.260s][debug][gc,ergo,heap] GC(1) Shrink the heap. requested shrinking amount: 44040192B aligned shrinking amount: 44040192B attempted shrinking amount: 44040192B
[17.260s][info ][gc ] GC(1) Pause Remark 2M->2M(8M) 8.739ms
[17.271s][info ][gc ] GC(1) Pause Cleanup 2M->2M(8M) 0.057ms
[17.272s][info ][gc ] GC(1) Concurrent Cycle 59.886ms
----------System.err:(19/1381)----------
java.lang.RuntimeException: committed free heap size is not less than committed full heap size, heap hasn't been shrunk?
MinHeapFreeRatio = 5
MaxHeapFreeRatio = 25: expected that 52428800 < 52428800
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertLessThan(Asserts.java:99)
at gc.g1.TestPeriodicCollection.main(TestPeriodicCollection.java:82)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:835)
JavaTest Message: Test threw exception: java.lang.RuntimeException: committed free heap size is not less than committed full heap size, heap hasn't been shrunk?
MinHeapFreeRatio = 5
MaxHeapFreeRatio = 25: expected that 52428800 < 52428800
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: committed free heap size is not less than committed full heap size, heap hasn't been shrunk? MinHeapFreeRatio = 5 MaxHeapFreeRatio = 25: expected that 52428800 < 52428800