Add logging for parsing chunk start time JEP-349-branch
authoregahlin
Mon, 21 Oct 2019 18:25:56 +0200
branchJEP-349-branch
changeset 58719 be37d9dc96d1
parent 58718 38d600d23146
child 58721 2576ae69235f
Add logging for parsing chunk start time
src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/RepositoryFiles.java
--- a/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/RepositoryFiles.java	Mon Oct 21 17:36:04 2019 +0200
+++ b/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/RepositoryFiles.java	Mon Oct 21 18:25:56 2019 +0200
@@ -197,6 +197,7 @@
 
     private long readStartTime(Path p) throws IOException {
         try (RecordingInput in = new RecordingInput(p.toFile(), fileAccess, 100)) {
+            Logger.log(LogTag.JFR_SYSTEM_PARSER, LogLevel.INFO, "Parsing header for chunk start time");
             ChunkHeader c = new ChunkHeader(in);
             return c.getStartNanos();
         }