src/jdk.jfr/share/classes/jdk/jfr/consumer/ChunkParser.java
branchJEP-349-branch
changeset 57454 703fb247dc4e
parent 57452 6fabe73e5d9a
child 57459 df39f8d8f4d6
equal deleted inserted replaced
57453:0391c57da284 57454:703fb247dc4e
    65     private boolean ordered;
    65     private boolean ordered;
    66     private boolean resetEventCache;
    66     private boolean resetEventCache;
    67     private long firstNanos;
    67     private long firstNanos;
    68 
    68 
    69     public ChunkParser(RecordingInput input, boolean reuse) throws IOException {
    69     public ChunkParser(RecordingInput input, boolean reuse) throws IOException {
    70        this(new ChunkHeader(input), null, 500);
    70        this(new ChunkHeader(input), null, 100);
    71        this.reuse = reuse;
    71        this.reuse = reuse;
    72     }
    72     }
    73 
    73 
    74     public ChunkParser(ChunkParser previous) throws IOException {
    74     public ChunkParser(ChunkParser previous) throws IOException {
    75         this(new ChunkHeader(previous.input), previous, 500);
    75         this(new ChunkHeader(previous.input), previous, 100);
    76      }
    76      }
    77 
    77 
    78     private ChunkParser(ChunkHeader header, ChunkParser previous, long pollInterval) throws IOException {
    78     private ChunkParser(ChunkHeader header, ChunkParser previous, long pollInterval) throws IOException {
    79         this.input = header.getInput();
    79         this.input = header.getInput();
    80         this.chunkHeader = header;
    80         this.chunkHeader = header;