----------System.out:(30/1532)----------
[0.467s][info][gc] Using The Z Garbage Collector
[86.490s][info][gc] GC(0) Garbage Collection (System.gc()) 8M(2%)->12M(2%)
[94.408s][info][gc] GC(1) Garbage Collection (System.gc()) 16M(3%)->10M(2%)
[94.444s][info][gc] GC(2) Garbage Collection (System.gc()) 10M(2%)->10M(2%)
[95.184s][info][gc] GC(3) Garbage Collection (System.gc()) 10M(2%)->14M(3%)
[96.274s][info][gc] GC(4) Garbage Collection (System.gc()) 14M(3%)->12M(2%)
[96.383s][info][gc] GC(5) Garbage Collection (System.gc()) 12M(2%)->12M(2%)
ZGC (com.sun.management.gc.notification)
Id: 2
Action: end of major GC
Cause: System.gc()
StartTime: 93133
EndTime: 93187
Duration: 54
MemoryUsageBeforeGC: init = 268435456(262144K) used = 16777216(16384K) committed = 268435456(262144K) max = 536870912(524288K)
MemoryUsageAfterGC: init = 268435456(262144K) used = 10485760(10240K) committed = 268435456(262144K) max = 536870912(524288K)
ZGC (com.sun.management.gc.notification)
Id: 3
Action: end of major GC
Cause: System.gc()
StartTime: 93187
EndTime: 93223
Duration: 36
MemoryUsageBeforeGC: init = 268435456(262144K) used = 10485760(10240K) committed = 268435456(262144K) max = 536870912(524288K)
MemoryUsageAfterGC: init = 268435456(262144K) used = 10485760(10240K) committed = 268435456(262144K) max = 536870912(524288K)
minCycles: 5
actualCycles: 2
actualErrors: 0
----------System.err:(13/812)----------
java.lang.Exception: Unexpected cycles
at TestGarbageCollectorMXBean.main(TestGarbageCollectorMXBean.java:163)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:832)
[0.467s][info][gc] Using The Z Garbage Collector
[86.490s][info][gc] GC(0) Garbage Collection (System.gc()) 8M(2%)->12M(2%)
[94.408s][info][gc] GC(1) Garbage Collection (System.gc()) 16M(3%)->10M(2%)
[94.444s][info][gc] GC(2) Garbage Collection (System.gc()) 10M(2%)->10M(2%)
[95.184s][info][gc] GC(3) Garbage Collection (System.gc()) 10M(2%)->14M(3%)
[96.274s][info][gc] GC(4) Garbage Collection (System.gc()) 14M(3%)->12M(2%)
[96.383s][info][gc] GC(5) Garbage Collection (System.gc()) 12M(2%)->12M(2%)
ZGC (com.sun.management.gc.notification)
Id: 2
Action: end of major GC
Cause: System.gc()
StartTime: 93133
EndTime: 93187
Duration: 54
MemoryUsageBeforeGC: init = 268435456(262144K) used = 16777216(16384K) committed = 268435456(262144K) max = 536870912(524288K)
MemoryUsageAfterGC: init = 268435456(262144K) used = 10485760(10240K) committed = 268435456(262144K) max = 536870912(524288K)
ZGC (com.sun.management.gc.notification)
Id: 3
Action: end of major GC
Cause: System.gc()
StartTime: 93187
EndTime: 93223
Duration: 36
MemoryUsageBeforeGC: init = 268435456(262144K) used = 10485760(10240K) committed = 268435456(262144K) max = 536870912(524288K)
MemoryUsageAfterGC: init = 268435456(262144K) used = 10485760(10240K) committed = 268435456(262144K) max = 536870912(524288K)
minCycles: 5
actualCycles: 2
actualErrors: 0
----------System.err:(13/812)----------
java.lang.Exception: Unexpected cycles
at TestGarbageCollectorMXBean.main(TestGarbageCollectorMXBean.java:163)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:832)
- relates to
-
JDK-8240679 ZGC GarbageCollectorMXBean reports inaccurate post GC heap size for ZHeap pool
-
- Resolved
-
-
JDK-8269545 gc/z/TestGarbageCollectorMXBean.java failed with "Exception: Unexpected cycles"
-
- Closed
-