src/jdk.jfr/share/classes/jdk/jfr/internal/PlatformRecording.java
branchJEP-349-branch
changeset 58148 550ddbf8efd4
parent 57360 5d043a159d5c
child 58168 945212abbac0
equal deleted inserted replaced
58146:9f3aadcaa430 58148:550ddbf8efd4
    82     private volatile Recording recording;
    82     private volatile Recording recording;
    83     private TimerTask stopTask;
    83     private TimerTask stopTask;
    84     private TimerTask startTask;
    84     private TimerTask startTask;
    85     private AccessControlContext noDestinationDumpOnExitAccessControlContext;
    85     private AccessControlContext noDestinationDumpOnExitAccessControlContext;
    86     private boolean shuoldWriteActiveRecordingEvent = true;
    86     private boolean shuoldWriteActiveRecordingEvent = true;
    87     private Duration flushInterval;
    87     private Duration flushInterval = Duration.ofSeconds(1);
    88 
    88 
    89     PlatformRecording(PlatformRecorder recorder, long id) {
    89     PlatformRecording(PlatformRecorder recorder, long id) {
    90         // Typically the access control context is taken
    90         // Typically the access control context is taken
    91         // when you call dump(Path) or setDdestination(Path),
    91         // when you call dump(Path) or setDdestination(Path),
    92         // but if no destination is set and dumponexit=true
    92         // but if no destination is set and dumponexit=true