src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingStream.java
branchJEP-349-branch
changeset 57425 1da8552f0b59
parent 57386 acdd0dbe37ee
child 57432 ba454a26d2c1
equal deleted inserted replaced
57386:acdd0dbe37ee 57425:1da8552f0b59
    79         Utils.checkAccessFlightRecorder();
    79         Utils.checkAccessFlightRecorder();
    80         AccessControlContext acc = AccessController.getContext();
    80         AccessControlContext acc = AccessController.getContext();
    81         this.recording = new Recording();
    81         this.recording = new Recording();
    82         this.recording.setFlushInterval(Duration.ofMillis(1000));
    82         this.recording.setFlushInterval(Duration.ofMillis(1000));
    83         try {
    83         try {
    84             this.stream = new EventDirectoryStream(acc);
    84             this.stream = new EventDirectoryStream(acc, null);
    85         } catch (IOException ioe) {
    85         } catch (IOException ioe) {
    86             throw new IllegalStateException(ioe.getMessage());
    86             throw new IllegalStateException(ioe.getMessage());
    87         }
    87         }
    88     }
    88     }
    89 
    89