--- a/src/jdk.jfr/share/classes/jdk/jfr/internal/PlatformRecording.java Mon Sep 16 09:57:26 2019 +0200
+++ b/src/jdk.jfr/share/classes/jdk/jfr/internal/PlatformRecording.java Mon Sep 16 13:54:56 2019 +0200
@@ -84,7 +84,7 @@
private TimerTask startTask;
private AccessControlContext noDestinationDumpOnExitAccessControlContext;
private boolean shuoldWriteActiveRecordingEvent = true;
- private Duration flushInterval;
+ private Duration flushInterval = Duration.ofSeconds(1);
PlatformRecording(PlatformRecorder recorder, long id) {
// Typically the access control context is taken