--- a/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ChunkParser.java Fri Oct 18 17:45:17 2019 +0200
+++ b/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ChunkParser.java Mon Oct 21 16:29:38 2019 +0200
@@ -252,8 +252,12 @@
return event;
}
}
- if (typeId == 1 && flushOperation != null) { // checkpoint event
- parseCheckpoint();
+ if (typeId == 1) { // checkpoint event
+ if (flushOperation != null) {
+ parseCheckpoint();
+ }
+ } else {
+ Logger.log(LogTag.JFR_SYSTEM_PARSER, LogLevel.INFO, "Unknwon event type " + typeId);
}
}
input.position(pos + size);