# HG changeset patch # User egahlin # Date 1571668178 -7200 # Node ID 737134732b4af1cb20f64e528c6c8ff5a193be85 # Parent 222f727e9b05bdbef0764784979960f0c04b3561 Log unknown event diff -r 222f727e9b05 -r 737134732b4a src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ChunkParser.java --- 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);