-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
9
-
windows
A new warning was recently introduced in the GC system by JDK-8071770:
[4.144s][warning][gc] Detected clock going backwards. Milliseconds since last GC would be -3828. returning zero instead.
This seems to happen frequently when running the sun/tools/jstatd tests on windows machines. The tests are matching output from the JVM and fail when they see this message.
We should investigate why the warning happens, and the tests should be updated to ignore it.
RULE "sun/tools/jstatd/TestJstatdExternalRegistry.java" Exception java.lang.RuntimeException: No or invalid headline found, expected: [S0 S1 E O M CCS YGC YGCT FGC FGCT GCT]: expected true, was false
RULE "sun/tools/jstatd/TestJstatdDefaults.java" Exception java.lang.RuntimeException: No or invalid headline found, expected: [S0 S1 E O M CCS YGC YGCT FGC FGCT GCT]: expected true, was false
RULE "sun/tools/jstatd/TestJstatdPort.java" Exception java.lang.RuntimeException: No or invalid headline found, expected: [S0 S1 E O M CCS YGC YGCT FGC FGCT GCT]: expected true, was false
RULE "sun/tools/jstatd/TestJstatdPortAndServer.java" Exception java.lang.RuntimeException: No or invalid headline found, expected: [S0 S1 E O M CCS YGC YGCT FGC FGCT GCT]: expected true, was false
RULE "sun/tools/jstatd/TestJstatdServer.java" Exception java.lang.RuntimeException: No or invalid headline found, expected: [S0 S1 E O M CCS YGC YGCT FGC FGCT GCT]: expected true, was false
RULE "sun/tools/jstatd/TestJstatdExternalRegistry.java" Exception java.lang.RuntimeException: Invalid number of data columns: [[...][warning][gc], Detected, clock, going, backwards., Milliseconds, since, last, GC, would, be, ..., returning, zero, instead., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ...]: expected ... to equal ...
RULE "sun/tools/jstatd/TestJstatdServer.java" Exception java.lang.RuntimeException: Invalid number of data columns: [[...][warning][gc], Detected, clock, going, backwards., Milliseconds, since, last, GC, would, be, ..., returning, zero, instead., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ...]: expected ... to equal ...
RULE "sun/tools/jstatd/TestJstatdDefaults.java" Exception java.lang.RuntimeException: Invalid number of data columns: [[...][warning][gc], Detected, clock, going, backwards., Milliseconds, since, last, GC, would, be, ..., returning, zero, instead., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ...]: expected ... to equal ...
RULE "sun/tools/jstatd/TestJstatdPort.java" Exception java.lang.RuntimeException: Invalid number of data columns: [[...][warning][gc], Detected, clock, going, backwards., Milliseconds, since, last, GC, would, be, ..., returning, zero, instead., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ...]: expected ... to equal ...
RULE "sun/tools/jstatd/TestJstatdPortAndServer.java" Exception java.lang.RuntimeException: Invalid number of data columns: [[...][warning][gc], Detected, clock, going, backwards., Milliseconds, since, last, GC, would, be, ..., returning, zero, instead., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ...]: expected ... to equal ...
RULE "sun/tools/jstatd/TestJstatdPort.java" Exception java.lang.RuntimeException: Output does not match the pattern [...][warning][gc] Detected clock going backwards. Milliseconds since last GC would be ... returning zero instead. ... Jps: expected true, was false
[4.144s][warning][gc] Detected clock going backwards. Milliseconds since last GC would be -3828. returning zero instead.
This seems to happen frequently when running the sun/tools/jstatd tests on windows machines. The tests are matching output from the JVM and fail when they see this message.
We should investigate why the warning happens, and the tests should be updated to ignore it.
RULE "sun/tools/jstatd/TestJstatdExternalRegistry.java" Exception java.lang.RuntimeException: No or invalid headline found, expected: [S0 S1 E O M CCS YGC YGCT FGC FGCT GCT]: expected true, was false
RULE "sun/tools/jstatd/TestJstatdDefaults.java" Exception java.lang.RuntimeException: No or invalid headline found, expected: [S0 S1 E O M CCS YGC YGCT FGC FGCT GCT]: expected true, was false
RULE "sun/tools/jstatd/TestJstatdPort.java" Exception java.lang.RuntimeException: No or invalid headline found, expected: [S0 S1 E O M CCS YGC YGCT FGC FGCT GCT]: expected true, was false
RULE "sun/tools/jstatd/TestJstatdPortAndServer.java" Exception java.lang.RuntimeException: No or invalid headline found, expected: [S0 S1 E O M CCS YGC YGCT FGC FGCT GCT]: expected true, was false
RULE "sun/tools/jstatd/TestJstatdServer.java" Exception java.lang.RuntimeException: No or invalid headline found, expected: [S0 S1 E O M CCS YGC YGCT FGC FGCT GCT]: expected true, was false
RULE "sun/tools/jstatd/TestJstatdExternalRegistry.java" Exception java.lang.RuntimeException: Invalid number of data columns: [[...][warning][gc], Detected, clock, going, backwards., Milliseconds, since, last, GC, would, be, ..., returning, zero, instead., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ...]: expected ... to equal ...
RULE "sun/tools/jstatd/TestJstatdServer.java" Exception java.lang.RuntimeException: Invalid number of data columns: [[...][warning][gc], Detected, clock, going, backwards., Milliseconds, since, last, GC, would, be, ..., returning, zero, instead., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ...]: expected ... to equal ...
RULE "sun/tools/jstatd/TestJstatdDefaults.java" Exception java.lang.RuntimeException: Invalid number of data columns: [[...][warning][gc], Detected, clock, going, backwards., Milliseconds, since, last, GC, would, be, ..., returning, zero, instead., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ...]: expected ... to equal ...
RULE "sun/tools/jstatd/TestJstatdPort.java" Exception java.lang.RuntimeException: Invalid number of data columns: [[...][warning][gc], Detected, clock, going, backwards., Milliseconds, since, last, GC, would, be, ..., returning, zero, instead., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ...]: expected ... to equal ...
RULE "sun/tools/jstatd/TestJstatdPortAndServer.java" Exception java.lang.RuntimeException: Invalid number of data columns: [[...][warning][gc], Detected, clock, going, backwards., Milliseconds, since, last, GC, would, be, ..., returning, zero, instead., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ...]: expected ... to equal ...
RULE "sun/tools/jstatd/TestJstatdPort.java" Exception java.lang.RuntimeException: Output does not match the pattern [...][warning][gc] Detected clock going backwards. Milliseconds since last GC would be ... returning zero instead. ... Jps: expected true, was false
- duplicates
-
JDK-8164176 Several jstad tests failing for the jdk9/hs snapshot. Not failing on jdk9/dev
- Closed
-
JDK-8164124 [BACKOUT] G1 does not implement millis_since_last_gc which is needed by RMI GC
- Resolved
- relates to
-
JDK-8164482 [REDO] G1 does not implement millis_since_last_gc which is needed by RMI GC
- Resolved
-
JDK-8071770 G1 does not implement millis_since_last_gc which is needed by RMI GC
- Closed
-
JDK-8130640 sun/tools/jstatd/* tests java.io.IOException: Stream Closed
- Closed