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 final java.util.Timer timer;
    descriptor: Ljava/util/Timer;
    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 long recordingCounter;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

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

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 63
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putstatic jdk.jfr.internal.PlatformRecorder.changeListeners:Ljava/util/List;
         1: .line 66
            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 74
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 62
            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 71
            aload 0 /* this */
            lconst_0
            putfield jdk.jfr.internal.PlatformRecorder.recordingCounter:J
         3: .line 75
            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 76
            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 77
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.repository:Ljdk/jfr/internal/Repository;
            invokevirtual jdk.jfr.internal.Repository.ensureRepository:()V
         6: .line 78
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.createNativeJFR:()V
         7: .line 79
            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 80
            invokestatic jdk.jfr.internal.instrument.JDKEvents.initialize:()V
         9: .line 81
            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 82
            invokestatic jdk.jfr.internal.instrument.JDKEvents.addInstrumentation:()V
        11: .line 83
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.startDiskMonitor:()V
        12: .line 84
            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 85
            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 86
            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 87
            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 88
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.shutdownHook:Ljava/lang/Thread;
            invokestatic jdk.jfr.internal.SecuritySupport.registerShutdownHook:(Ljava/lang/Thread;)V
        17: .line 89
            aload 0 /* this */
            invokestatic jdk.jfr.internal.PlatformRecorder.createTimer:()Ljava/util/Timer;
            putfield jdk.jfr.internal.PlatformRecorder.timer:Ljava/util/Timer;
        18: .line 90
            return
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   19     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 95
            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 96
            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 99
            aload 1 /* t */
            invokevirtual java.lang.Thread.start:()V
         3: .line 100
            aload 1 /* t */
            invokevirtual java.lang.Thread.join:()V
         4: .line 101
            aload 0 /* result */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.util.Timer
         5: areturn
        end local 1 // java.lang.Thread t
        end local 0 // java.util.List result
         6: .line 102
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            astore 0 /* e */
        start local 0 // java.lang.InterruptedException e
         7: .line 103
            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    6     0  result  Ljava/util/List<Ljava/util/Timer;>;
            2    6     1       t  Ljava/lang/Thread;
            7    8     0       e  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
           0     5       6  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 108
            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 114
            aload 0 /* this */
            invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
            ifne 2
         1: .line 115
            new java.lang.InternalError
            dup
            ldc "Caller must have recorder lock"
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 117
      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 121
            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 122
            aload 1 /* settings */
            invokeinterface java.util.Map.isEmpty:()Z
            ifne 3
         2: .line 123
            aload 4 /* recording */
            aload 1 /* settings */
            invokevirtual jdk.jfr.internal.PlatformRecording.setSettings:(Ljava/util/Map;)V
         3: .line 125
      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 126
            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 130
            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 131
            aload 1 /* recording */
            ldc "Recording closed"
            invokevirtual jdk.jfr.internal.PlatformRecording.stop:(Ljava/lang/String;)Z
            pop
         2: .line 133
      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 134
            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 137
            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 141
            invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
            astore 1 /* context */
        start local 1 // java.security.AccessControlContext context
         1: .line 142
            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 144
            ldc Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 4
            monitorenter
         3: .line 145
            invokestatic jdk.jfr.FlightRecorder.isInitialized:()Z
            istore 3 /* runInitialized */
        start local 3 // boolean runInitialized
         4: .line 146
            getstatic jdk.jfr.internal.PlatformRecorder.changeListeners:Ljava/util/List;
            aload 2 /* sl */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         5: .line 144
            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 148
      StackMap locals: jdk.jfr.FlightRecorderListener java.security.AccessControlContext jdk.jfr.internal.SecuritySupport$SecureRecorderListener int
      StackMap stack:
            iload 3 /* runInitialized */
            ifeq 11
        10: .line 149
            aload 2 /* sl */
            invokestatic jdk.jfr.FlightRecorder.getFlightRecorder:()Ljdk/jfr/FlightRecorder;
            invokevirtual jdk.jfr.internal.SecuritySupport$SecureRecorderListener.recorderInitialized:(Ljdk/jfr/FlightRecorder;)V
        11: .line 151
      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 154
            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 155
            aload 1 /* s */
            invokevirtual jdk.jfr.internal.SecuritySupport$SecureRecorderListener.getChangeListener:()Ljdk/jfr/FlightRecorderListener;
            aload 0 /* changeListener */
            if_acmpne 5
         3: .line 156
            getstatic jdk.jfr.internal.PlatformRecorder.changeListeners:Ljava/util/List;
            aload 1 /* s */
            invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
            pop
         4: .line 157
            iconst_1
            ireturn
        end local 1 // jdk.jfr.internal.SecuritySupport$SecureRecorderListener s
         5: .line 154
      StackMap locals:
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         6: .line 160
            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 164
            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;>;

  java.util.Timer getTimer();
    descriptor: ()Ljava/util/Timer;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecorder this
         0: .line 168
            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    1     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 172
            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 173
            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 174
            aload 1 /* r */
            aload 0 /* recorder */
            invokeinterface jdk.jfr.FlightRecorderListener.recorderInitialized:(Ljdk/jfr/FlightRecorder;)V
        end local 1 // jdk.jfr.FlightRecorderListener r
         4: .line 173
      StackMap locals:
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 176
            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 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 181
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.timer:Ljava/util/Timer;
            invokevirtual java.util.Timer.cancel:()V
         1: .line 182
            goto 4
      StackMap locals:
      StackMap stack: java.lang.Exception
         2: pop
         3: .line 183
            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
         4: .line 186
      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 11
      StackMap locals: jdk.jfr.internal.PlatformRecorder top java.util.Iterator
      StackMap stack:
         5: 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
         6: .line 187
            aload 1 /* p */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            if_acmpne 11
         7: .line 189
            aload 1 /* p */
            ldc "Shutdown"
            invokevirtual jdk.jfr.internal.PlatformRecording.stop:(Ljava/lang/String;)Z
            pop
         8: .line 190
            goto 11
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.util.Iterator
      StackMap stack: java.lang.Exception
         9: pop
        10: .line 191
            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
        11: .line 186
      StackMap locals: jdk.jfr.internal.PlatformRecorder top java.util.Iterator
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 5
        12: .line 196
            invokestatic jdk.jfr.internal.instrument.JDKEvents.remove:()V
        13: .line 198
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.hasNativeJFR:()Z
            ifeq 17
        14: .line 199
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.isRecording:()Z
            ifeq 16
        15: .line 200
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.endRecording_:()V
        16: .line 202
      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
        17: .line 204
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.repository:Ljdk/jfr/internal/Repository;
            invokevirtual jdk.jfr.internal.Repository.clear:()V
        18: .line 205
            return
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   19     0  this  Ljdk/jfr/internal/PlatformRecorder;
            6   11     1     p  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Exception
           7     8       9  Class java.lang.Exception

  synchronized void start(jdk.jfr.internal.PlatformRecording);
    descriptor: (Ljdk/jfr/internal/PlatformRecording;)V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=4, locals=8, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecorder this
        start local 1 // jdk.jfr.internal.PlatformRecording recording
         0: .line 209
            invokestatic java.time.Instant.now:()Ljava/time/Instant;
            astore 2 /* now */
        start local 2 // java.time.Instant now
         1: .line 210
            aload 1 /* recording */
            aload 2 /* now */
            invokevirtual jdk.jfr.internal.PlatformRecording.setStartTime:(Ljava/time/Instant;)V
         2: .line 211
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecording.updateTimer:()V
         3: .line 212
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecording.getDuration:()Ljava/time/Duration;
            astore 3 /* duration */
        start local 3 // java.time.Duration duration
         4: .line 213
            aload 3 /* duration */
            ifnull 6
         5: .line 214
            aload 1 /* recording */
            aload 2 /* now */
            aload 3 /* duration */
            invokevirtual java.time.Instant.plus:(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;
            invokevirtual jdk.jfr.internal.PlatformRecording.setStopTime:(Ljava/time/Instant;)V
         6: .line 216
      StackMap locals: java.time.Instant java.time.Duration
      StackMap stack:
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
            istore 4 /* toDisk */
        start local 4 // boolean toDisk
         7: .line 217
            iconst_1
            istore 5 /* beginPhysical */
        start local 5 // boolean beginPhysical
         8: .line 218
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.getRecordings:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 7
            goto 14
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.time.Instant java.time.Duration int int top java.util.Iterator
      StackMap stack:
         9: aload 7
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.PlatformRecording
            astore 6 /* s */
        start local 6 // jdk.jfr.internal.PlatformRecording s
        10: .line 219
            aload 6 /* s */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            if_acmpne 14
        11: .line 220
            iconst_0
            istore 5 /* beginPhysical */
        12: .line 221
            aload 6 /* s */
            invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
            ifeq 14
        13: .line 222
            iconst_1
            istore 4 /* toDisk */
        end local 6 // jdk.jfr.internal.PlatformRecording s
        14: .line 218
      StackMap locals:
      StackMap stack:
            aload 7
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 9
        15: .line 226
            iload 5 /* beginPhysical */
            ifeq 28
        16: .line 227
            aconst_null
            astore 6 /* newChunk */
        start local 6 // jdk.jfr.internal.RepositoryChunk newChunk
        17: .line 228
            iload 4 /* toDisk */
            ifeq 21
        18: .line 229
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.repository:Ljdk/jfr/internal/Repository;
            aload 2 /* now */
            invokevirtual jdk.jfr.internal.Repository.newChunk:(Ljava/time/Instant;)Ljdk/jfr/internal/RepositoryChunk;
            astore 6 /* newChunk */
        19: .line 230
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            aload 6 /* newChunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getUnfishedFile:()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
        20: .line 231
            goto 22
        21: .line 232
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.time.Instant java.time.Duration int int 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
        22: .line 234
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 6 /* newChunk */
            putfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
        23: .line 235
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.beginRecording_:()V
        24: .line 236
            aload 1 /* recording */
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
        25: .line 237
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.updateSettings:()V
        26: .line 238
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.writeMetaEvents:()V
        end local 6 // jdk.jfr.internal.RepositoryChunk newChunk
        27: .line 239
            goto 39
        28: .line 240
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 6 /* newChunk */
        start local 6 // jdk.jfr.internal.RepositoryChunk newChunk
        29: .line 241
            iload 4 /* toDisk */
            ifeq 33
        30: .line 242
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.repository:Ljdk/jfr/internal/Repository;
            aload 2 /* now */
            invokevirtual jdk.jfr.internal.Repository.newChunk:(Ljava/time/Instant;)Ljdk/jfr/internal/RepositoryChunk;
            astore 6 /* newChunk */
        31: .line 243
            invokestatic jdk.jfr.internal.RequestEngine.doChunkEnd:()V
        32: .line 244
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            aload 6 /* newChunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getUnfishedFile:()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
        33: .line 246
      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
        34: .line 247
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.updateSettings:()V
        35: .line 248
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.writeMetaEvents:()V
        36: .line 249
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
            ifnull 38
        37: .line 250
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
            aload 2 /* now */
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecorder.finishChunk:(Ljdk/jfr/internal/RepositoryChunk;Ljava/time/Instant;Ljdk/jfr/internal/PlatformRecording;)V
        38: .line 252
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 6 /* newChunk */
            putfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
        end local 6 // jdk.jfr.internal.RepositoryChunk newChunk
        39: .line 255
      StackMap locals:
      StackMap stack:
            invokestatic jdk.jfr.internal.RequestEngine.doChunkBegin:()V
        40: .line 256
            return
        end local 5 // boolean beginPhysical
        end local 4 // boolean toDisk
        end local 3 // java.time.Duration duration
        end local 2 // java.time.Instant now
        end local 1 // jdk.jfr.internal.PlatformRecording recording
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   41     0           this  Ljdk/jfr/internal/PlatformRecorder;
            0   41     1      recording  Ljdk/jfr/internal/PlatformRecording;
            1   41     2            now  Ljava/time/Instant;
            4   41     3       duration  Ljava/time/Duration;
            7   41     4         toDisk  Z
            8   41     5  beginPhysical  Z
           10   14     6              s  Ljdk/jfr/internal/PlatformRecording;
           17   27     6       newChunk  Ljdk/jfr/internal/RepositoryChunk;
           29   39     6       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=9, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecorder this
        start local 1 // jdk.jfr.internal.PlatformRecording recording
         0: .line 259
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 2 /* state */
        start local 2 // jdk.jfr.RecordingState state
         1: .line 261
            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 262
            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 264
      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 265
            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 267
      StackMap locals:
      StackMap stack:
            invokestatic java.time.Instant.now:()Ljava/time/Instant;
            astore 3 /* now */
        start local 3 // java.time.Instant now
         6: .line 268
            iconst_0
            istore 4 /* toDisk */
        start local 4 // boolean toDisk
         7: .line 269
            iconst_1
            istore 5 /* endPhysical */
        start local 5 // boolean endPhysical
         8: .line 270
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.getRecordings:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 7
            goto 15
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState java.time.Instant int int top java.util.Iterator
      StackMap stack:
         9: aload 7
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.PlatformRecording
            astore 6 /* s */
        start local 6 // jdk.jfr.internal.PlatformRecording s
        10: .line 271
            aload 6 /* s */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 8 /* rs */
        start local 8 // jdk.jfr.RecordingState rs
        11: .line 272
            aload 6 /* s */
            aload 1 /* recording */
            if_acmpeq 15
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            aload 8 /* rs */
            if_acmpne 15
        12: .line 273
            iconst_0
            istore 5 /* endPhysical */
        13: .line 274
            aload 6 /* s */
            invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
            ifeq 15
        14: .line 275
            iconst_1
            istore 4 /* toDisk */
        end local 8 // jdk.jfr.RecordingState rs
        end local 6 // jdk.jfr.internal.PlatformRecording s
        15: .line 270
      StackMap locals:
      StackMap stack:
            aload 7
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 9
        16: .line 279
            aload 1 /* recording */
            invokestatic jdk.jfr.internal.OldObjectSample.emit:(Ljdk/jfr/internal/PlatformRecording;)V
        17: .line 281
            iload 5 /* endPhysical */
            ifeq 29
        18: .line 282
            invokestatic jdk.jfr.internal.RequestEngine.doChunkEnd:()V
        19: .line 283
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
            ifeq 25
        20: .line 284
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
            ifnull 26
        21: .line 285
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            aconst_null
            invokevirtual jdk.jfr.internal.MetadataRepository.setOutput:(Ljava/lang/String;)V
        22: .line 286
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
            aload 3 /* now */
            aconst_null
            invokevirtual jdk.jfr.internal.PlatformRecorder.finishChunk:(Ljdk/jfr/internal/RepositoryChunk;Ljava/time/Instant;Ljdk/jfr/internal/PlatformRecording;)V
        23: .line 287
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
        24: .line 289
            goto 26
        25: .line 291
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState java.time.Instant int int
      StackMap stack:
            aload 0 /* this */
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecorder.dumpMemoryToDestination:(Ljdk/jfr/internal/PlatformRecording;)V
        26: .line 293
      StackMap locals:
      StackMap stack:
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.endRecording_:()V
        27: .line 294
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.disableEvents:()V
        28: .line 295
            goto 42
        29: .line 296
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 6 /* newChunk */
        start local 6 // jdk.jfr.internal.RepositoryChunk newChunk
        30: .line 297
            invokestatic jdk.jfr.internal.RequestEngine.doChunkEnd:()V
        31: .line 298
            aload 0 /* this */
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecorder.updateSettingsButIgnoreRecording:(Ljdk/jfr/internal/PlatformRecording;)V
        32: .line 299
            iload 4 /* toDisk */
            ifeq 36
        33: .line 300
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.repository:Ljdk/jfr/internal/Repository;
            aload 3 /* now */
            invokevirtual jdk.jfr.internal.Repository.newChunk:(Ljava/time/Instant;)Ljdk/jfr/internal/RepositoryChunk;
            astore 6 /* newChunk */
        34: .line 301
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            aload 6 /* newChunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getUnfishedFile:()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
        35: .line 302
            goto 37
        36: .line 303
      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
        37: .line 305
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.writeMetaEvents:()V
        38: .line 306
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
            ifnull 40
        39: .line 307
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
            aload 3 /* now */
            aconst_null
            invokevirtual jdk.jfr.internal.PlatformRecorder.finishChunk:(Ljdk/jfr/internal/RepositoryChunk;Ljava/time/Instant;Ljdk/jfr/internal/PlatformRecording;)V
        40: .line 309
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 6 /* newChunk */
            putfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
        41: .line 310
            invokestatic jdk.jfr.internal.RequestEngine.doChunkBegin:()V
        end local 6 // jdk.jfr.internal.RepositoryChunk newChunk
        42: .line 312
      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
        43: .line 313
            return
        end local 5 // boolean endPhysical
        end local 4 // boolean toDisk
        end local 3 // java.time.Instant now
        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   44     0         this  Ljdk/jfr/internal/PlatformRecorder;
            0   44     1    recording  Ljdk/jfr/internal/PlatformRecording;
            1   44     2        state  Ljdk/jfr/RecordingState;
            6   44     3          now  Ljava/time/Instant;
            7   44     4       toDisk  Z
            8   44     5  endPhysical  Z
           10   15     6            s  Ljdk/jfr/internal/PlatformRecording;
           11   15     8           rs  Ljdk/jfr/RecordingState;
           30   42     6     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 316
            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 317
            aload 2 /* dest */
            ifnull 4
         2: .line 318
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            aload 2 /* dest */
            invokevirtual jdk.jfr.internal.WriteableUserPath.getText:()Ljava/lang/String;
            invokevirtual jdk.jfr.internal.MetadataRepository.setOutput:(Ljava/lang/String;)V
         3: .line 319
            aload 1 /* recording */
            invokevirtual jdk.jfr.internal.PlatformRecording.clearDestination:()V
         4: .line 321
      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 323
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            invokevirtual jdk.jfr.internal.MetadataRepository.disableEvents:()V
         1: .line 324
            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 327
            aload 0 /* this */
            aconst_null
            invokevirtual jdk.jfr.internal.PlatformRecorder.updateSettingsButIgnoreRecording:(Ljdk/jfr/internal/PlatformRecording;)V
         1: .line 328
            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 331
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.getRunningRecordings:()Ljava/util/List;
            astore 2 /* recordings */
        start local 2 // java.util.List recordings
         1: .line 332
            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 333
            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 334
            aload 4 /* r */
            aload 1 /* ignoreMe */
            if_acmpeq 6
         5: .line 335
            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 333
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         7: .line 338
            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 339
            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 342
            invokestatic java.time.Instant.now:()Ljava/time/Instant;
            astore 1 /* now */
        start local 1 // java.time.Instant now
         1: .line 343
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.repository:Ljdk/jfr/internal/Repository;
            aload 1 /* now */
            invokevirtual jdk.jfr.internal.Repository.newChunk:(Ljava/time/Instant;)Ljdk/jfr/internal/RepositoryChunk;
            astore 2 /* newChunk */
        start local 2 // jdk.jfr.internal.RepositoryChunk newChunk
         2: .line 344
            invokestatic jdk.jfr.internal.RequestEngine.doChunkEnd:()V
         3: .line 345
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            aload 2 /* newChunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getUnfishedFile:()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 346
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.writeMetaEvents:()V
         5: .line 347
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
            ifnull 7
         6: .line 348
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
            aload 1 /* now */
            aconst_null
            invokevirtual jdk.jfr.internal.PlatformRecorder.finishChunk:(Ljdk/jfr/internal/RepositoryChunk;Ljava/time/Instant;Ljdk/jfr/internal/PlatformRecording;)V
         7: .line 350
      StackMap locals: java.time.Instant jdk.jfr.internal.RepositoryChunk
      StackMap stack:
            aload 0 /* this */
            aload 2 /* newChunk */
            putfield jdk.jfr.internal.PlatformRecorder.currentChunk:Ljdk/jfr/internal/RepositoryChunk;
         8: .line 351
            invokestatic jdk.jfr.internal.RequestEngine.doChunkBegin:()V
         9: .line 352
            return
        end local 2 // jdk.jfr.internal.RepositoryChunk newChunk
        end local 1 // java.time.Instant 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/Instant;
            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 355
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* runningRecordings */
        start local 1 // java.util.List runningRecordings
         1: .line 356
            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 357
            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 358
            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 356
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         6: .line 361
            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 365
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            astore 3 /* chunkSet */
        start local 3 // java.util.Set chunkSet
         1: .line 366
            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 367
            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 366
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 369
            aload 3 /* chunkSet */
            invokeinterface java.util.Set.size:()I
            ifle 14
         6: .line 370
            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 371
            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 372
            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 373
            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 371
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        12: .line 378
            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 379
            aload 4 /* chunks */
            areturn
        end local 4 // java.util.List chunks
        14: .line 382
      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 386
            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 387
            aload 1 /* t */
            iconst_1
            invokestatic jdk.jfr.internal.SecuritySupport.setDaemonThread:(Ljava/lang/Thread;Z)V
         2: .line 388
            aload 1 /* t */
            invokevirtual java.lang.Thread.start:()V
         3: .line 389
            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 392
            aload 1 /* chunk */
            aload 2 /* time */
            invokevirtual jdk.jfr.internal.RepositoryChunk.finish:(Ljava/time/Instant;)V
         1: .line 393
            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 394
            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 395
            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 393
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         6: .line 398
            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    7     0      this  Ljdk/jfr/internal/PlatformRecorder;
            0    7     1     chunk  Ljdk/jfr/internal/RepositoryChunk;
            0    7     2      time  Ljava/time/Instant;
            0    7     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=9, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecorder this
         0: .line 402
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecorder.activeRecordingEvent:Ljdk/jfr/EventType;
            invokevirtual jdk.jfr.EventType.isEnabled:()Z
            ifeq 29
         1: .line 403
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.getRecordings:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 2
            goto 28
      StackMap locals: jdk.jfr.internal.PlatformRecorder top java.util.Iterator
      StackMap stack:
         2: aload 2
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.PlatformRecording
            astore 1 /* r */
        start local 1 // jdk.jfr.internal.PlatformRecording r
         3: .line 404
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            if_acmpne 28
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.shouldWriteMetadataEvent:()Z
            ifeq 28
         4: .line 405
            new jdk.jfr.events.ActiveRecordingEvent
            dup
            invokespecial jdk.jfr.events.ActiveRecordingEvent.<init>:()V
            astore 3 /* event */
        start local 3 // jdk.jfr.events.ActiveRecordingEvent event
         5: .line 406
            aload 3 /* event */
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getId:()J
            putfield jdk.jfr.events.ActiveRecordingEvent.id:J
         6: .line 407
            aload 3 /* event */
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getName:()Ljava/lang/String;
            putfield jdk.jfr.events.ActiveRecordingEvent.name:Ljava/lang/String;
         7: .line 408
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getDestination:()Ljdk/jfr/internal/WriteableUserPath;
            astore 4 /* p */
        start local 4 // jdk.jfr.internal.WriteableUserPath p
         8: .line 409
            aload 3 /* event */
            aload 4 /* p */
            ifnonnull 9
            aconst_null
            goto 10
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.events.ActiveRecordingEvent jdk.jfr.internal.WriteableUserPath
      StackMap stack: jdk.jfr.events.ActiveRecordingEvent
         9: aload 4 /* p */
            invokevirtual jdk.jfr.internal.WriteableUserPath.getText:()Ljava/lang/String;
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.events.ActiveRecordingEvent 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 410
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getDuration:()Ljava/time/Duration;
            astore 5 /* d */
        start local 5 // java.time.Duration d
        12: .line 411
            aload 3 /* event */
            aload 5 /* d */
            ifnonnull 13
            ldc 9223372036854775807
            goto 14
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.events.ActiveRecordingEvent 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.internal.PlatformRecording java.util.Iterator jdk.jfr.events.ActiveRecordingEvent jdk.jfr.internal.WriteableUserPath java.time.Duration
      StackMap stack: jdk.jfr.events.ActiveRecordingEvent long
        14: putfield jdk.jfr.events.ActiveRecordingEvent.recordingDuration:J
        15: .line 412
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getMaxAge:()Ljava/time/Duration;
            astore 6 /* age */
        start local 6 // java.time.Duration age
        16: .line 413
            aload 3 /* event */
            aload 6 /* age */
            ifnonnull 17
            ldc 9223372036854775807
            goto 18
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.events.ActiveRecordingEvent 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.internal.PlatformRecording java.util.Iterator jdk.jfr.events.ActiveRecordingEvent 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 414
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getMaxSize:()Ljava/lang/Long;
            astore 7 /* size */
        start local 7 // java.lang.Long size
        20: .line 415
            aload 3 /* event */
            aload 7 /* size */
            ifnonnull 21
            ldc 9223372036854775807
            goto 22
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.events.ActiveRecordingEvent 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.internal.PlatformRecording java.util.Iterator jdk.jfr.events.ActiveRecordingEvent 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 416
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getStartTime:()Ljava/time/Instant;
            astore 8 /* start */
        start local 8 // java.time.Instant start
        24: .line 417
            aload 3 /* event */
            aload 8 /* start */
            ifnonnull 25
            ldc 9223372036854775807
            goto 26
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording java.util.Iterator jdk.jfr.events.ActiveRecordingEvent 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.internal.PlatformRecording java.util.Iterator jdk.jfr.events.ActiveRecordingEvent 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 418
            aload 3 /* event */
            invokevirtual jdk.jfr.events.ActiveRecordingEvent.commit:()V
        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 3 // jdk.jfr.events.ActiveRecordingEvent event
        end local 1 // jdk.jfr.internal.PlatformRecording r
        28: .line 403
      StackMap locals: jdk.jfr.internal.PlatformRecorder top java.util.Iterator
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
        29: .line 422
      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 34
        30: .line 423
            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 33
      StackMap locals: jdk.jfr.internal.PlatformRecorder top java.util.Iterator
      StackMap stack:
        31: 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
        32: .line 424
            aload 1 /* ec */
            invokevirtual jdk.jfr.internal.EventControl.writeActiveSettingEvent:()V
        end local 1 // jdk.jfr.internal.EventControl ec
        33: .line 423
      StackMap locals:
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 31
        34: .line 427
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            return
        end local 0 // jdk.jfr.internal.PlatformRecorder this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   35     0   this  Ljdk/jfr/internal/PlatformRecorder;
            3   28     1      r  Ljdk/jfr/internal/PlatformRecording;
            5   28     3  event  Ljdk/jfr/events/ActiveRecordingEvent;
            8   28     4      p  Ljdk/jfr/internal/WriteableUserPath;
           12   28     5      d  Ljava/time/Duration;
           16   28     6    age  Ljava/time/Duration;
           20   28     7   size  Ljava/lang/Long;
           24   28     8  start  Ljava/time/Instant;
           32   33     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 430
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.hasNativeJFR:()Z
            ifne 2
         1: .line 431
            return
         2: .line 434
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         3: .line 435
            getstatic jdk.jfr.internal.PlatformRecorder.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.shouldRotateDisk:()Z
            ifeq 5
         4: .line 436
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.rotateDisk:()V
         5: .line 434
      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 439
      StackMap locals:
      StackMap stack:
            invokestatic jdk.jfr.internal.RequestEngine.doPeriodic:()J
            lstore 1 /* minDelta */
        start local 1 // long minDelta
        10: .line 440
            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 441
            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 433
            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 447
            getstatic jdk.jfr.internal.JVM.FILE_DELTA_CHANGE:Ljava/lang/Object;
            dup
            astore 3
            monitorenter
         1: .line 448
            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 447
            aload 3
            monitorexit
         5: goto 10
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: aload 3
            monitorexit
         7: athrow
         8: .line 450
      StackMap locals: jdk.jfr.internal.PlatformRecorder long
      StackMap stack: java.lang.InterruptedException
            astore 3 /* e */
        start local 3 // java.lang.InterruptedException e
         9: .line 451
            aload 3 /* e */
            invokevirtual java.lang.InterruptedException.printStackTrace:()V
        end local 3 // java.lang.InterruptedException e
        10: .line 453
      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   11     0      this  Ljdk/jfr/internal/PlatformRecorder;
            0   11     1  duration  J
            9   10     3         e  Ljava/lang/InterruptedException;
      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 456
            new jdk.jfr.Recording
            dup
            invokespecial jdk.jfr.Recording.<init>:()V
            astore 3 /* newRec */
        start local 3 // jdk.jfr.Recording newRec
         1: .line 457
            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 458
            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 459
            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 460
            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 461
            aload 4 /* copy */
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getDumpOnExit:()Z
            invokevirtual jdk.jfr.internal.PlatformRecording.setDumpOnExit:(Z)V
         6: .line 462
            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 463
            aload 4 /* copy */
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
            invokevirtual jdk.jfr.internal.PlatformRecording.setToDisk:(Z)V
         8: .line 464
            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 465
            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 466
            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 468
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.NEW:Ljdk/jfr/RecordingState;
            if_acmpne 13
        12: .line 469
            aload 3 /* newRec */
            areturn
        13: .line 471
      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 16
        14: .line 472
            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
        15: .line 473
            aload 3 /* newRec */
            areturn
        16: .line 475
      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
        17: .line 477
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getChunks:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 6
            goto 20
      StackMap locals: jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecording int jdk.jfr.Recording jdk.jfr.internal.PlatformRecording top java.util.Iterator
      StackMap stack:
        18: 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
        19: .line 478
            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
        20: .line 477
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 18
        21: .line 480
            aload 1 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            if_acmpne 29
        22: .line 481
            iload 2 /* stop */
            ifeq 25
        23: .line 482
            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
        24: .line 483
            goto 29
        25: .line 484
      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 29
        26: .line 485
            aload 4 /* copy */
            invokevirtual jdk.jfr.internal.PlatformRecording.createStopTask:()Ljava/util/TimerTask;
            astore 5 /* stopTask */
        start local 5 // java.util.TimerTask stopTask
        27: .line 486
            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
        28: .line 487
            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
        29: .line 491
      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   30     0      this  Ljdk/jfr/internal/PlatformRecorder;
            0   30     1         r  Ljdk/jfr/internal/PlatformRecording;
            0   30     2      stop  Z
            1   30     3    newRec  Ljdk/jfr/Recording;
            2   30     4      copy  Ljdk/jfr/internal/PlatformRecording;
           19   20     5         c  Ljdk/jfr/internal/RepositoryChunk;
           27   29     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 495
            iconst_0
            istore 3 /* running */
        start local 3 // boolean running
         1: .line 496
            iconst_0
            istore 4 /* toDisk */
        start local 4 // boolean toDisk
         2: .line 498
            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 499
            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 500
            iconst_1
            istore 3 /* running */
         6: .line 501
            aload 5 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
            ifeq 8
         7: .line 502
            iconst_1
            istore 4 /* toDisk */
        end local 5 // jdk.jfr.internal.PlatformRecording r
         8: .line 498
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         9: .line 507
            iload 3 /* running */
            ifeq 29
        10: .line 508
            iload 4 /* toDisk */
            ifeq 14
        11: .line 509
            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 510
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.rotateDisk:()V
        13: .line 511
            goto 29
        14: .line 512
      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 513
            aload 7 /* snapshot */
            iconst_1
            invokevirtual jdk.jfr.internal.PlatformRecording.setToDisk:(Z)V
        17: .line 514
            aload 7 /* snapshot */
            iconst_0
            invokevirtual jdk.jfr.internal.PlatformRecording.setShouldWriteActiveRecordingEvent:(Z)V
        18: .line 515
            aload 7 /* snapshot */
            invokevirtual jdk.jfr.internal.PlatformRecording.start:()V
        19: .line 516
            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 517
            aload 7 /* snapshot */
            ldc "Snapshot dump"
            invokevirtual jdk.jfr.internal.PlatformRecording.stop:(Ljava/lang/String;)Z
            pop
        21: .line 518
            aload 0 /* this */
            aload 1 /* target */
            invokevirtual jdk.jfr.internal.PlatformRecorder.fillWithDiskChunks:(Ljdk/jfr/internal/PlatformRecording;)V
        22: .line 519
            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 520
      StackMap locals:
      StackMap stack:
            return
        29: .line 523
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* target */
            invokevirtual jdk.jfr.internal.PlatformRecorder.fillWithDiskChunks:(Ljdk/jfr/internal/PlatformRecording;)V
        30: .line 524
            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 527
            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 528
            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 527
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         4: .line 530
            aload 1 /* target */
            getstatic jdk.jfr.RecordingState.STOPPED:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
         5: .line 531
            aconst_null
            astore 2 /* startTime */
        start local 2 // java.time.Instant startTime
         6: .line 532
            aconst_null
            astore 3 /* endTime */
        start local 3 // java.time.Instant endTime
         7: .line 534
            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 535
            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 536
      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 538
      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 539
      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 534
      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 542
            invokestatic java.time.Instant.now:()Ljava/time/Instant;
            astore 4 /* now */
        start local 4 // java.time.Instant now
        15: .line 543
            aload 2 /* startTime */
            ifnonnull 17
        16: .line 544
            aload 4 /* now */
            astore 2 /* startTime */
        17: .line 546
      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 547
            aload 4 /* now */
            astore 3 /* endTime */
        19: .line 549
      StackMap locals:
      StackMap stack:
            aload 1 /* target */
            aload 2 /* startTime */
            invokevirtual jdk.jfr.internal.PlatformRecording.setStartTime:(Ljava/time/Instant;)V
        20: .line 550
            aload 1 /* target */
            aload 3 /* endTime */
            invokevirtual jdk.jfr.internal.PlatformRecording.setStopTime:(Ljava/time/Instant;)V
        21: .line 551
            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 552
            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  

  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 97
            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 98
            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 386
            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