src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ChunkParser.java
branchJEP-349-branch
changeset 58714 737134732b4a
parent 58445 1893a674db04
child 58767 94d3a7bc8561
--- 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);