it has been observed that the assertion (GC pause time cannot be smaller than the sum of each phase) in G1GCPhaseTimes::print cuts off the printed values, this should be adjusted to see the real values in error situations.
The current assert prints misleading messages like this (see JDK-8370063) :
# Internal Error (d:\priv\jenkins\ci2\client-home\workspace\openjdk-jdk-windows_x86_64-dbg\jdk\src\hotspot\share\gc\g1\g1GCPhaseTimes.cpp:571), pid=8976, tid=24744
# assert(_gc_pause_time_ms >= accounted_ms) failed: GC pause time(0.001ms) cannot be smaller than the sum of each phase(0.001ms).
The current assert prints misleading messages like this (see JDK-8370063) :
# Internal Error (d:\priv\jenkins\ci2\client-home\workspace\openjdk-jdk-windows_x86_64-dbg\jdk\src\hotspot\share\gc\g1\g1GCPhaseTimes.cpp:571), pid=8976, tid=24744
# assert(_gc_pause_time_ms >= accounted_ms) failed: GC pause time(0.001ms) cannot be smaller than the sum of each phase(0.001ms).
- relates to
-
JDK-8370063 G1GC: assert(_gc_pause_time_ms >= accounted_ms) failed: GC pause time (<n>) cannot be smaller than the sum of each phase (<m>)
-
- Open
-
- links to
-
Commit(master)
openjdk/jdk/db76479a
-
Review(master)
openjdk/jdk/28147