public final class jdk.jfr.internal.PlatformRecorder
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.jfr.internal.PlatformRecorder
  super_class: java.lang.Object
{
  private final java.util.List<jdk.jfr.internal.PlatformRecording> recordings;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Ljdk/jfr/internal/PlatformRecording;>;

  private static final java.util.List<jdk.jfr.internal.SecuritySupport$SecureRecorderListener> changeListeners;
    descriptor: Ljava/util/List;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/List<Ljdk/jfr/internal/SecuritySupport$SecureRecorderListener;>;

  private final jdk.jfr.internal.Repository repository;
    descriptor: Ljdk/jfr/internal/Repository;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private static final jdk.jfr.internal.JVM jvm;
    descriptor: Ljdk/jfr/internal/JVM;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final jdk.jfr.EventType activeRecordingEvent;
    descriptor: Ljdk/jfr/EventType;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final jdk.jfr.EventType activeSettingEvent;
    descriptor: Ljdk/jfr/EventType;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.Thread shutdownHook;
    descriptor: Ljava/lang/Thread;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.util.Timer timer;
    descriptor: Ljava/util/Timer;
    flags: (0x0002) ACC_PRIVATE

  private long recordingCounter;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private jdk.jfr.internal.RepositoryChunk currentChunk;
    descriptor: Ljdk/jfr/internal/RepositoryChunk;
    flags: (0x0002) ACC_PRIVATE

  private boolean inShutdown;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 66
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putstatic jdk.jfr.internal.PlatformRecorder.changeListeners:Ljava/util/List;
         1: .line 68
            invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
            putstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecorder this
         0: .line 78
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 65
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield jdk.jfr.internal.PlatformRecorder.recordings:Ljava/util/List;
         2: .line 74
            aload 0 /* this */
            lconst_0
            putfield jdk.jfr.internal.PlatformRecorder.recordingCounter:J
         3: .line 79
            aload 0 /* this */
            invokestatic jdk.jfr.internal.Repository.getRepository:()Ljdk/jfr/internal/Repository;
            putfield jdk.jfr.internal.PlatformRecorder.repository:Ljdk/jfr/internal/Repository;
         4: .line 80
            getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            ldc "Initialized disk repository"
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
         5: .line 81
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.repository:Ljdk/jfr/internal/Repository;
            invokevirtual jdk.jfr.internal.Repository.ensureRepository:()V
         6: .line 82
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.createNativeJFR:()V
         7: .line 83
            getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            ldc "Created native"
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
         8: .line 84
            invokestatic jdk.jfr.internal.instrument.JDKEvents.initialize:()V
         9: .line 85
            getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            ldc "Registered JDK events"
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
        10: .line 86
            invokestatic jdk.jfr.internal.instrument.JDKEvents.addInstrumentation:()V
        11: .line 87
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.startDiskMonitor:()V
        12: .line 88
            aload 0 /* this */
            ldc Ljdk/jfr/events/ActiveRecordingEvent;
            invokestatic jdk.jfr.EventType.getEventType:(Ljava/lang/Class;)Ljdk/jfr/EventType;
            putfield jdk.jfr.internal.PlatformRecorder.activeRecordingEvent:Ljdk/jfr/EventType;
        13: .line 89
            aload 0 /* this */
            ldc Ljdk/jfr/events/ActiveSettingEvent;
            invokestatic jdk.jfr.EventType.getEventType:(Ljava/lang/Class;)Ljdk/jfr/EventType;
            putfield jdk.jfr.internal.PlatformRecorder.activeSettingEvent:Ljdk/jfr/EventType;
        14: .line 90
            aload 0 /* this */
            ldc "JFR Shutdown Hook"
            new jdk.jfr.internal.ShutdownHook
            dup
            aload 0 /* this */
            invokespecial jdk.jfr.internal.ShutdownHook.<init>:(Ljdk/jfr/internal/PlatformRecorder;)V
            invokestatic jdk.jfr.internal.SecuritySupport.createThreadWitNoPermissions:(Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Thread;
            putfield jdk.jfr.internal.PlatformRecorder.shutdownHook:Ljava/lang/Thread;
        15: .line 91
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.shutdownHook:Ljava/lang/Thread;
            new jdk.jfr.internal.ShutdownHook$ExceptionHandler
            dup
            invokespecial jdk.jfr.internal.ShutdownHook$ExceptionHandler.<init>:()V
            invokestatic jdk.jfr.internal.SecuritySupport.setUncaughtExceptionHandler:(Ljava/lang/Thread;Ljava/lang/Thread$UncaughtExceptionHandler;)V
        16: .line 92
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.shutdownHook:Ljava/lang/Thread;
            invokestatic jdk.jfr.internal.SecuritySupport.registerShutdownHook:(Ljava/lang/Thread;)V
        17: .line 94
            return
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   18     0  this  Ljdk/jfr/internal/PlatformRecorder;
    Exceptions:
      throws java.lang.Exception

  private static java.util.Timer createTimer();
    descriptor: ()Ljava/util/Timer;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=0
         0: .line 99
            new java.util.concurrent.CopyOnWriteArrayList
            dup
            invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
            astore 0 /* result */
        start local 0 // java.util.List result
         1: .line 100
            ldc "Permissionless thread"
            aload 0 /* result */
            invokedynamic run(Ljava/util/List;)Ljava/lang/Runnable;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()V
                  jdk/jfr/internal/PlatformRecorder.lambda$0(Ljava/util/List;)V (6)
                  ()V
            invokestatic jdk.jfr.internal.SecuritySupport.createThreadWitNoPermissions:(Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Thread;
            astore 1 /* t */
        start local 1 // java.lang.Thread t
         2: .line 103
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            aload 1 /* t */
            invokevirtual jdk.jfr.internal.JVM.exclude:(Ljava/lang/Thread;)V
         3: .line 104
            aload 1 /* t */
            invokevirtual java.lang.Thread.start:()V
         4: .line 105
            aload 1 /* t */
            invokevirtual java.lang.Thread.join:()V
         5: .line 106
            aload 0 /* result */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.util.Timer
         6: areturn
        end local 1 // java.lang.Thread t
        end local 0 // java.util.List result
         7: .line 107
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            astore 0 /* e */
        start local 0 // java.lang.InterruptedException e
         8: .line 108
            new java.lang.IllegalStateException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Not able to create timer task. "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* e */
            invokevirtual java.lang.InterruptedException.getMessage:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 0 /* e */
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 0 // java.lang.InterruptedException e
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            1    7     0  result  Ljava/util/List<Ljava/util/Timer;>;
            2    7     1       t  Ljava/lang/Thread;
            8    9     0       e  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
           0     6       7  Class java.lang.InterruptedException

  public synchronized jdk.jfr.internal.PlatformRecording newRecording(java.util.Map<java.lang.String, java.lang.String>);
    descriptor: (Ljava/util/Map;)Ljdk/jfr/internal/PlatformRecording;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=7, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecorder this
        start local 1 // java.util.Map settings
         0: .line 113
            aload 0 /* this */
            aload 1 /* settings */
            aload 0 /* this */
            dup
            getfield jdk.jfr.internal.PlatformRecorder.recordingCounter:J
            lconst_1
            ladd
            dup2_x1
            putfield jdk.jfr.internal.PlatformRecorder.recordingCounter:J
            invokevirtual jdk.jfr.internal.PlatformRecorder.newRecording:(Ljava/util/Map;J)Ljdk/jfr/internal/PlatformRecording;
            areturn
        end local 1 // java.util.Map settings
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      this  Ljdk/jfr/internal/PlatformRecorder;
            0    1     1  settings  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
    Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Ljdk/jfr/internal/PlatformRecording;
    MethodParameters:
          Name  Flags
      settings  

  public jdk.jfr.internal.PlatformRecording newTemporaryRecording();
    descriptor: ()Ljdk/jfr/internal/PlatformRecording;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecorder this
         0: .line 119
            aload 0 /* this */
            invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
            ifne 2
         1: .line 120
            new java.lang.InternalError
            dup
            ldc "Caller must have recorder lock"
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 122
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            lconst_0
            invokevirtual jdk.jfr.internal.PlatformRecorder.newRecording:(Ljava/util/Map;J)Ljdk/jfr/internal/PlatformRecording;
            areturn
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jfr/internal/PlatformRecorder;

  private synchronized jdk.jfr.internal.PlatformRecording newRecording(java.util.Map<java.lang.String, java.lang.String>, long);
    descriptor: (Ljava/util/Map;J)Ljdk/jfr/internal/PlatformRecording;
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // jdk.jfr.internal.PlatformRecorder this
        start local 1 // java.util.Map settings
        start local 2 // long id
         0: .line 126
            new jdk.jfr.internal.PlatformRecording
            dup
            aload 0 /* this */
            lload 2 /* id */
            invokespecial jdk.jfr.internal.PlatformRecording.<init>:(Ljdk/jfr/internal/PlatformRecorder;J)V
            astore 4 /* recording */
        start local 4 // jdk.jfr.internal.PlatformRecording recording
         1: .line 127
            aload 1 /* settings */
            invokeinterface java.util.Map.isEmpty:()Z
            ifne 3
         2: .line 128
            aload 4 /* recording */
            aload 1 /* settings */
            invokevirtual jdk.jfr.internal.PlatformRecording.setSettings:(Ljava/util/Map;)V
         3: .line 130
      StackMap locals: jdk.jfr.internal.PlatformRecording
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.recordings:Ljava/util/List;
            aload 4 /* recording */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         4: .line 131
            aload 4 /* recording */
            areturn
        end local 4 // jdk.jfr.internal.PlatformRecording recording
        end local 2 // long id
        end local 1 // java.util.Map settings
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Ljdk/jfr/internal/PlatformRecorder;
            0    5     1   settings  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
            0    5     2         id  J
            1    5     4  recording  Ljdk/jfr/internal/PlatformRecording;
    Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;J)Ljdk/jfr/internal/PlatformRecording;
    MethodParameters:
          Name  Flags
      settings  
      id        

  synchronized void finish(jdk.jfr.internal.PlatformRecording);
    descriptor: (Ljdk/jfr/internal/PlatformRecording;)V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecorder this
        start local 1 // jdk.jfr.internal.PlatformRecording recording
         0: .line 135
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            if_acmpne 2
         1: .line 136
            aload 1 /* recording */
            ldc "Recording closed"
            invokevirtual jdk.jfr.internal.PlatformRecording.stop:(Ljava/lang/String;)Z
            pop
         2: .line 138
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.recordings:Ljava/util/List;
            aload 1 /* recording */
            invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
            pop
         3: .line 139
            return
        end local 1 // jdk.jfr.internal.PlatformRecording recording
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       this  Ljdk/jfr/internal/PlatformRecorder;
            0    4     1  recording  Ljdk/jfr/internal/PlatformRecording;
    MethodParameters:
           Name  Flags
      recording  

  public synchronized java.util.List<jdk.jfr.internal.PlatformRecording> getRecordings();
    descriptor: ()Ljava/util/List;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecorder this
         0: .line 142
            new java.util.ArrayList
            dup
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.recordings:Ljava/util/List;
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
            invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
            areturn
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/PlatformRecorder;
    Signature: ()Ljava/util/List<Ljdk/jfr/internal/PlatformRecording;>;

  public static synchronized void addListener(jdk.jfr.FlightRecorderListener);
    descriptor: (Ljdk/jfr/FlightRecorderListener;)V
    flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // jdk.jfr.FlightRecorderListener changeListener
         0: .line 146
            invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
            astore 1 /* context */
        start local 1 // java.security.AccessControlContext context
         1: .line 147
            new jdk.jfr.internal.SecuritySupport$SecureRecorderListener
            dup
            aload 1 /* context */
            aload 0 /* changeListener */
            invokespecial jdk.jfr.internal.SecuritySupport$SecureRecorderListener.<init>:(Ljava/security/AccessControlContext;Ljdk/jfr/FlightRecorderListener;)V
            astore 2 /* sl */
        start local 2 // jdk.jfr.internal.SecuritySupport$SecureRecorderListener sl
         2: .line 149
            ldc Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 4
            monitorenter
         3: .line 150
            invokestatic jdk.jfr.FlightRecorder.isInitialized:()Z
            istore 3 /* runInitialized */
        start local 3 // boolean runInitialized
         4: .line 151
            getstatic jdk.jfr.internal.PlatformRecorder.changeListeners:Ljava/util/List;
            aload 2 /* sl */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         5: .line 149
            aload 4
            monitorexit
         6: goto 9
        end local 3 // boolean runInitialized
      StackMap locals: jdk.jfr.FlightRecorderListener java.security.AccessControlContext jdk.jfr.internal.SecuritySupport$SecureRecorderListener top java.lang.Class
      StackMap stack: java.lang.Throwable
         7: aload 4
            monitorexit
         8: athrow
        start local 3 // boolean runInitialized
         9: .line 153
      StackMap locals: jdk.jfr.FlightRecorderListener java.security.AccessControlContext jdk.jfr.internal.SecuritySupport$SecureRecorderListener int
      StackMap stack:
            iload 3 /* runInitialized */
            ifeq 11
        10: .line 154
            aload 2 /* sl */
            invokestatic jdk.jfr.FlightRecorder.getFlightRecorder:()Ljdk/jfr/FlightRecorder;
            invokevirtual jdk.jfr.internal.SecuritySupport$SecureRecorderListener.recorderInitialized:(Ljdk/jfr/FlightRecorder;)V
        11: .line 156
      StackMap locals:
      StackMap stack:
            return
        end local 3 // boolean runInitialized
        end local 2 // jdk.jfr.internal.SecuritySupport$SecureRecorderListener sl
        end local 1 // java.security.AccessControlContext context
        end local 0 // jdk.jfr.FlightRecorderListener changeListener
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   12     0  changeListener  Ljdk/jfr/FlightRecorderListener;
            1   12     1         context  Ljava/security/AccessControlContext;
            2   12     2              sl  Ljdk/jfr/internal/SecuritySupport$SecureRecorderListener;
            4    7     3  runInitialized  Z
            9   12     3  runInitialized  Z
      Exception table:
        from    to  target  type
           3     6       7  any
           7     8       7  any
    MethodParameters:
                Name  Flags
      changeListener  

  public static synchronized boolean removeListener(jdk.jfr.FlightRecorderListener);
    descriptor: (Ljdk/jfr/FlightRecorderListener;)Z
    flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // jdk.jfr.FlightRecorderListener changeListener
         0: .line 159
            new java.util.ArrayList
            dup
            getstatic jdk.jfr.internal.PlatformRecorder.changeListeners:Ljava/util/List;
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
            invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
            astore 2
            goto 5
      StackMap locals: jdk.jfr.FlightRecorderListener top java.util.Iterator
      StackMap stack:
         1: aload 2
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.SecuritySupport$SecureRecorderListener
            astore 1 /* s */
        start local 1 // jdk.jfr.internal.SecuritySupport$SecureRecorderListener s
         2: .line 160
            aload 1 /* s */
            invokevirtual jdk.jfr.internal.SecuritySupport$SecureRecorderListener.getChangeListener:()Ljdk/jfr/FlightRecorderListener;
            aload 0 /* changeListener */
            if_acmpne 5
         3: .line 161
            getstatic jdk.jfr.internal.PlatformRecorder.changeListeners:Ljava/util/List;
            aload 1 /* s */
            invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
            pop
         4: .line 162
            iconst_1
            ireturn
        end local 1 // jdk.jfr.internal.SecuritySupport$SecureRecorderListener s
         5: .line 159
      StackMap locals:
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         6: .line 165
            iconst_0
            ireturn
        end local 0 // jdk.jfr.FlightRecorderListener changeListener
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    7     0  changeListener  Ljdk/jfr/FlightRecorderListener;
            2    5     1               s  Ljdk/jfr/internal/SecuritySupport$SecureRecorderListener;
    MethodParameters:
                Name  Flags
      changeListener  

  static synchronized java.util.List<jdk.jfr.FlightRecorderListener> getListeners();
    descriptor: ()Ljava/util/List;
    flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=0, args_size=0
         0: .line 169
            new java.util.ArrayList
            dup
            getstatic jdk.jfr.internal.PlatformRecorder.changeListeners:Ljava/util/List;
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Signature: ()Ljava/util/List<Ljdk/jfr/FlightRecorderListener;>;

  synchronized java.util.Timer getTimer();
    descriptor: ()Ljava/util/Timer;
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecorder this
         0: .line 173
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.timer:Ljava/util/Timer;
            ifnonnull 2
         1: .line 174
            aload 0 /* this */
            invokestatic jdk.jfr.internal.PlatformRecorder.createTimer:()Ljava/util/Timer;
            putfield jdk.jfr.internal.PlatformRecorder.timer:Ljava/util/Timer;
         2: .line 176
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.timer:Ljava/util/Timer;
            areturn
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jfr/internal/PlatformRecorder;

  public static void notifyRecorderInitialized(jdk.jfr.FlightRecorder);
    descriptor: (Ljdk/jfr/FlightRecorder;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // jdk.jfr.FlightRecorder recorder
         0: .line 180
            getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.TRACE:Ljdk/jfr/internal/LogLevel;
            ldc "Notifying listeners that Flight Recorder is initialized"
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
         1: .line 181
            invokestatic jdk.jfr.internal.PlatformRecorder.getListeners:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 2
            goto 4
      StackMap locals: jdk.jfr.FlightRecorder top java.util.Iterator
      StackMap stack:
         2: aload 2
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.FlightRecorderListener
            astore 1 /* r */
        start local 1 // jdk.jfr.FlightRecorderListener r
         3: .line 182
            aload 1 /* r */
            aload 0 /* recorder */
            invokeinterface jdk.jfr.FlightRecorderListener.recorderInitialized:(Ljdk/jfr/FlightRecorder;)V
        end local 1 // jdk.jfr.FlightRecorderListener r
         4: .line 181
      StackMap locals:
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 184
            return
        end local 0 // jdk.jfr.FlightRecorder recorder
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0  recorder  Ljdk/jfr/FlightRecorder;
            3    4     1         r  Ljdk/jfr/FlightRecorderListener;
    MethodParameters:
          Name  Flags
      recorder  

  synchronized void setInShutDown();
    descriptor: ()V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecorder this
         0: .line 187
            aload 0 /* this */
            iconst_1
            putfield jdk.jfr.internal.PlatformRecorder.inShutdown:Z
         1: .line 188
            return
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jfr/internal/PlatformRecorder;

  synchronized void destroy();
    descriptor: ()V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecorder this
         0: .line 193
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.timer:Ljava/util/Timer;
            ifnull 5
         1: .line 194
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.timer:Ljava/util/Timer;
            invokevirtual java.util.Timer.cancel:()V
         2: .line 196
            goto 5
      StackMap locals:
      StackMap stack: java.lang.Exception
         3: pop
         4: .line 197
            getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.WARN:Ljdk/jfr/internal/LogLevel;
            ldc "Shutdown hook could not cancel timer"
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
         5: .line 200
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.getRecordings:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 2
            goto 12
      StackMap locals: jdk.jfr.internal.PlatformRecorder top java.util.Iterator
      StackMap stack:
         6: aload 2
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.PlatformRecording
            astore 1 /* p */
        start local 1 // jdk.jfr.internal.PlatformRecording p
         7: .line 201
            aload 1 /* p */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            if_acmpne 12
         8: .line 203
            aload 1 /* p */
            ldc "Shutdown"
            invokevirtual jdk.jfr.internal.PlatformRecording.stop:(Ljava/lang/String;)Z
            pop
         9: .line 204
            goto 12
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.util.Iterator
      StackMap stack: java.lang.Exception
        10: pop
        11: .line 205
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.WARN:Ljdk/jfr/internal/LogLevel;
            new java.lang.StringBuilder
            dup
            ldc "Recording "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* p */
            invokevirtual jdk.jfr.internal.PlatformRecording.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ":"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* p */
            invokevirtual jdk.jfr.internal.PlatformRecording.getId:()J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc " could not be stopped"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
        end local 1 // jdk.jfr.internal.PlatformRecording p
        12: .line 200
      StackMap locals: jdk.jfr.internal.PlatformRecorder top java.util.Iterator
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 6
        13: .line 210
            invokestatic jdk.jfr.internal.instrument.JDKEvents.remove:()V
        14: .line 212
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.hasNativeJFR:()Z
            ifeq 18
        15: .line 213
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.isRecording:()Z
            ifeq 17
        16: .line 214
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.endRecording:()V
        17: .line 216
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.destroyNativeJFR:()Z
            pop
        18: .line 218
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.repository:Ljdk/jfr/internal/Repository;
            invokevirtual jdk.jfr.internal.Repository.clear:()V
        19: .line 219
            return
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   20     0  this  Ljdk/jfr/internal/PlatformRecorder;
            7   12     1     p  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           0     2       3  Class java.lang.Exception
           8     9      10  Class java.lang.Exception

  synchronized long start(jdk.jfr.internal.PlatformRecording);
    descriptor: (Ljdk/jfr/internal/PlatformRecording;)J
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=4, locals=12, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecorder this
        start local 1 // jdk.jfr.internal.PlatformRecording recording
         0: .line 223
            invokestatic java.time.ZonedDateTime.now:()Ljava/time/ZonedDateTime;
            astore 2 /* zdtNow */
        start local 2 // java.time.ZonedDateTime zdtNow
         1: .line 224
            aload 2 /* zdtNow */
            invokevirtual java.time.ZonedDateTime.toInstant:()Ljava/time/Instant;
            astore 3 /* now */
        start local 3 // java.time.Instant now
         2: .line 225
            aload 1 /* recording */
            aload 3 /* now */
            invokevirtual jdk.jfr.internal.PlatformRecording.setStartTime:(Ljava/time/Instant;)V
         3: .line 226
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecording.updateTimer:()V
         4: .line 227
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecording.getDuration:()Ljava/time/Duration;
            astore 4 /* duration */
        start local 4 // java.time.Duration duration
         5: .line 228
            aload 4 /* duration */
            ifnull 7
         6: .line 229
            aload 1 /* recording */
            aload 3 /* now */
            aload 4 /* duration */
            invokevirtual java.time.Instant.plus:(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;
            invokevirtual jdk.jfr.internal.PlatformRecording.setStopTime:(Ljava/time/Instant;)V
         7: .line 231
      StackMap locals: java.time.ZonedDateTime java.time.Instant java.time.Duration
      StackMap stack:
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
            istore 5 /* toDisk */
        start local 5 // boolean toDisk
         8: .line 232
            iconst_1
            istore 6 /* beginPhysical */
        start local 6 // boolean beginPhysical
         9: .line 233
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecording.getStreamIntervalMillis:()J
            lstore 7 /* streamInterval */
        start local 7 // long streamInterval
        10: .line 234
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.getRecordings:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 10
            goto 17
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.time.ZonedDateTime java.time.Instant java.time.Duration int int long top java.util.Iterator
      StackMap stack:
        11: aload 10
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.PlatformRecording
            astore 9 /* s */
        start local 9 // jdk.jfr.internal.PlatformRecording s
        12: .line 235
            aload 9 /* s */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            if_acmpne 17
        13: .line 236
            iconst_0
            istore 6 /* beginPhysical */
        14: .line 237
            aload 9 /* s */
            invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
            ifeq 16
        15: .line 238
            iconst_1
            istore 5 /* toDisk */
        16: .line 240
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.time.ZonedDateTime java.time.Instant java.time.Duration int int long jdk.jfr.internal.PlatformRecording java.util.Iterator
      StackMap stack:
            lload 7 /* streamInterval */
            aload 9 /* s */
            invokevirtual jdk.jfr.internal.PlatformRecording.getStreamIntervalMillis:()J
            invokestatic java.lang.Math.min:(JJ)J
            lstore 7 /* streamInterval */
        end local 9 // jdk.jfr.internal.PlatformRecording s
        17: .line 234
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.time.ZonedDateTime java.time.Instant java.time.Duration int int long top java.util.Iterator
      StackMap stack:
            aload 10
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 11
        18: .line 243
            ldc -1
            lstore 9 /* startNanos */
        start local 9 // long startNanos
        19: .line 244
            iload 6 /* beginPhysical */
            ifeq 33
        20: .line 245
            aconst_null
            astore 11 /* newChunk */
        start local 11 // jdk.jfr.internal.RepositoryChunk newChunk
        21: .line 246
            iload 5 /* toDisk */
            ifeq 25
        22: .line 247
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.repository:Ljdk/jfr/internal/Repository;
            aload 2 /* zdtNow */
            invokevirtual jdk.jfr.internal.Repository.newChunk:(Ljava/time/ZonedDateTime;)Ljdk/jfr/internal/RepositoryChunk;
            astore 11 /* newChunk */
        23: .line 248
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            aload 11 /* newChunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getFile:()Ljdk/jfr/internal/SecuritySupport$SafePath;
            invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toString:()Ljava/lang/String;
            invokevirtual jdk.jfr.internal.MetadataRepository.setOutput:(Ljava/lang/String;)V
        24: .line 249
            goto 26
        25: .line 250
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.time.ZonedDateTime java.time.Instant java.time.Duration int int long long jdk.jfr.internal.RepositoryChunk
      StackMap stack:
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            aconst_null
            invokevirtual jdk.jfr.internal.MetadataRepository.setOutput:(Ljava/lang/String;)V
        26: .line 252
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 11 /* newChunk */
            putfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
        27: .line 253
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.beginRecording:()V
        28: .line 254
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.getChunkStartNanos:()J
            lstore 9 /* startNanos */
        29: .line 255
            aload 1 /* recording */
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
        30: .line 256
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.updateSettings:()V
        31: .line 257
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.writeMetaEvents:()V
        end local 11 // jdk.jfr.internal.RepositoryChunk newChunk
        32: .line 258
            goto 45
        33: .line 259
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 11 /* newChunk */
        start local 11 // jdk.jfr.internal.RepositoryChunk newChunk
        34: .line 260
            iload 5 /* toDisk */
            ifeq 39
        35: .line 261
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.repository:Ljdk/jfr/internal/Repository;
            aload 2 /* zdtNow */
            invokevirtual jdk.jfr.internal.Repository.newChunk:(Ljava/time/ZonedDateTime;)Ljdk/jfr/internal/RepositoryChunk;
            astore 11 /* newChunk */
        36: .line 262
            invokestatic jdk.jfr.internal.RequestEngine.doChunkEnd:()V
        37: .line 263
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            aload 11 /* newChunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getFile:()Ljdk/jfr/internal/SecuritySupport$SafePath;
            invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toString:()Ljava/lang/String;
            invokevirtual jdk.jfr.internal.MetadataRepository.setOutput:(Ljava/lang/String;)V
        38: .line 264
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.getChunkStartNanos:()J
            lstore 9 /* startNanos */
        39: .line 266
      StackMap locals: jdk.jfr.internal.RepositoryChunk
      StackMap stack:
            aload 1 /* recording */
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
        40: .line 267
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.updateSettings:()V
        41: .line 268
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.writeMetaEvents:()V
        42: .line 269
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
            ifnull 44
        43: .line 270
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
            aload 3 /* now */
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecorder.finishChunk:(Ljdk/jfr/internal/RepositoryChunk;Ljava/time/Instant;Ljdk/jfr/internal/PlatformRecording;)V
        44: .line 272
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 11 /* newChunk */
            putfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
        end local 11 // jdk.jfr.internal.RepositoryChunk newChunk
        45: .line 274
      StackMap locals:
      StackMap stack:
            iload 5 /* toDisk */
            ifeq 47
        46: .line 275
            lload 7 /* streamInterval */
            invokestatic jdk.jfr.internal.RequestEngine.setFlushInterval:(J)V
        47: .line 277
      StackMap locals:
      StackMap stack:
            invokestatic jdk.jfr.internal.RequestEngine.doChunkBegin:()V
        48: .line 279
            lload 9 /* startNanos */
            lreturn
        end local 9 // long startNanos
        end local 7 // long streamInterval
        end local 6 // boolean beginPhysical
        end local 5 // boolean toDisk
        end local 4 // java.time.Duration duration
        end local 3 // java.time.Instant now
        end local 2 // java.time.ZonedDateTime zdtNow
        end local 1 // jdk.jfr.internal.PlatformRecording recording
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   49     0            this  Ljdk/jfr/internal/PlatformRecorder;
            0   49     1       recording  Ljdk/jfr/internal/PlatformRecording;
            1   49     2          zdtNow  Ljava/time/ZonedDateTime;
            2   49     3             now  Ljava/time/Instant;
            5   49     4        duration  Ljava/time/Duration;
            8   49     5          toDisk  Z
            9   49     6   beginPhysical  Z
           10   49     7  streamInterval  J
           12   17     9               s  Ljdk/jfr/internal/PlatformRecording;
           19   49     9      startNanos  J
           21   32    11        newChunk  Ljdk/jfr/internal/RepositoryChunk;
           34   45    11        newChunk  Ljdk/jfr/internal/RepositoryChunk;
    MethodParameters:
           Name  Flags
      recording  

  synchronized void stop(jdk.jfr.internal.PlatformRecording);
    descriptor: (Ljdk/jfr/internal/PlatformRecording;)V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=4, locals=12, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecorder this
        start local 1 // jdk.jfr.internal.PlatformRecording recording
         0: .line 283
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 2 /* state */
        start local 2 // jdk.jfr.RecordingState state
         1: .line 285
            aload 2 /* state */
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            invokestatic jdk.jfr.internal.Utils.isAfter:(Ljdk/jfr/RecordingState;Ljdk/jfr/RecordingState;)Z
            ifeq 3
         2: .line 286
            new java.lang.IllegalStateException
            dup
            ldc "Can't stop an already stopped recording."
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 288
      StackMap locals: jdk.jfr.RecordingState
      StackMap stack:
            aload 2 /* state */
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            invokestatic jdk.jfr.internal.Utils.isBefore:(Ljdk/jfr/RecordingState;Ljdk/jfr/RecordingState;)Z
            ifeq 5
         4: .line 289
            new java.lang.IllegalStateException
            dup
            ldc "Recording must be started before it can be stopped."
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 291
      StackMap locals:
      StackMap stack:
            invokestatic java.time.ZonedDateTime.now:()Ljava/time/ZonedDateTime;
            astore 3 /* zdtNow */
        start local 3 // java.time.ZonedDateTime zdtNow
         6: .line 292
            aload 3 /* zdtNow */
            invokevirtual java.time.ZonedDateTime.toInstant:()Ljava/time/Instant;
            astore 4 /* now */
        start local 4 // java.time.Instant now
         7: .line 293
            iconst_0
            istore 5 /* toDisk */
        start local 5 // boolean toDisk
         8: .line 294
            iconst_1
            istore 6 /* endPhysical */
        start local 6 // boolean endPhysical
         9: .line 295
            ldc 9223372036854775807
            lstore 7 /* streamInterval */
        start local 7 // long streamInterval
        10: .line 296
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.getRecordings:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 10
            goto 18
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState java.time.ZonedDateTime java.time.Instant int int long top java.util.Iterator
      StackMap stack:
        11: aload 10
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.PlatformRecording
            astore 9 /* s */
        start local 9 // jdk.jfr.internal.PlatformRecording s
        12: .line 297
            aload 9 /* s */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 11 /* rs */
        start local 11 // jdk.jfr.RecordingState rs
        13: .line 298
            aload 9 /* s */
            aload 1 /* recording */
            if_acmpeq 18
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            aload 11 /* rs */
            if_acmpne 18
        14: .line 299
            iconst_0
            istore 6 /* endPhysical */
        15: .line 300
            aload 9 /* s */
            invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
            ifeq 17
        16: .line 301
            iconst_1
            istore 5 /* toDisk */
        17: .line 303
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState java.time.ZonedDateTime java.time.Instant int int long jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.RecordingState
      StackMap stack:
            lload 7 /* streamInterval */
            aload 9 /* s */
            invokevirtual jdk.jfr.internal.PlatformRecording.getStreamIntervalMillis:()J
            invokestatic java.lang.Math.min:(JJ)J
            lstore 7 /* streamInterval */
        end local 11 // jdk.jfr.RecordingState rs
        end local 9 // jdk.jfr.internal.PlatformRecording s
        18: .line 296
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState java.time.ZonedDateTime java.time.Instant int int long top java.util.Iterator
      StackMap stack:
            aload 10
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 11
        19: .line 306
            aload 1 /* recording */
            invokestatic jdk.jfr.internal.OldObjectSample.emit:(Ljdk/jfr/internal/PlatformRecording;)V
        20: .line 307
            aload 1 /* recording */
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.getChunkStartNanos:()J
            invokevirtual jdk.jfr.internal.PlatformRecording.setFinalStartnanos:(J)V
        21: .line 309
            iload 6 /* endPhysical */
            ifeq 35
        22: .line 310
            invokestatic jdk.jfr.internal.RequestEngine.doChunkEnd:()V
        23: .line 311
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
            ifeq 31
        24: .line 312
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
            ifnull 32
        25: .line 313
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.inShutdown:Z
            ifeq 27
        26: .line 314
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.markChunkFinal:()V
        27: .line 316
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState java.time.ZonedDateTime java.time.Instant int int long
      StackMap stack:
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            aconst_null
            invokevirtual jdk.jfr.internal.MetadataRepository.setOutput:(Ljava/lang/String;)V
        28: .line 317
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
            aload 4 /* now */
            aconst_null
            invokevirtual jdk.jfr.internal.PlatformRecorder.finishChunk:(Ljdk/jfr/internal/RepositoryChunk;Ljava/time/Instant;Ljdk/jfr/internal/PlatformRecording;)V
        29: .line 318
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
        30: .line 320
            goto 32
        31: .line 322
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecorder.dumpMemoryToDestination:(Ljdk/jfr/internal/PlatformRecording;)V
        32: .line 324
      StackMap locals:
      StackMap stack:
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.endRecording:()V
        33: .line 325
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.disableEvents:()V
        34: .line 326
            goto 48
        35: .line 327
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 9 /* newChunk */
        start local 9 // jdk.jfr.internal.RepositoryChunk newChunk
        36: .line 328
            invokestatic jdk.jfr.internal.RequestEngine.doChunkEnd:()V
        37: .line 329
            aload 0 /* this */
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecorder.updateSettingsButIgnoreRecording:(Ljdk/jfr/internal/PlatformRecording;)V
        38: .line 330
            iload 5 /* toDisk */
            ifeq 42
        39: .line 331
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.repository:Ljdk/jfr/internal/Repository;
            aload 3 /* zdtNow */
            invokevirtual jdk.jfr.internal.Repository.newChunk:(Ljava/time/ZonedDateTime;)Ljdk/jfr/internal/RepositoryChunk;
            astore 9 /* newChunk */
        40: .line 332
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            aload 9 /* newChunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getFile:()Ljdk/jfr/internal/SecuritySupport$SafePath;
            invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toString:()Ljava/lang/String;
            invokevirtual jdk.jfr.internal.MetadataRepository.setOutput:(Ljava/lang/String;)V
        41: .line 333
            goto 43
        42: .line 334
      StackMap locals: jdk.jfr.internal.RepositoryChunk
      StackMap stack:
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            aconst_null
            invokevirtual jdk.jfr.internal.MetadataRepository.setOutput:(Ljava/lang/String;)V
        43: .line 336
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.writeMetaEvents:()V
        44: .line 337
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
            ifnull 46
        45: .line 338
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
            aload 4 /* now */
            aconst_null
            invokevirtual jdk.jfr.internal.PlatformRecorder.finishChunk:(Ljdk/jfr/internal/RepositoryChunk;Ljava/time/Instant;Ljdk/jfr/internal/PlatformRecording;)V
        46: .line 340
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 9 /* newChunk */
            putfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
        47: .line 341
            invokestatic jdk.jfr.internal.RequestEngine.doChunkBegin:()V
        end local 9 // jdk.jfr.internal.RepositoryChunk newChunk
        48: .line 344
      StackMap locals:
      StackMap stack:
            iload 5 /* toDisk */
            ifeq 51
        49: .line 345
            lload 7 /* streamInterval */
            invokestatic jdk.jfr.internal.RequestEngine.setFlushInterval:(J)V
        50: .line 346
            goto 52
        51: .line 347
      StackMap locals:
      StackMap stack:
            ldc 9223372036854775807
            invokestatic jdk.jfr.internal.RequestEngine.setFlushInterval:(J)V
        52: .line 349
      StackMap locals:
      StackMap stack:
            aload 1 /* recording */
            getstatic jdk.jfr.RecordingState.STOPPED:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
        53: .line 350
            return
        end local 7 // long streamInterval
        end local 6 // boolean endPhysical
        end local 5 // boolean toDisk
        end local 4 // java.time.Instant now
        end local 3 // java.time.ZonedDateTime zdtNow
        end local 2 // jdk.jfr.RecordingState state
        end local 1 // jdk.jfr.internal.PlatformRecording recording
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   54     0            this  Ljdk/jfr/internal/PlatformRecorder;
            0   54     1       recording  Ljdk/jfr/internal/PlatformRecording;
            1   54     2           state  Ljdk/jfr/RecordingState;
            6   54     3          zdtNow  Ljava/time/ZonedDateTime;
            7   54     4             now  Ljava/time/Instant;
            8   54     5          toDisk  Z
            9   54     6     endPhysical  Z
           10   54     7  streamInterval  J
           12   18     9               s  Ljdk/jfr/internal/PlatformRecording;
           13   18    11              rs  Ljdk/jfr/RecordingState;
           36   48     9        newChunk  Ljdk/jfr/internal/RepositoryChunk;
    MethodParameters:
           Name  Flags
      recording  

  private void dumpMemoryToDestination(jdk.jfr.internal.PlatformRecording);
    descriptor: (Ljdk/jfr/internal/PlatformRecording;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecorder this
        start local 1 // jdk.jfr.internal.PlatformRecording recording
         0: .line 353
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecording.getDestination:()Ljdk/jfr/internal/WriteableUserPath;
            astore 2 /* dest */
        start local 2 // jdk.jfr.internal.WriteableUserPath dest
         1: .line 354
            aload 2 /* dest */
            ifnull 4
         2: .line 355
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            aload 2 /* dest */
            invokevirtual jdk.jfr.internal.WriteableUserPath.getRealPathText:()Ljava/lang/String;
            invokevirtual jdk.jfr.internal.MetadataRepository.setOutput:(Ljava/lang/String;)V
         3: .line 356
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecording.clearDestination:()V
         4: .line 358
      StackMap locals: jdk.jfr.internal.WriteableUserPath
      StackMap stack:
            return
        end local 2 // jdk.jfr.internal.WriteableUserPath dest
        end local 1 // jdk.jfr.internal.PlatformRecording recording
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Ljdk/jfr/internal/PlatformRecorder;
            0    5     1  recording  Ljdk/jfr/internal/PlatformRecording;
            1    5     2       dest  Ljdk/jfr/internal/WriteableUserPath;
    MethodParameters:
           Name  Flags
      recording  

  private void disableEvents();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecorder this
         0: .line 360
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            invokevirtual jdk.jfr.internal.MetadataRepository.disableEvents:()V
         1: .line 361
            return
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jfr/internal/PlatformRecorder;

  void updateSettings();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecorder this
         0: .line 364
            aload 0 /* this */
            aconst_null
            invokevirtual jdk.jfr.internal.PlatformRecorder.updateSettingsButIgnoreRecording:(Ljdk/jfr/internal/PlatformRecording;)V
         1: .line 365
            return
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jfr/internal/PlatformRecorder;

  void updateSettingsButIgnoreRecording(jdk.jfr.internal.PlatformRecording);
    descriptor: (Ljdk/jfr/internal/PlatformRecording;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=6, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecorder this
        start local 1 // jdk.jfr.internal.PlatformRecording ignoreMe
         0: .line 368
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.getRunningRecordings:()Ljava/util/List;
            astore 2 /* recordings */
        start local 2 // java.util.List recordings
         1: .line 369
            new java.util.ArrayList
            dup
            aload 2 /* recordings */
            invokeinterface java.util.List.size:()I
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 3 /* list */
        start local 3 // java.util.List list
         2: .line 370
            aload 2 /* recordings */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 5
            goto 6
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.util.List java.util.List top java.util.Iterator
      StackMap stack:
         3: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.PlatformRecording
            astore 4 /* r */
        start local 4 // jdk.jfr.internal.PlatformRecording r
         4: .line 371
            aload 4 /* r */
            aload 1 /* ignoreMe */
            if_acmpeq 6
         5: .line 372
            aload 3 /* list */
            aload 4 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getSettings:()Ljava/util/Map;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 4 // jdk.jfr.internal.PlatformRecording r
         6: .line 370
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         7: .line 375
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            aload 3 /* list */
            invokevirtual jdk.jfr.internal.MetadataRepository.setSettings:(Ljava/util/List;)V
         8: .line 376
            return
        end local 3 // java.util.List list
        end local 2 // java.util.List recordings
        end local 1 // jdk.jfr.internal.PlatformRecording ignoreMe
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    9     0        this  Ljdk/jfr/internal/PlatformRecorder;
            0    9     1    ignoreMe  Ljdk/jfr/internal/PlatformRecording;
            1    9     2  recordings  Ljava/util/List<Ljdk/jfr/internal/PlatformRecording;>;
            2    9     3        list  Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;
            4    6     4           r  Ljdk/jfr/internal/PlatformRecording;
    MethodParameters:
          Name  Flags
      ignoreMe  

  synchronized void rotateDisk();
    descriptor: ()V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecorder this
         0: .line 381
            invokestatic java.time.ZonedDateTime.now:()Ljava/time/ZonedDateTime;
            astore 1 /* now */
        start local 1 // java.time.ZonedDateTime now
         1: .line 382
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.repository:Ljdk/jfr/internal/Repository;
            aload 1 /* now */
            invokevirtual jdk.jfr.internal.Repository.newChunk:(Ljava/time/ZonedDateTime;)Ljdk/jfr/internal/RepositoryChunk;
            astore 2 /* newChunk */
        start local 2 // jdk.jfr.internal.RepositoryChunk newChunk
         2: .line 383
            invokestatic jdk.jfr.internal.RequestEngine.doChunkEnd:()V
         3: .line 384
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            aload 2 /* newChunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getFile:()Ljdk/jfr/internal/SecuritySupport$SafePath;
            invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toString:()Ljava/lang/String;
            invokevirtual jdk.jfr.internal.MetadataRepository.setOutput:(Ljava/lang/String;)V
         4: .line 385
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.writeMetaEvents:()V
         5: .line 386
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
            ifnull 7
         6: .line 387
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
            aload 1 /* now */
            invokevirtual java.time.ZonedDateTime.toInstant:()Ljava/time/Instant;
            aconst_null
            invokevirtual jdk.jfr.internal.PlatformRecorder.finishChunk:(Ljdk/jfr/internal/RepositoryChunk;Ljava/time/Instant;Ljdk/jfr/internal/PlatformRecording;)V
         7: .line 389
      StackMap locals: java.time.ZonedDateTime jdk.jfr.internal.RepositoryChunk
      StackMap stack:
            aload 0 /* this */
            aload 2 /* newChunk */
            putfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
         8: .line 390
            invokestatic jdk.jfr.internal.RequestEngine.doChunkBegin:()V
         9: .line 391
            return
        end local 2 // jdk.jfr.internal.RepositoryChunk newChunk
        end local 1 // java.time.ZonedDateTime now
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   10     0      this  Ljdk/jfr/internal/PlatformRecorder;
            1   10     1       now  Ljava/time/ZonedDateTime;
            2   10     2  newChunk  Ljdk/jfr/internal/RepositoryChunk;

  private java.util.List<jdk.jfr.internal.PlatformRecording> getRunningRecordings();
    descriptor: ()Ljava/util/List;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecorder this
         0: .line 394
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* runningRecordings */
        start local 1 // java.util.List runningRecordings
         1: .line 395
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.getRecordings:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 5
      StackMap locals: jdk.jfr.internal.PlatformRecorder java.util.List top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.PlatformRecording
            astore 2 /* recording */
        start local 2 // jdk.jfr.internal.PlatformRecording recording
         3: .line 396
            aload 2 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            if_acmpne 5
         4: .line 397
            aload 1 /* runningRecordings */
            aload 2 /* recording */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 2 // jdk.jfr.internal.PlatformRecording recording
         5: .line 395
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         6: .line 400
            aload 1 /* runningRecordings */
            areturn
        end local 1 // java.util.List runningRecordings
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    7     0               this  Ljdk/jfr/internal/PlatformRecorder;
            1    7     1  runningRecordings  Ljava/util/List<Ljdk/jfr/internal/PlatformRecording;>;
            3    5     2          recording  Ljdk/jfr/internal/PlatformRecording;
    Signature: ()Ljava/util/List<Ljdk/jfr/internal/PlatformRecording;>;

  private java.util.List<jdk.jfr.internal.RepositoryChunk> makeChunkList(java.time.Instant, java.time.Instant);
    descriptor: (Ljava/time/Instant;Ljava/time/Instant;)Ljava/util/List;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=7, args_size=3
        start local 0 // jdk.jfr.internal.PlatformRecorder this
        start local 1 // java.time.Instant startTime
        start local 2 // java.time.Instant endTime
         0: .line 404
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            astore 3 /* chunkSet */
        start local 3 // java.util.Set chunkSet
         1: .line 405
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.getRecordings:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 5
            goto 4
      StackMap locals: jdk.jfr.internal.PlatformRecorder java.time.Instant java.time.Instant java.util.Set top java.util.Iterator
      StackMap stack:
         2: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.PlatformRecording
            astore 4 /* r */
        start local 4 // jdk.jfr.internal.PlatformRecording r
         3: .line 406
            aload 3 /* chunkSet */
            aload 4 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getChunks:()Ljava/util/List;
            invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
            pop
        end local 4 // jdk.jfr.internal.PlatformRecording r
         4: .line 405
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 408
            aload 3 /* chunkSet */
            invokeinterface java.util.Set.size:()I
            ifle 14
         6: .line 409
            new java.util.ArrayList
            dup
            aload 3 /* chunkSet */
            invokeinterface java.util.Set.size:()I
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 4 /* chunks */
        start local 4 // java.util.List chunks
         7: .line 410
            aload 3 /* chunkSet */
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 6
            goto 11
      StackMap locals: jdk.jfr.internal.PlatformRecorder java.time.Instant java.time.Instant java.util.Set java.util.List top java.util.Iterator
      StackMap stack:
         8: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RepositoryChunk
            astore 5 /* rc */
        start local 5 // jdk.jfr.internal.RepositoryChunk rc
         9: .line 411
            aload 5 /* rc */
            aload 1 /* startTime */
            aload 2 /* endTime */
            invokevirtual jdk.jfr.internal.RepositoryChunk.inInterval:(Ljava/time/Instant;Ljava/time/Instant;)Z
            ifeq 11
        10: .line 412
            aload 4 /* chunks */
            aload 5 /* rc */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 5 // jdk.jfr.internal.RepositoryChunk rc
        11: .line 410
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        12: .line 417
            aload 4 /* chunks */
            getstatic jdk.jfr.internal.RepositoryChunk.END_TIME_COMPARATOR:Ljava/util/Comparator;
            invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
        13: .line 418
            aload 4 /* chunks */
            areturn
        end local 4 // java.util.List chunks
        14: .line 421
      StackMap locals: jdk.jfr.internal.PlatformRecorder java.time.Instant java.time.Instant java.util.Set
      StackMap stack:
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            areturn
        end local 3 // java.util.Set chunkSet
        end local 2 // java.time.Instant endTime
        end local 1 // java.time.Instant startTime
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   15     0       this  Ljdk/jfr/internal/PlatformRecorder;
            0   15     1  startTime  Ljava/time/Instant;
            0   15     2    endTime  Ljava/time/Instant;
            1   15     3   chunkSet  Ljava/util/Set<Ljdk/jfr/internal/RepositoryChunk;>;
            3    4     4          r  Ljdk/jfr/internal/PlatformRecording;
            7   14     4     chunks  Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;
            9   11     5         rc  Ljdk/jfr/internal/RepositoryChunk;
    Signature: (Ljava/time/Instant;Ljava/time/Instant;)Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;
    MethodParameters:
           Name  Flags
      startTime  
      endTime    

  private void startDiskMonitor();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecorder this
         0: .line 425
            ldc "JFR Periodic Tasks"
            aload 0 /* this */
            invokedynamic run(Ljdk/jfr/internal/PlatformRecorder;)Ljava/lang/Runnable;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()V
                  jdk/jfr/internal/PlatformRecorder.lambda$1()V (7)
                  ()V
            invokestatic jdk.jfr.internal.SecuritySupport.createThreadWitNoPermissions:(Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Thread;
            astore 1 /* t */
        start local 1 // java.lang.Thread t
         1: .line 426
            aload 1 /* t */
            iconst_1
            invokestatic jdk.jfr.internal.SecuritySupport.setDaemonThread:(Ljava/lang/Thread;Z)V
         2: .line 427
            aload 1 /* t */
            invokevirtual java.lang.Thread.start:()V
         3: .line 428
            return
        end local 1 // java.lang.Thread t
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/jfr/internal/PlatformRecorder;
            1    4     1     t  Ljava/lang/Thread;

  private void finishChunk(jdk.jfr.internal.RepositoryChunk, java.time.Instant, jdk.jfr.internal.PlatformRecording);
    descriptor: (Ljdk/jfr/internal/RepositoryChunk;Ljava/time/Instant;Ljdk/jfr/internal/PlatformRecording;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=6, args_size=4
        start local 0 // jdk.jfr.internal.PlatformRecorder this
        start local 1 // jdk.jfr.internal.RepositoryChunk chunk
        start local 2 // java.time.Instant time
        start local 3 // jdk.jfr.internal.PlatformRecording ignoreMe
         0: .line 431
            aload 1 /* chunk */
            aload 2 /* time */
            invokevirtual jdk.jfr.internal.RepositoryChunk.finish:(Ljava/time/Instant;)V
         1: .line 432
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.getRecordings:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 5
            goto 5
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.RepositoryChunk java.time.Instant jdk.jfr.internal.PlatformRecording top java.util.Iterator
      StackMap stack:
         2: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.PlatformRecording
            astore 4 /* r */
        start local 4 // jdk.jfr.internal.PlatformRecording r
         3: .line 433
            aload 4 /* r */
            aload 3 /* ignoreMe */
            if_acmpeq 5
            aload 4 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            if_acmpne 5
         4: .line 434
            aload 4 /* r */
            aload 1 /* chunk */
            invokevirtual jdk.jfr.internal.PlatformRecording.appendChunk:(Ljdk/jfr/internal/RepositoryChunk;)V
        end local 4 // jdk.jfr.internal.PlatformRecording r
         5: .line 432
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         6: .line 437
            invokestatic jdk.jfr.internal.FilePurger.purge:()V
         7: .line 438
            return
        end local 3 // jdk.jfr.internal.PlatformRecording ignoreMe
        end local 2 // java.time.Instant time
        end local 1 // jdk.jfr.internal.RepositoryChunk chunk
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    8     0      this  Ljdk/jfr/internal/PlatformRecorder;
            0    8     1     chunk  Ljdk/jfr/internal/RepositoryChunk;
            0    8     2      time  Ljava/time/Instant;
            0    8     3  ignoreMe  Ljdk/jfr/internal/PlatformRecording;
            3    5     4         r  Ljdk/jfr/internal/PlatformRecording;
    MethodParameters:
          Name  Flags
      chunk     
      time      
      ignoreMe  

  private void writeMetaEvents();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=10, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecorder this
         0: .line 441
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.activeRecordingEvent:Ljdk/jfr/EventType;
            invokevirtual jdk.jfr.EventType.isEnabled:()Z
            ifeq 33
         1: .line 442
            getstatic jdk.jfr.events.ActiveRecordingEvent.EVENT:Ljava/lang/ThreadLocal;
            invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
            checkcast jdk.jfr.events.ActiveRecordingEvent
            astore 1 /* event */
        start local 1 // jdk.jfr.events.ActiveRecordingEvent event
         2: .line 443
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.getRecordings:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 32
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.events.ActiveRecordingEvent top java.util.Iterator
      StackMap stack:
         3: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.PlatformRecording
            astore 2 /* r */
        start local 2 // jdk.jfr.internal.PlatformRecording r
         4: .line 444
            aload 2 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            if_acmpne 32
            aload 2 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.shouldWriteMetadataEvent:()Z
            ifeq 32
         5: .line 445
            aload 1 /* event */
            aload 2 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getId:()J
            putfield jdk.jfr.events.ActiveRecordingEvent.id:J
         6: .line 446
            aload 1 /* event */
            aload 2 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getName:()Ljava/lang/String;
            putfield jdk.jfr.events.ActiveRecordingEvent.name:Ljava/lang/String;
         7: .line 447
            aload 2 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getDestination:()Ljdk/jfr/internal/WriteableUserPath;
            astore 4 /* p */
        start local 4 // jdk.jfr.internal.WriteableUserPath p
         8: .line 448
            aload 1 /* event */
            aload 4 /* p */
            ifnonnull 9
            aconst_null
            goto 10
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.events.ActiveRecordingEvent jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.internal.WriteableUserPath
      StackMap stack: jdk.jfr.events.ActiveRecordingEvent
         9: aload 4 /* p */
            invokevirtual jdk.jfr.internal.WriteableUserPath.getRealPathText:()Ljava/lang/String;
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.events.ActiveRecordingEvent jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.internal.WriteableUserPath
      StackMap stack: jdk.jfr.events.ActiveRecordingEvent java.lang.String
        10: putfield jdk.jfr.events.ActiveRecordingEvent.destination:Ljava/lang/String;
        11: .line 449
            aload 2 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getDuration:()Ljava/time/Duration;
            astore 5 /* d */
        start local 5 // java.time.Duration d
        12: .line 450
            aload 1 /* event */
            aload 5 /* d */
            ifnonnull 13
            ldc 9223372036854775807
            goto 14
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.events.ActiveRecordingEvent jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.internal.WriteableUserPath java.time.Duration
      StackMap stack: jdk.jfr.events.ActiveRecordingEvent
        13: aload 5 /* d */
            invokevirtual java.time.Duration.toMillis:()J
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.events.ActiveRecordingEvent jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.internal.WriteableUserPath java.time.Duration
      StackMap stack: jdk.jfr.events.ActiveRecordingEvent long
        14: putfield jdk.jfr.events.ActiveRecordingEvent.recordingDuration:J
        15: .line 451
            aload 2 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getMaxAge:()Ljava/time/Duration;
            astore 6 /* age */
        start local 6 // java.time.Duration age
        16: .line 452
            aload 1 /* event */
            aload 6 /* age */
            ifnonnull 17
            ldc 9223372036854775807
            goto 18
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.events.ActiveRecordingEvent jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.internal.WriteableUserPath java.time.Duration java.time.Duration
      StackMap stack: jdk.jfr.events.ActiveRecordingEvent
        17: aload 6 /* age */
            invokevirtual java.time.Duration.toMillis:()J
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.events.ActiveRecordingEvent jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.internal.WriteableUserPath java.time.Duration java.time.Duration
      StackMap stack: jdk.jfr.events.ActiveRecordingEvent long
        18: putfield jdk.jfr.events.ActiveRecordingEvent.maxAge:J
        19: .line 453
            aload 2 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getMaxSize:()Ljava/lang/Long;
            astore 7 /* size */
        start local 7 // java.lang.Long size
        20: .line 454
            aload 1 /* event */
            aload 7 /* size */
            ifnonnull 21
            ldc 9223372036854775807
            goto 22
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.events.ActiveRecordingEvent jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.internal.WriteableUserPath java.time.Duration java.time.Duration java.lang.Long
      StackMap stack: jdk.jfr.events.ActiveRecordingEvent
        21: aload 7 /* size */
            invokevirtual java.lang.Long.longValue:()J
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.events.ActiveRecordingEvent jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.internal.WriteableUserPath java.time.Duration java.time.Duration java.lang.Long
      StackMap stack: jdk.jfr.events.ActiveRecordingEvent long
        22: putfield jdk.jfr.events.ActiveRecordingEvent.maxSize:J
        23: .line 455
            aload 2 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getStartTime:()Ljava/time/Instant;
            astore 8 /* start */
        start local 8 // java.time.Instant start
        24: .line 456
            aload 1 /* event */
            aload 8 /* start */
            ifnonnull 25
            ldc 9223372036854775807
            goto 26
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.events.ActiveRecordingEvent jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.internal.WriteableUserPath java.time.Duration java.time.Duration java.lang.Long java.time.Instant
      StackMap stack: jdk.jfr.events.ActiveRecordingEvent
        25: aload 8 /* start */
            invokevirtual java.time.Instant.toEpochMilli:()J
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.events.ActiveRecordingEvent jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.internal.WriteableUserPath java.time.Duration java.time.Duration java.lang.Long java.time.Instant
      StackMap stack: jdk.jfr.events.ActiveRecordingEvent long
        26: putfield jdk.jfr.events.ActiveRecordingEvent.recordingStart:J
        27: .line 457
            aload 2 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getFlushInterval:()Ljava/time/Duration;
            astore 9 /* fi */
        start local 9 // java.time.Duration fi
        28: .line 458
            aload 1 /* event */
            aload 9 /* fi */
            ifnonnull 29
            ldc 9223372036854775807
            goto 30
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.events.ActiveRecordingEvent jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.internal.WriteableUserPath java.time.Duration java.time.Duration java.lang.Long java.time.Instant java.time.Duration
      StackMap stack: jdk.jfr.events.ActiveRecordingEvent
        29: aload 9 /* fi */
            invokevirtual java.time.Duration.toMillis:()J
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.events.ActiveRecordingEvent jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.internal.WriteableUserPath java.time.Duration java.time.Duration java.lang.Long java.time.Instant java.time.Duration
      StackMap stack: jdk.jfr.events.ActiveRecordingEvent long
        30: putfield jdk.jfr.events.ActiveRecordingEvent.flushInterval:J
        31: .line 459
            aload 1 /* event */
            invokevirtual jdk.jfr.events.ActiveRecordingEvent.commit:()V
        end local 9 // java.time.Duration fi
        end local 8 // java.time.Instant start
        end local 7 // java.lang.Long size
        end local 6 // java.time.Duration age
        end local 5 // java.time.Duration d
        end local 4 // jdk.jfr.internal.WriteableUserPath p
        end local 2 // jdk.jfr.internal.PlatformRecording r
        32: .line 443
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.events.ActiveRecordingEvent top java.util.Iterator
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
        end local 1 // jdk.jfr.events.ActiveRecordingEvent event
        33: .line 463
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.activeSettingEvent:Ljdk/jfr/EventType;
            invokevirtual jdk.jfr.EventType.isEnabled:()Z
            ifeq 38
        34: .line 464
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            invokevirtual jdk.jfr.internal.MetadataRepository.getEventControls:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 2
            goto 37
      StackMap locals: jdk.jfr.internal.PlatformRecorder top java.util.Iterator
      StackMap stack:
        35: aload 2
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.EventControl
            astore 1 /* ec */
        start local 1 // jdk.jfr.internal.EventControl ec
        36: .line 465
            aload 1 /* ec */
            invokevirtual jdk.jfr.internal.EventControl.writeActiveSettingEvent:()V
        end local 1 // jdk.jfr.internal.EventControl ec
        37: .line 464
      StackMap locals:
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 35
        38: .line 468
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            return
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   39     0   this  Ljdk/jfr/internal/PlatformRecorder;
            2   33     1  event  Ljdk/jfr/events/ActiveRecordingEvent;
            4   32     2      r  Ljdk/jfr/internal/PlatformRecording;
            8   32     4      p  Ljdk/jfr/internal/WriteableUserPath;
           12   32     5      d  Ljava/time/Duration;
           16   32     6    age  Ljava/time/Duration;
           20   32     7   size  Ljava/lang/Long;
           24   32     8  start  Ljava/time/Instant;
           28   32     9     fi  Ljava/time/Duration;
           36   37     1     ec  Ljdk/jfr/internal/EventControl;

  private void periodicTask();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecorder this
         0: .line 471
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.hasNativeJFR:()Z
            ifne 2
         1: .line 472
            return
         2: .line 475
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         3: .line 476
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.shouldRotateDisk:()Z
            ifeq 5
         4: .line 477
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.rotateDisk:()V
         5: .line 475
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 1
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 1
            monitorexit
         8: athrow
         9: .line 480
      StackMap locals:
      StackMap stack:
            invokestatic jdk.jfr.internal.RequestEngine.doPeriodic:()J
            lstore 1 /* minDelta */
        start local 1 // long minDelta
        10: .line 481
            lload 1 /* minDelta */
            invokestatic jdk.jfr.internal.Options.getWaitInterval:()J
            invokestatic java.lang.Math.min:(JJ)J
            lstore 3 /* wait */
        start local 3 // long wait
        11: .line 482
            aload 0 /* this */
            lload 3 /* wait */
            invokevirtual jdk.jfr.internal.PlatformRecorder.takeNap:(J)V
        end local 3 // long wait
        end local 1 // long minDelta
        12: .line 474
            goto 2
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   13     0      this  Ljdk/jfr/internal/PlatformRecorder;
           10   12     1  minDelta  J
           11   12     3      wait  J
      Exception table:
        from    to  target  type
           3     6       7  any
           7     8       7  any

  private void takeNap(long);
    descriptor: (J)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecorder this
        start local 1 // long duration
         0: .line 488
            getstatic jdk.jfr.internal.JVM.FILE_DELTA_CHANGE:Ljava/lang/Object;
            dup
            astore 3
            monitorenter
         1: .line 489
            getstatic jdk.jfr.internal.JVM.FILE_DELTA_CHANGE:Ljava/lang/Object;
            lload 1 /* duration */
            ldc 10
            lcmp
            ifge 2
            ldc 10
            goto 3
      StackMap locals: jdk.jfr.internal.PlatformRecorder long java.lang.Object
      StackMap stack: java.lang.Object
         2: lload 1 /* duration */
      StackMap locals: jdk.jfr.internal.PlatformRecorder long java.lang.Object
      StackMap stack: java.lang.Object long
         3: invokevirtual java.lang.Object.wait:(J)V
         4: .line 488
            aload 3
            monitorexit
         5: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: aload 3
            monitorexit
         7: athrow
         8: .line 491
      StackMap locals: jdk.jfr.internal.PlatformRecorder long
      StackMap stack: java.lang.InterruptedException
            pop
         9: .line 494
      StackMap locals:
      StackMap stack:
            return
        end local 1 // long duration
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   10     0      this  Ljdk/jfr/internal/PlatformRecorder;
            0   10     1  duration  J
      Exception table:
        from    to  target  type
           1     5       6  any
           6     7       6  any
           0     8       8  Class java.lang.InterruptedException
    MethodParameters:
          Name  Flags
      duration  

  synchronized jdk.jfr.Recording newCopy(jdk.jfr.internal.PlatformRecording, boolean);
    descriptor: (Ljdk/jfr/internal/PlatformRecording;Z)Ljdk/jfr/Recording;
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=4, locals=7, args_size=3
        start local 0 // jdk.jfr.internal.PlatformRecorder this
        start local 1 // jdk.jfr.internal.PlatformRecording r
        start local 2 // boolean stop
         0: .line 497
            new jdk.jfr.Recording
            dup
            invokespecial jdk.jfr.Recording.<init>:()V
            astore 3 /* newRec */
        start local 3 // jdk.jfr.Recording newRec
         1: .line 498
            invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
            aload 3 /* newRec */
            invokevirtual jdk.jfr.internal.PrivateAccess.getPlatformRecording:(Ljdk/jfr/Recording;)Ljdk/jfr/internal/PlatformRecording;
            astore 4 /* copy */
        start local 4 // jdk.jfr.internal.PlatformRecording copy
         2: .line 499
            aload 4 /* copy */
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getSettings:()Ljava/util/Map;
            invokevirtual jdk.jfr.internal.PlatformRecording.setSettings:(Ljava/util/Map;)V
         3: .line 500
            aload 4 /* copy */
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getMaxAge:()Ljava/time/Duration;
            invokevirtual jdk.jfr.internal.PlatformRecording.setMaxAge:(Ljava/time/Duration;)V
         4: .line 501
            aload 4 /* copy */
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getMaxSize:()Ljava/lang/Long;
            invokevirtual java.lang.Long.longValue:()J
            invokevirtual jdk.jfr.internal.PlatformRecording.setMaxSize:(J)V
         5: .line 502
            aload 4 /* copy */
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getDumpOnExit:()Z
            invokevirtual jdk.jfr.internal.PlatformRecording.setDumpOnExit:(Z)V
         6: .line 503
            aload 4 /* copy */
            new java.lang.StringBuilder
            dup
            ldc "Clone of "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual jdk.jfr.internal.PlatformRecording.setName:(Ljava/lang/String;)V
         7: .line 504
            aload 4 /* copy */
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
            invokevirtual jdk.jfr.internal.PlatformRecording.setToDisk:(Z)V
         8: .line 505
            aload 4 /* copy */
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getDuration:()Ljava/time/Duration;
            invokevirtual jdk.jfr.internal.PlatformRecording.setInternalDuration:(Ljava/time/Duration;)V
         9: .line 506
            aload 4 /* copy */
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getStartTime:()Ljava/time/Instant;
            invokevirtual jdk.jfr.internal.PlatformRecording.setStartTime:(Ljava/time/Instant;)V
        10: .line 507
            aload 4 /* copy */
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getStopTime:()Ljava/time/Instant;
            invokevirtual jdk.jfr.internal.PlatformRecording.setStopTime:(Ljava/time/Instant;)V
        11: .line 508
            aload 4 /* copy */
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getFlushInterval:()Ljava/time/Duration;
            invokevirtual jdk.jfr.internal.PlatformRecording.setFlushInterval:(Ljava/time/Duration;)V
        12: .line 510
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.NEW:Ljdk/jfr/RecordingState;
            if_acmpne 14
        13: .line 511
            aload 3 /* newRec */
            areturn
        14: .line 513
      StackMap locals: jdk.jfr.Recording jdk.jfr.internal.PlatformRecording
      StackMap stack:
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.DELAYED:Ljdk/jfr/RecordingState;
            if_acmpne 17
        15: .line 514
            aload 4 /* copy */
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getStartTime:()Ljava/time/Instant;
            invokevirtual jdk.jfr.internal.PlatformRecording.scheduleStart:(Ljava/time/Instant;)V
        16: .line 515
            aload 3 /* newRec */
            areturn
        17: .line 517
      StackMap locals:
      StackMap stack:
            aload 4 /* copy */
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
        18: .line 519
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getChunks:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 6
            goto 21
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording int jdk.jfr.Recording jdk.jfr.internal.PlatformRecording top java.util.Iterator
      StackMap stack:
        19: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RepositoryChunk
            astore 5 /* c */
        start local 5 // jdk.jfr.internal.RepositoryChunk c
        20: .line 520
            aload 4 /* copy */
            aload 5 /* c */
            invokevirtual jdk.jfr.internal.PlatformRecording.add:(Ljdk/jfr/internal/RepositoryChunk;)V
        end local 5 // jdk.jfr.internal.RepositoryChunk c
        21: .line 519
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 19
        22: .line 522
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            if_acmpne 30
        23: .line 523
            iload 2 /* stop */
            ifeq 26
        24: .line 524
            aload 4 /* copy */
            new java.lang.StringBuilder
            dup
            ldc "Stopped when cloning recording '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "'"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual jdk.jfr.internal.PlatformRecording.stop:(Ljava/lang/String;)Z
            pop
        25: .line 525
            goto 30
        26: .line 526
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording int jdk.jfr.Recording jdk.jfr.internal.PlatformRecording
      StackMap stack:
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getStopTime:()Ljava/time/Instant;
            ifnull 30
        27: .line 527
            aload 4 /* copy */
            invokevirtual jdk.jfr.internal.PlatformRecording.createStopTask:()Ljava/util/TimerTask;
            astore 5 /* stopTask */
        start local 5 // java.util.TimerTask stopTask
        28: .line 528
            aload 4 /* copy */
            aload 4 /* copy */
            invokevirtual jdk.jfr.internal.PlatformRecording.createStopTask:()Ljava/util/TimerTask;
            invokevirtual jdk.jfr.internal.PlatformRecording.setStopTask:(Ljava/util/TimerTask;)V
        29: .line 529
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.getTimer:()Ljava/util/Timer;
            aload 5 /* stopTask */
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getStopTime:()Ljava/time/Instant;
            invokevirtual java.time.Instant.toEpochMilli:()J
            invokevirtual java.util.Timer.schedule:(Ljava/util/TimerTask;J)V
        end local 5 // java.util.TimerTask stopTask
        30: .line 533
      StackMap locals:
      StackMap stack:
            aload 3 /* newRec */
            areturn
        end local 4 // jdk.jfr.internal.PlatformRecording copy
        end local 3 // jdk.jfr.Recording newRec
        end local 2 // boolean stop
        end local 1 // jdk.jfr.internal.PlatformRecording r
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   31     0      this  Ljdk/jfr/internal/PlatformRecorder;
            0   31     1         r  Ljdk/jfr/internal/PlatformRecording;
            0   31     2      stop  Z
            1   31     3    newRec  Ljdk/jfr/Recording;
            2   31     4      copy  Ljdk/jfr/internal/PlatformRecording;
           20   21     5         c  Ljdk/jfr/internal/RepositoryChunk;
           28   30     5  stopTask  Ljava/util/TimerTask;
    MethodParameters:
      Name  Flags
      r     
      stop  

  public synchronized void fillWithRecordedData(jdk.jfr.internal.PlatformRecording, java.lang.Boolean);
    descriptor: (Ljdk/jfr/internal/PlatformRecording;Ljava/lang/Boolean;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=8, args_size=3
        start local 0 // jdk.jfr.internal.PlatformRecorder this
        start local 1 // jdk.jfr.internal.PlatformRecording target
        start local 2 // java.lang.Boolean pathToGcRoots
         0: .line 537
            iconst_0
            istore 3 /* running */
        start local 3 // boolean running
         1: .line 538
            iconst_0
            istore 4 /* toDisk */
        start local 4 // boolean toDisk
         2: .line 540
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.recordings:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 6
            goto 8
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.lang.Boolean int int top java.util.Iterator
      StackMap stack:
         3: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.PlatformRecording
            astore 5 /* r */
        start local 5 // jdk.jfr.internal.PlatformRecording r
         4: .line 541
            aload 5 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            if_acmpne 8
         5: .line 542
            iconst_1
            istore 3 /* running */
         6: .line 543
            aload 5 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
            ifeq 8
         7: .line 544
            iconst_1
            istore 4 /* toDisk */
        end local 5 // jdk.jfr.internal.PlatformRecording r
         8: .line 540
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         9: .line 549
            iload 3 /* running */
            ifeq 29
        10: .line 550
            iload 4 /* toDisk */
            ifeq 14
        11: .line 551
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.recordings:Ljava/util/List;
            aload 2 /* pathToGcRoots */
            invokestatic jdk.jfr.internal.OldObjectSample.emit:(Ljava/util/List;Ljava/lang/Boolean;)V
        12: .line 552
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.rotateDisk:()V
        13: .line 553
            goto 29
        14: .line 554
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.lang.Boolean int int
      StackMap stack:
            aconst_null
            astore 5
            aconst_null
            astore 6
        15: aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.newTemporaryRecording:()Ljdk/jfr/internal/PlatformRecording;
            astore 7 /* snapshot */
        start local 7 // jdk.jfr.internal.PlatformRecording snapshot
        16: .line 555
            aload 7 /* snapshot */
            iconst_1
            invokevirtual jdk.jfr.internal.PlatformRecording.setToDisk:(Z)V
        17: .line 556
            aload 7 /* snapshot */
            iconst_0
            invokevirtual jdk.jfr.internal.PlatformRecording.setShouldWriteActiveRecordingEvent:(Z)V
        18: .line 557
            aload 7 /* snapshot */
            invokevirtual jdk.jfr.internal.PlatformRecording.start:()J
            pop2
        19: .line 558
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.recordings:Ljava/util/List;
            aload 2 /* pathToGcRoots */
            invokestatic jdk.jfr.internal.OldObjectSample.emit:(Ljava/util/List;Ljava/lang/Boolean;)V
        20: .line 559
            aload 7 /* snapshot */
            ldc "Snapshot dump"
            invokevirtual jdk.jfr.internal.PlatformRecording.stop:(Ljava/lang/String;)Z
            pop
        21: .line 560
            aload 0 /* this */
            aload 1 /* target */
            invokevirtual jdk.jfr.internal.PlatformRecorder.fillWithDiskChunks:(Ljdk/jfr/internal/PlatformRecording;)V
        22: .line 561
            aload 7 /* snapshot */
            ifnull 28
            aload 7 /* snapshot */
            invokevirtual jdk.jfr.internal.PlatformRecording.close:()V
            goto 28
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.lang.Boolean int int java.lang.Throwable java.lang.Throwable jdk.jfr.internal.PlatformRecording
      StackMap stack: java.lang.Throwable
        23: astore 5
            aload 7 /* snapshot */
            ifnull 24
            aload 7 /* snapshot */
            invokevirtual jdk.jfr.internal.PlatformRecording.close:()V
        end local 7 // jdk.jfr.internal.PlatformRecording snapshot
      StackMap locals:
      StackMap stack:
        24: aload 5
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        25: astore 6
            aload 5
            ifnonnull 26
            aload 6
            astore 5
            goto 27
      StackMap locals:
      StackMap stack:
        26: aload 5
            aload 6
            if_acmpeq 27
            aload 5
            aload 6
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        27: aload 5
            athrow
        28: .line 562
      StackMap locals:
      StackMap stack:
            return
        29: .line 565
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* target */
            invokevirtual jdk.jfr.internal.PlatformRecorder.fillWithDiskChunks:(Ljdk/jfr/internal/PlatformRecording;)V
        30: .line 566
            return
        end local 4 // boolean toDisk
        end local 3 // boolean running
        end local 2 // java.lang.Boolean pathToGcRoots
        end local 1 // jdk.jfr.internal.PlatformRecording target
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   31     0           this  Ljdk/jfr/internal/PlatformRecorder;
            0   31     1         target  Ljdk/jfr/internal/PlatformRecording;
            0   31     2  pathToGcRoots  Ljava/lang/Boolean;
            1   31     3        running  Z
            2   31     4         toDisk  Z
            4    8     5              r  Ljdk/jfr/internal/PlatformRecording;
           16   24     7       snapshot  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
          16    22      23  any
          15    25      25  any
    MethodParameters:
               Name  Flags
      target         
      pathToGcRoots  

  private void fillWithDiskChunks(jdk.jfr.internal.PlatformRecording);
    descriptor: (Ljdk/jfr/internal/PlatformRecording;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=6, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecorder this
        start local 1 // jdk.jfr.internal.PlatformRecording target
         0: .line 569
            aload 0 /* this */
            aconst_null
            aconst_null
            invokevirtual jdk.jfr.internal.PlatformRecorder.makeChunkList:(Ljava/time/Instant;Ljava/time/Instant;)Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 3
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording top java.util.Iterator
      StackMap stack:
         1: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RepositoryChunk
            astore 2 /* c */
        start local 2 // jdk.jfr.internal.RepositoryChunk c
         2: .line 570
            aload 1 /* target */
            aload 2 /* c */
            invokevirtual jdk.jfr.internal.PlatformRecording.add:(Ljdk/jfr/internal/RepositoryChunk;)V
        end local 2 // jdk.jfr.internal.RepositoryChunk c
         3: .line 569
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         4: .line 572
            aload 1 /* target */
            getstatic jdk.jfr.RecordingState.STOPPED:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
         5: .line 573
            aconst_null
            astore 2 /* startTime */
        start local 2 // java.time.Instant startTime
         6: .line 574
            aconst_null
            astore 3 /* endTime */
        start local 3 // java.time.Instant endTime
         7: .line 576
            aload 1 /* target */
            invokevirtual jdk.jfr.internal.PlatformRecording.getChunks:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 5
            goto 13
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.time.Instant java.time.Instant top java.util.Iterator
      StackMap stack:
         8: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RepositoryChunk
            astore 4 /* c */
        start local 4 // jdk.jfr.internal.RepositoryChunk c
         9: .line 577
            aload 2 /* startTime */
            ifnull 10
            aload 4 /* c */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getStartTime:()Ljava/time/Instant;
            aload 2 /* startTime */
            invokevirtual java.time.Instant.isBefore:(Ljava/time/Instant;)Z
            ifeq 11
        10: .line 578
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.time.Instant java.time.Instant jdk.jfr.internal.RepositoryChunk java.util.Iterator
      StackMap stack:
            aload 4 /* c */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getStartTime:()Ljava/time/Instant;
            astore 2 /* startTime */
        11: .line 580
      StackMap locals:
      StackMap stack:
            aload 3 /* endTime */
            ifnull 12
            aload 4 /* c */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getEndTime:()Ljava/time/Instant;
            aload 3 /* endTime */
            invokevirtual java.time.Instant.isAfter:(Ljava/time/Instant;)Z
            ifeq 13
        12: .line 581
      StackMap locals:
      StackMap stack:
            aload 4 /* c */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getEndTime:()Ljava/time/Instant;
            astore 3 /* endTime */
        end local 4 // jdk.jfr.internal.RepositoryChunk c
        13: .line 576
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.time.Instant java.time.Instant top java.util.Iterator
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        14: .line 584
            invokestatic java.time.Instant.now:()Ljava/time/Instant;
            astore 4 /* now */
        start local 4 // java.time.Instant now
        15: .line 585
            aload 2 /* startTime */
            ifnonnull 17
        16: .line 586
            aload 4 /* now */
            astore 2 /* startTime */
        17: .line 588
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.time.Instant java.time.Instant java.time.Instant
      StackMap stack:
            aload 3 /* endTime */
            ifnonnull 19
        18: .line 589
            aload 4 /* now */
            astore 3 /* endTime */
        19: .line 591
      StackMap locals:
      StackMap stack:
            aload 1 /* target */
            aload 2 /* startTime */
            invokevirtual jdk.jfr.internal.PlatformRecording.setStartTime:(Ljava/time/Instant;)V
        20: .line 592
            aload 1 /* target */
            aload 3 /* endTime */
            invokevirtual jdk.jfr.internal.PlatformRecording.setStopTime:(Ljava/time/Instant;)V
        21: .line 593
            aload 1 /* target */
            aload 2 /* startTime */
            aload 3 /* endTime */
            invokestatic java.time.Duration.between:(Ljava/time/temporal/Temporal;Ljava/time/temporal/Temporal;)Ljava/time/Duration;
            invokevirtual jdk.jfr.internal.PlatformRecording.setInternalDuration:(Ljava/time/Duration;)V
        22: .line 594
            return
        end local 4 // java.time.Instant now
        end local 3 // java.time.Instant endTime
        end local 2 // java.time.Instant startTime
        end local 1 // jdk.jfr.internal.PlatformRecording target
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   23     0       this  Ljdk/jfr/internal/PlatformRecorder;
            0   23     1     target  Ljdk/jfr/internal/PlatformRecording;
            2    3     2          c  Ljdk/jfr/internal/RepositoryChunk;
            6   23     2  startTime  Ljava/time/Instant;
            7   23     3    endTime  Ljava/time/Instant;
            9   13     4          c  Ljdk/jfr/internal/RepositoryChunk;
           15   23     4        now  Ljava/time/Instant;
    MethodParameters:
        Name  Flags
      target  

  public synchronized void migrate(jdk.jfr.internal.SecuritySupport$SafePath);
    descriptor: (Ljdk/jfr/internal/SecuritySupport$SafePath;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecorder this
        start local 1 // jdk.jfr.internal.SecuritySupport$SafePath repo
         0: .line 599
            invokestatic jdk.jfr.internal.Repository.getRepository:()Ljdk/jfr/internal/Repository;
            aload 1 /* repo */
            invokevirtual jdk.jfr.internal.Repository.setBasePath:(Ljdk/jfr/internal/SecuritySupport$SafePath;)V
         1: .line 600
            iconst_0
            istore 2 /* disk */
        start local 2 // boolean disk
         2: .line 601
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.getRecordings:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 6
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.SecuritySupport$SafePath int top java.util.Iterator
      StackMap stack:
         3: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.PlatformRecording
            astore 3 /* s */
        start local 3 // jdk.jfr.internal.PlatformRecording s
         4: .line 602
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            aload 3 /* s */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            if_acmpne 6
            aload 3 /* s */
            invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
            ifeq 6
         5: .line 603
            iconst_1
            istore 2 /* disk */
        end local 3 // jdk.jfr.internal.PlatformRecording s
         6: .line 601
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         7: .line 606
            iload 2 /* disk */
            ifeq 10
         8: .line 607
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.markChunkFinal:()V
         9: .line 608
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.rotateDisk:()V
        10: .line 610
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.SecuritySupport$SafePath int
      StackMap stack:
            return
        end local 2 // boolean disk
        end local 1 // jdk.jfr.internal.SecuritySupport$SafePath repo
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Ljdk/jfr/internal/PlatformRecorder;
            0   11     1  repo  Ljdk/jfr/internal/SecuritySupport$SafePath;
            2   11     2  disk  Z
            4    6     3     s  Ljdk/jfr/internal/PlatformRecording;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      repo  

  private static void lambda$0(java.util.List);
    descriptor: (Ljava/util/List;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=5, locals=1, args_size=1
         0: .line 101
            aload 0
            new java.util.Timer
            dup
            ldc "JFR Recording Scheduler"
            iconst_1
            invokespecial java.util.Timer.<init>:(Ljava/lang/String;Z)V
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         1: .line 102
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void lambda$1();
    descriptor: ()V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecorder this
         0: .line 425
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.periodicTask:()V
            return
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/PlatformRecorder;
}
SourceFile: "PlatformRecorder.java"
InnerClasses:
  public abstract UncaughtExceptionHandler = java.lang.Thread$UncaughtExceptionHandler of java.lang.Thread
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public final SafePath = jdk.jfr.internal.SecuritySupport$SafePath of jdk.jfr.internal.SecuritySupport
  final SecureRecorderListener = jdk.jfr.internal.SecuritySupport$SecureRecorderListener of jdk.jfr.internal.SecuritySupport
  final ExceptionHandler = jdk.jfr.internal.ShutdownHook$ExceptionHandler of jdk.jfr.internal.ShutdownHook