public final class jdk.jfr.internal.PlatformRecording implements java.lang.AutoCloseable
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.jfr.internal.PlatformRecording
  super_class: java.lang.Object
{
  private final jdk.jfr.internal.PlatformRecorder recorder;
    descriptor: Ljdk/jfr/internal/PlatformRecorder;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final long id;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.util.Map<java.lang.String, java.lang.String> settings;
    descriptor: Ljava/util/Map;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;

  private java.time.Duration duration;
    descriptor: Ljava/time/Duration;
    flags: (0x0002) ACC_PRIVATE

  private java.time.Duration maxAge;
    descriptor: Ljava/time/Duration;
    flags: (0x0002) ACC_PRIVATE

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

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

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

  private java.lang.String name;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

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

  private jdk.jfr.internal.SecuritySupport$SafePath dumpOnExitDirectory;
    descriptor: Ljdk/jfr/internal/SecuritySupport$SafePath;
    flags: (0x0002) ACC_PRIVATE

  private java.time.Instant stopTime;
    descriptor: Ljava/time/Instant;
    flags: (0x0002) ACC_PRIVATE

  private java.time.Instant startTime;
    descriptor: Ljava/time/Instant;
    flags: (0x0002) ACC_PRIVATE

  private jdk.jfr.RecordingState state;
    descriptor: Ljdk/jfr/RecordingState;
    flags: (0x0002) ACC_PRIVATE

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

  private final java.util.LinkedList<jdk.jfr.internal.RepositoryChunk> chunks;
    descriptor: Ljava/util/LinkedList;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/LinkedList<Ljdk/jfr/internal/RepositoryChunk;>;

  private volatile jdk.jfr.Recording recording;
    descriptor: Ljdk/jfr/Recording;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private java.util.TimerTask stopTask;
    descriptor: Ljava/util/TimerTask;
    flags: (0x0002) ACC_PRIVATE

  private java.util.TimerTask startTask;
    descriptor: Ljava/util/TimerTask;
    flags: (0x0002) ACC_PRIVATE

  private java.security.AccessControlContext noDestinationDumpOnExitAccessControlContext;
    descriptor: Ljava/security/AccessControlContext;
    flags: (0x0002) ACC_PRIVATE

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

  void <init>(jdk.jfr.internal.PlatformRecorder, long);
    descriptor: (Ljdk/jfr/internal/PlatformRecorder;J)V
    flags: (0x0000) 
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // jdk.jfr.internal.PlatformRecorder recorder
        start local 2 // long id
         0: .line 88
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 63
            aload 0 /* this */
            new java.util.LinkedHashMap
            dup
            invokespecial java.util.LinkedHashMap.<init>:()V
            putfield jdk.jfr.internal.PlatformRecording.settings:Ljava/util/Map;
         2: .line 70
            aload 0 /* this */
            iconst_1
            putfield jdk.jfr.internal.PlatformRecording.toDisk:Z
         3: .line 73
            aload 0 /* this */
            new jdk.jfr.internal.SecuritySupport$SafePath
            dup
            ldc "."
            invokespecial jdk.jfr.internal.SecuritySupport$SafePath.<init>:(Ljava/lang/String;)V
            putfield jdk.jfr.internal.PlatformRecording.dumpOnExitDirectory:Ljdk/jfr/internal/SecuritySupport$SafePath;
         4: .line 79
            aload 0 /* this */
            getstatic jdk.jfr.RecordingState.NEW:Ljdk/jfr/RecordingState;
            putfield jdk.jfr.internal.PlatformRecording.state:Ljdk/jfr/RecordingState;
         5: .line 81
            aload 0 /* this */
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            putfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
         6: .line 86
            aload 0 /* this */
            iconst_1
            putfield jdk.jfr.internal.PlatformRecording.shuoldWriteActiveRecordingEvent:Z
         7: .line 95
            aload 0 /* this */
            invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
            putfield jdk.jfr.internal.PlatformRecording.noDestinationDumpOnExitAccessControlContext:Ljava/security/AccessControlContext;
         8: .line 96
            aload 0 /* this */
            lload 2 /* id */
            putfield jdk.jfr.internal.PlatformRecording.id:J
         9: .line 97
            aload 0 /* this */
            aload 1 /* recorder */
            putfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
        10: .line 98
            aload 0 /* this */
            lload 2 /* id */
            invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
            putfield jdk.jfr.internal.PlatformRecording.name:Ljava/lang/String;
        11: .line 99
            return
        end local 2 // long id
        end local 1 // jdk.jfr.internal.PlatformRecorder recorder
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   12     0      this  Ljdk/jfr/internal/PlatformRecording;
            0   12     1  recorder  Ljdk/jfr/internal/PlatformRecorder;
            0   12     2        id  J
    MethodParameters:
          Name  Flags
      recorder  
      id        

  public void start();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 104
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         1: .line 105
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 1 /* oldState */
        start local 1 // jdk.jfr.RecordingState oldState
         2: .line 106
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.state:Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            invokestatic jdk.jfr.internal.Utils.isBefore:(Ljdk/jfr/RecordingState;Ljdk/jfr/RecordingState;)Z
            ifne 4
         3: .line 107
            new java.lang.IllegalStateException
            dup
            ldc "Recording can only be started once."
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 109
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState top jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
            ifnull 8
         5: .line 110
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
            invokevirtual java.util.TimerTask.cancel:()Z
            pop
         6: .line 111
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
         7: .line 112
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.startTime:Ljava/time/Instant;
         8: .line 114
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.start:(Ljdk/jfr/internal/PlatformRecording;)V
         9: .line 115
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            aload 0 /* this */
            invokedynamic get(Ljdk/jfr/internal/PlatformRecording;)Ljava/util/function/Supplier;
              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:
                  ()Ljava/lang/Object;
                  jdk/jfr/internal/PlatformRecording.lambda$0()Ljava/lang/String; (7)
                  ()Ljava/lang/String;
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/util/function/Supplier;)V
        10: .line 143
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 2 /* newState */
        start local 2 // jdk.jfr.RecordingState newState
        11: .line 104
            aload 3
            monitorexit
        12: goto 15
        end local 2 // jdk.jfr.RecordingState newState
        end local 1 // jdk.jfr.RecordingState oldState
      StackMap locals: jdk.jfr.internal.PlatformRecording top top jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
        13: aload 3
            monitorexit
        14: athrow
        start local 1 // jdk.jfr.RecordingState oldState
        start local 2 // jdk.jfr.RecordingState newState
        15: .line 145
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState jdk.jfr.RecordingState
      StackMap stack:
            aload 0 /* this */
            aload 1 /* oldState */
            aload 2 /* newState */
            invokevirtual jdk.jfr.internal.PlatformRecording.notifyIfStateChanged:(Ljdk/jfr/RecordingState;Ljdk/jfr/RecordingState;)V
        16: .line 146
            return
        end local 2 // jdk.jfr.RecordingState newState
        end local 1 // jdk.jfr.RecordingState oldState
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   17     0      this  Ljdk/jfr/internal/PlatformRecording;
            2   13     1  oldState  Ljdk/jfr/RecordingState;
           15   17     1  oldState  Ljdk/jfr/RecordingState;
           11   13     2  newState  Ljdk/jfr/RecordingState;
           15   17     2  newState  Ljdk/jfr/RecordingState;
      Exception table:
        from    to  target  type
           1    12      13  any
          13    14      13  any

  public boolean stop(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.lang.String reason
         0: .line 151
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 4
            monitorenter
         1: .line 152
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 2 /* oldState */
        start local 2 // jdk.jfr.RecordingState oldState
         2: .line 153
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
            ifnull 5
         3: .line 154
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
            invokevirtual java.util.TimerTask.cancel:()Z
            pop
         4: .line 155
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
         5: .line 157
      StackMap locals: jdk.jfr.internal.PlatformRecording java.lang.String jdk.jfr.RecordingState top jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.stop:(Ljdk/jfr/internal/PlatformRecording;)V
         6: .line 158
            aload 1 /* reason */
            ifnonnull 7
            ldc ""
            goto 8
      StackMap locals:
      StackMap stack:
         7: new java.lang.StringBuilder
            dup
            ldc ". Reason \""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* reason */
            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;
      StackMap locals:
      StackMap stack: java.lang.String
         8: astore 5 /* endText */
        start local 5 // java.lang.String endText
         9: .line 159
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            new java.lang.StringBuilder
            dup
            ldc "Stopped recording \""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            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 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getId:()J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 5 /* endText */
            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
        10: .line 160
            aload 0 /* this */
            invokestatic java.time.Instant.now:()Ljava/time/Instant;
            putfield jdk.jfr.internal.PlatformRecording.stopTime:Ljava/time/Instant;
        11: .line 161
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 3 /* newState */
        end local 5 // java.lang.String endText
        start local 3 // jdk.jfr.RecordingState newState
        12: .line 151
            aload 4
            monitorexit
        13: goto 16
        end local 3 // jdk.jfr.RecordingState newState
        end local 2 // jdk.jfr.RecordingState oldState
      StackMap locals: jdk.jfr.internal.PlatformRecording java.lang.String top top jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
        14: aload 4
            monitorexit
        15: athrow
        start local 2 // jdk.jfr.RecordingState oldState
        start local 3 // jdk.jfr.RecordingState newState
        16: .line 163
      StackMap locals: jdk.jfr.internal.PlatformRecording java.lang.String jdk.jfr.RecordingState jdk.jfr.RecordingState
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getDestination:()Ljdk/jfr/internal/WriteableUserPath;
            astore 4 /* dest */
        start local 4 // jdk.jfr.internal.WriteableUserPath dest
        17: .line 165
            aload 4 /* dest */
            ifnull 25
        18: .line 167
            aload 0 /* this */
            aload 4 /* dest */
            invokevirtual jdk.jfr.internal.PlatformRecording.dumpStopped:(Ljdk/jfr/internal/WriteableUserPath;)V
        19: .line 168
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            new java.lang.StringBuilder
            dup
            ldc "Wrote recording \""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            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 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getId:()J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ") to "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 4 /* dest */
            invokevirtual jdk.jfr.internal.WriteableUserPath.getRealPathText:()Ljava/lang/String;
            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
        20: .line 169
            aload 0 /* this */
            aload 3 /* newState */
            aload 2 /* oldState */
            invokevirtual jdk.jfr.internal.PlatformRecording.notifyIfStateChanged:(Ljdk/jfr/RecordingState;Ljdk/jfr/RecordingState;)V
        21: .line 170
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.close:()V
        22: .line 171
            goto 26
      StackMap locals: jdk.jfr.internal.PlatformRecording java.lang.String jdk.jfr.RecordingState jdk.jfr.RecordingState jdk.jfr.internal.WriteableUserPath
      StackMap stack: java.io.IOException
        23: pop
        24: .line 174
            goto 26
        25: .line 175
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 3 /* newState */
            aload 2 /* oldState */
            invokevirtual jdk.jfr.internal.PlatformRecording.notifyIfStateChanged:(Ljdk/jfr/RecordingState;Ljdk/jfr/RecordingState;)V
        26: .line 177
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 4 // jdk.jfr.internal.WriteableUserPath dest
        end local 3 // jdk.jfr.RecordingState newState
        end local 2 // jdk.jfr.RecordingState oldState
        end local 1 // java.lang.String reason
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   27     0      this  Ljdk/jfr/internal/PlatformRecording;
            0   27     1    reason  Ljava/lang/String;
            2   14     2  oldState  Ljdk/jfr/RecordingState;
           16   27     2  oldState  Ljdk/jfr/RecordingState;
           12   14     3  newState  Ljdk/jfr/RecordingState;
           16   27     3  newState  Ljdk/jfr/RecordingState;
            9   12     5   endText  Ljava/lang/String;
           17   27     4      dest  Ljdk/jfr/internal/WriteableUserPath;
      Exception table:
        from    to  target  type
           1    13      14  any
          14    15      14  any
          18    22      23  Class java.io.IOException
    MethodParameters:
        Name  Flags
      reason  

  public void scheduleStart(java.time.Duration);
    descriptor: (Ljava/time/Duration;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.time.Duration delay
         0: .line 181
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 182
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.ensureOkForSchedule:()V
         2: .line 184
            aload 0 /* this */
            invokestatic java.time.Instant.now:()Ljava/time/Instant;
            aload 1 /* delay */
            invokevirtual java.time.Instant.plus:(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;
            putfield jdk.jfr.internal.PlatformRecording.startTime:Ljava/time/Instant;
         3: .line 185
            invokestatic java.time.LocalDateTime.now:()Ljava/time/LocalDateTime;
            aload 1 /* delay */
            invokevirtual java.time.LocalDateTime.plus:(Ljava/time/temporal/TemporalAmount;)Ljava/time/LocalDateTime;
            astore 3 /* now */
        start local 3 // java.time.LocalDateTime now
         4: .line 186
            aload 0 /* this */
            getstatic jdk.jfr.RecordingState.DELAYED:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
         5: .line 187
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.createStartTask:()Ljava/util/TimerTask;
            putfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
         6: .line 188
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            invokevirtual jdk.jfr.internal.PlatformRecorder.getTimer:()Ljava/util/Timer;
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
            aload 1 /* delay */
            invokevirtual java.time.Duration.toMillis:()J
            invokevirtual java.util.Timer.schedule:(Ljava/util/TimerTask;J)V
         7: .line 189
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            new java.lang.StringBuilder
            dup
            ldc "Scheduled recording \""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            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 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getId:()J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ") to start at "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 3 /* now */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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 3 // java.time.LocalDateTime now
         8: .line 181
            aload 2
            monitorexit
         9: goto 12
      StackMap locals: jdk.jfr.internal.PlatformRecording java.time.Duration jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
        10: aload 2
            monitorexit
        11: athrow
        12: .line 191
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.time.Duration delay
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   13     0   this  Ljdk/jfr/internal/PlatformRecording;
            0   13     1  delay  Ljava/time/Duration;
            4    8     3    now  Ljava/time/LocalDateTime;
      Exception table:
        from    to  target  type
           1     9      10  any
          10    11      10  any
    MethodParameters:
       Name  Flags
      delay  

  private void ensureOkForSchedule();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 194
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.NEW:Ljdk/jfr/RecordingState;
            if_acmpeq 2
         1: .line 195
            new java.lang.IllegalStateException
            dup
            ldc "Only a new recoridng can be scheduled for start"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 197
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jfr/internal/PlatformRecording;

  private java.util.TimerTask createStartTask();
    descriptor: ()Ljava/util/TimerTask;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 202
            new jdk.jfr.internal.PlatformRecording$1
            dup
            aload 0 /* this */
            invokespecial jdk.jfr.internal.PlatformRecording$1.<init>:(Ljdk/jfr/internal/PlatformRecording;)V
            areturn
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/PlatformRecording;

  void scheduleStart(java.time.Instant);
    descriptor: (Ljava/time/Instant;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.time.Instant startTime
         0: .line 216
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 217
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.ensureOkForSchedule:()V
         2: .line 218
            aload 0 /* this */
            aload 1 /* startTime */
            putfield jdk.jfr.internal.PlatformRecording.startTime:Ljava/time/Instant;
         3: .line 219
            aload 0 /* this */
            getstatic jdk.jfr.RecordingState.DELAYED:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
         4: .line 220
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.createStartTask:()Ljava/util/TimerTask;
            putfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
         5: .line 221
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            invokevirtual jdk.jfr.internal.PlatformRecorder.getTimer:()Ljava/util/Timer;
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
            aload 1 /* startTime */
            invokevirtual java.time.Instant.toEpochMilli:()J
            invokevirtual java.util.Timer.schedule:(Ljava/util/TimerTask;J)V
         6: .line 216
            aload 2
            monitorexit
         7: goto 10
      StackMap locals: jdk.jfr.internal.PlatformRecording java.time.Instant jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
         8: aload 2
            monitorexit
         9: athrow
        10: .line 223
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.time.Instant startTime
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   11     0       this  Ljdk/jfr/internal/PlatformRecording;
            0   11     1  startTime  Ljava/time/Instant;
      Exception table:
        from    to  target  type
           1     7       8  any
           8     9       8  any
    MethodParameters:
           Name  Flags
      startTime  

  public java.util.Map<java.lang.String, java.lang.String> getSettings();
    descriptor: ()Ljava/util/Map;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 226
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 227
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.settings:Ljava/util/Map;
            aload 1
            monitorexit
         2: areturn
         3: .line 226
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any
    Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;

  public long getSize();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 232
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.size:J
            lreturn
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/PlatformRecording;

  public java.time.Instant getStopTime();
    descriptor: ()Ljava/time/Instant;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 236
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 237
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTime:Ljava/time/Instant;
            aload 1
            monitorexit
         2: areturn
         3: .line 236
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  public java.time.Instant getStartTime();
    descriptor: ()Ljava/time/Instant;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 242
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 243
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startTime:Ljava/time/Instant;
            aload 1
            monitorexit
         2: areturn
         3: .line 242
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  public java.lang.Long getMaxSize();
    descriptor: ()Ljava/lang/Long;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 248
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 249
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxSize:J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aload 1
            monitorexit
         2: areturn
         3: .line 248
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  public java.time.Duration getMaxAge();
    descriptor: ()Ljava/time/Duration;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 254
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 255
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxAge:Ljava/time/Duration;
            aload 1
            monitorexit
         2: areturn
         3: .line 254
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  public java.lang.String getName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 260
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 261
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.name:Ljava/lang/String;
            aload 1
            monitorexit
         2: areturn
         3: .line 260
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  public jdk.jfr.RecordingState getState();
    descriptor: ()Ljdk/jfr/RecordingState;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 266
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 267
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.state:Ljdk/jfr/RecordingState;
            aload 1
            monitorexit
         2: areturn
         3: .line 266
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 276
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         1: .line 277
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 1 /* oldState */
        start local 1 // jdk.jfr.RecordingState oldState
         2: .line 278
            getstatic jdk.jfr.RecordingState.CLOSED:Ljdk/jfr/RecordingState;
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            if_acmpeq 14
         3: .line 279
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
            ifnull 6
         4: .line 280
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
            invokevirtual java.util.TimerTask.cancel:()Z
            pop
         5: .line 281
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
         6: .line 283
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState top jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.finish:(Ljdk/jfr/internal/PlatformRecording;)V
         7: .line 284
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
            astore 5
            goto 10
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState top jdk.jfr.internal.PlatformRecorder 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 285
            aload 0 /* this */
            aload 4 /* c */
            invokevirtual jdk.jfr.internal.PlatformRecording.removed:(Ljdk/jfr/internal/RepositoryChunk;)V
        end local 4 // jdk.jfr.internal.RepositoryChunk c
        10: .line 284
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        11: .line 287
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.clear:()V
        12: .line 288
            aload 0 /* this */
            getstatic jdk.jfr.RecordingState.CLOSED:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
        13: .line 289
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            new java.lang.StringBuilder
            dup
            ldc "Closed recording \""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            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 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getId:()J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ")"
            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
        14: .line 291
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState top jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 2 /* newState */
        start local 2 // jdk.jfr.RecordingState newState
        15: .line 276
            aload 3
            monitorexit
        16: goto 19
        end local 2 // jdk.jfr.RecordingState newState
        end local 1 // jdk.jfr.RecordingState oldState
      StackMap locals: jdk.jfr.internal.PlatformRecording top top jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
        17: aload 3
            monitorexit
        18: athrow
        start local 1 // jdk.jfr.RecordingState oldState
        start local 2 // jdk.jfr.RecordingState newState
        19: .line 293
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState jdk.jfr.RecordingState
      StackMap stack:
            aload 0 /* this */
            aload 2 /* newState */
            aload 1 /* oldState */
            invokevirtual jdk.jfr.internal.PlatformRecording.notifyIfStateChanged:(Ljdk/jfr/RecordingState;Ljdk/jfr/RecordingState;)V
        20: .line 294
            return
        end local 2 // jdk.jfr.RecordingState newState
        end local 1 // jdk.jfr.RecordingState oldState
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   21     0      this  Ljdk/jfr/internal/PlatformRecording;
            2   17     1  oldState  Ljdk/jfr/RecordingState;
           19   21     1  oldState  Ljdk/jfr/RecordingState;
           15   17     2  newState  Ljdk/jfr/RecordingState;
           19   21     2  newState  Ljdk/jfr/RecordingState;
            9   10     4         c  Ljdk/jfr/internal/RepositoryChunk;
      Exception table:
        from    to  target  type
           1    16      17  any
          17    18      17  any

  public jdk.jfr.internal.PlatformRecording newSnapshotClone(java.lang.String, java.lang.Boolean);
    descriptor: (Ljava/lang/String;Ljava/lang/Boolean;)Ljdk/jfr/internal/PlatformRecording;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=3
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.lang.String reason
        start local 2 // java.lang.Boolean pathToGcRoots
         0: .line 299
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
            ifne 2
         1: .line 300
            new java.lang.InternalError
            dup
            ldc "Caller must have recorder lock"
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 302
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 3 /* state */
        start local 3 // jdk.jfr.RecordingState state
         3: .line 303
            aload 3 /* state */
            getstatic jdk.jfr.RecordingState.CLOSED:Ljdk/jfr/RecordingState;
            if_acmpne 5
         4: .line 304
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Recording \""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.name:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "\" (id="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.id:J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ") has been closed, no contents to write"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 306
      StackMap locals: jdk.jfr.RecordingState
      StackMap stack:
            aload 3 /* state */
            getstatic jdk.jfr.RecordingState.DELAYED:Ljdk/jfr/RecordingState;
            if_acmpeq 6
            aload 3 /* state */
            getstatic jdk.jfr.RecordingState.NEW:Ljdk/jfr/RecordingState;
            if_acmpne 7
         6: .line 307
      StackMap locals:
      StackMap stack:
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Recording \""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.name:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "\" (id="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.id:J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ") has not started, no contents to write"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 309
      StackMap locals:
      StackMap stack:
            aload 3 /* state */
            getstatic jdk.jfr.RecordingState.STOPPED:Ljdk/jfr/RecordingState;
            if_acmpne 14
         8: .line 310
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            invokevirtual jdk.jfr.internal.PlatformRecorder.newTemporaryRecording:()Ljdk/jfr/internal/PlatformRecording;
            astore 4 /* clone */
        start local 4 // jdk.jfr.internal.PlatformRecording clone
         9: .line 311
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
            astore 6
            goto 12
      StackMap locals: jdk.jfr.internal.PlatformRecording java.lang.String java.lang.Boolean jdk.jfr.RecordingState jdk.jfr.internal.PlatformRecording top java.util.Iterator
      StackMap stack:
        10: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RepositoryChunk
            astore 5 /* r */
        start local 5 // jdk.jfr.internal.RepositoryChunk r
        11: .line 312
            aload 4 /* clone */
            aload 5 /* r */
            invokevirtual jdk.jfr.internal.PlatformRecording.add:(Ljdk/jfr/internal/RepositoryChunk;)V
        end local 5 // jdk.jfr.internal.RepositoryChunk r
        12: .line 311
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 10
        13: .line 314
            aload 4 /* clone */
            areturn
        end local 4 // jdk.jfr.internal.PlatformRecording clone
        14: .line 318
      StackMap locals: jdk.jfr.internal.PlatformRecording java.lang.String java.lang.Boolean jdk.jfr.RecordingState
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            invokevirtual jdk.jfr.internal.PlatformRecorder.newTemporaryRecording:()Ljdk/jfr/internal/PlatformRecording;
            astore 4 /* clone */
        start local 4 // jdk.jfr.internal.PlatformRecording clone
        15: .line 319
            aload 4 /* clone */
            iconst_0
            invokevirtual jdk.jfr.internal.PlatformRecording.setShouldWriteActiveRecordingEvent:(Z)V
        16: .line 320
            aload 4 /* clone */
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getName:()Ljava/lang/String;
            invokevirtual jdk.jfr.internal.PlatformRecording.setName:(Ljava/lang/String;)V
        17: .line 321
            aload 4 /* clone */
            iconst_1
            invokevirtual jdk.jfr.internal.PlatformRecording.setToDisk:(Z)V
        18: .line 324
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
            ifne 21
        19: .line 326
            aload 4 /* clone */
            invokevirtual jdk.jfr.internal.PlatformRecording.start:()V
        20: .line 327
            goto 27
        21: .line 329
      StackMap locals: jdk.jfr.internal.PlatformRecording
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
            astore 6
            goto 24
      StackMap locals: jdk.jfr.internal.PlatformRecording java.lang.String java.lang.Boolean jdk.jfr.RecordingState jdk.jfr.internal.PlatformRecording top java.util.Iterator
      StackMap stack:
        22: 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
        23: .line 330
            aload 4 /* clone */
            aload 5 /* c */
            invokevirtual jdk.jfr.internal.PlatformRecording.add:(Ljdk/jfr/internal/RepositoryChunk;)V
        end local 5 // jdk.jfr.internal.RepositoryChunk c
        24: .line 329
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 22
        25: .line 332
            aload 4 /* clone */
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
        26: .line 333
            aload 4 /* clone */
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getStartTime:()Ljava/time/Instant;
            invokevirtual jdk.jfr.internal.PlatformRecording.setStartTime:(Ljava/time/Instant;)V
        27: .line 335
      StackMap locals: jdk.jfr.internal.PlatformRecording java.lang.String java.lang.Boolean jdk.jfr.RecordingState jdk.jfr.internal.PlatformRecording
      StackMap stack:
            aload 2 /* pathToGcRoots */
            ifnonnull 31
        28: .line 336
            aload 4 /* clone */
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getSettings:()Ljava/util/Map;
            invokevirtual jdk.jfr.internal.PlatformRecording.setSettings:(Ljava/util/Map;)V
        29: .line 337
            aload 4 /* clone */
            aload 1 /* reason */
            invokevirtual jdk.jfr.internal.PlatformRecording.stop:(Ljava/lang/String;)Z
            pop
        30: .line 338
            goto 38
        31: .line 343
      StackMap locals:
      StackMap stack:
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            dup
            astore 5
            monitorenter
        32: .line 344
            aload 4 /* clone */
            aload 0 /* this */
            aload 2 /* pathToGcRoots */
            invokestatic jdk.jfr.internal.OldObjectSample.createSettingsForSnapshot:(Ljdk/jfr/internal/PlatformRecording;Ljava/lang/Boolean;)Ljava/util/Map;
            invokevirtual jdk.jfr.internal.PlatformRecording.setSettings:(Ljava/util/Map;)V
        33: .line 345
            aload 4 /* clone */
            aload 1 /* reason */
            invokevirtual jdk.jfr.internal.PlatformRecording.stop:(Ljava/lang/String;)Z
            pop
        34: .line 343
            aload 5
            monitorexit
        35: goto 38
      StackMap locals: jdk.jfr.internal.PlatformRecording java.lang.String java.lang.Boolean jdk.jfr.RecordingState jdk.jfr.internal.PlatformRecording jdk.jfr.internal.MetadataRepository
      StackMap stack: java.lang.Throwable
        36: aload 5
            monitorexit
        37: athrow
        38: .line 348
      StackMap locals:
      StackMap stack:
            aload 4 /* clone */
            areturn
        end local 4 // jdk.jfr.internal.PlatformRecording clone
        end local 3 // jdk.jfr.RecordingState state
        end local 2 // java.lang.Boolean pathToGcRoots
        end local 1 // java.lang.String reason
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   39     0           this  Ljdk/jfr/internal/PlatformRecording;
            0   39     1         reason  Ljava/lang/String;
            0   39     2  pathToGcRoots  Ljava/lang/Boolean;
            3   39     3          state  Ljdk/jfr/RecordingState;
            9   14     4          clone  Ljdk/jfr/internal/PlatformRecording;
           11   12     5              r  Ljdk/jfr/internal/RepositoryChunk;
           15   39     4          clone  Ljdk/jfr/internal/PlatformRecording;
           23   24     5              c  Ljdk/jfr/internal/RepositoryChunk;
      Exception table:
        from    to  target  type
          32    35      36  any
          36    37      36  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
               Name  Flags
      reason         
      pathToGcRoots  

  public boolean isToDisk();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 352
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 353
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.toDisk:Z
            aload 1
            monitorexit
         2: ireturn
         3: .line 352
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  public void setMaxSize(long);
    descriptor: (J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // long maxSize
         0: .line 358
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         1: .line 359
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.CLOSED:Ljdk/jfr/RecordingState;
            if_acmpne 3
         2: .line 360
            new java.lang.IllegalStateException
            dup
            ldc "Can't set max age when recording is closed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 362
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            lload 1 /* maxSize */
            putfield jdk.jfr.internal.PlatformRecording.maxSize:J
         4: .line 363
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.trimToSize:()V
         5: .line 358
            aload 3
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 3
            monitorexit
         8: athrow
         9: .line 365
      StackMap locals:
      StackMap stack:
            return
        end local 1 // long maxSize
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0     this  Ljdk/jfr/internal/PlatformRecording;
            0   10     1  maxSize  J
      Exception table:
        from    to  target  type
           1     6       7  any
           7     8       7  any
    MethodParameters:
         Name  Flags
      maxSize  

  public void setDestination(jdk.jfr.internal.WriteableUserPath);
    descriptor: (Ljdk/jfr/internal/WriteableUserPath;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // jdk.jfr.internal.WriteableUserPath userSuppliedPath
         0: .line 368
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 369
            aload 0 /* this */
            aload 1 /* userSuppliedPath */
            invokevirtual jdk.jfr.internal.PlatformRecording.checkSetDestination:(Ljdk/jfr/internal/WriteableUserPath;)V
         2: .line 370
            aload 0 /* this */
            aload 1 /* userSuppliedPath */
            putfield jdk.jfr.internal.PlatformRecording.destination:Ljdk/jfr/internal/WriteableUserPath;
         3: .line 368
            aload 2
            monitorexit
         4: goto 7
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.WriteableUserPath jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
         5: aload 2
            monitorexit
         6: athrow
         7: .line 372
      StackMap locals:
      StackMap stack:
            return
        end local 1 // jdk.jfr.internal.WriteableUserPath userSuppliedPath
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    8     0              this  Ljdk/jfr/internal/PlatformRecording;
            0    8     1  userSuppliedPath  Ljdk/jfr/internal/WriteableUserPath;
      Exception table:
        from    to  target  type
           1     4       5  any
           5     6       5  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
                  Name  Flags
      userSuppliedPath  

  public void checkSetDestination(jdk.jfr.internal.WriteableUserPath);
    descriptor: (Ljdk/jfr/internal/WriteableUserPath;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // jdk.jfr.internal.WriteableUserPath userSuppliedPath
         0: .line 375
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 376
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            iconst_2
            anewarray jdk.jfr.RecordingState
            dup
            iconst_0
            getstatic jdk.jfr.RecordingState.STOPPED:Ljdk/jfr/RecordingState;
            aastore
            dup
            iconst_1
            getstatic jdk.jfr.RecordingState.CLOSED:Ljdk/jfr/RecordingState;
            aastore
            invokestatic jdk.jfr.internal.Utils.isState:(Ljdk/jfr/RecordingState;[Ljdk/jfr/RecordingState;)Z
            ifeq 3
         2: .line 377
            new java.lang.IllegalStateException
            dup
            ldc "Destination can't be set on a recording that has been stopped/closed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 375
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 2
            monitorexit
         4: goto 7
      StackMap locals:
      StackMap stack: java.lang.Throwable
         5: aload 2
            monitorexit
         6: athrow
         7: .line 380
      StackMap locals:
      StackMap stack:
            return
        end local 1 // jdk.jfr.internal.WriteableUserPath userSuppliedPath
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    8     0              this  Ljdk/jfr/internal/PlatformRecording;
            0    8     1  userSuppliedPath  Ljdk/jfr/internal/WriteableUserPath;
      Exception table:
        from    to  target  type
           1     4       5  any
           5     6       5  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
                  Name  Flags
      userSuppliedPath  

  public jdk.jfr.internal.WriteableUserPath getDestination();
    descriptor: ()Ljdk/jfr/internal/WriteableUserPath;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 383
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 384
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.destination:Ljdk/jfr/internal/WriteableUserPath;
            aload 1
            monitorexit
         2: areturn
         3: .line 383
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  void setState(jdk.jfr.RecordingState);
    descriptor: (Ljdk/jfr/RecordingState;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // jdk.jfr.RecordingState state
         0: .line 389
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 390
            aload 0 /* this */
            aload 1 /* state */
            putfield jdk.jfr.internal.PlatformRecording.state:Ljdk/jfr/RecordingState;
         2: .line 389
            aload 2
            monitorexit
         3: goto 6
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
         4: aload 2
            monitorexit
         5: athrow
         6: .line 392
      StackMap locals:
      StackMap stack:
            return
        end local 1 // jdk.jfr.RecordingState state
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    7     0   this  Ljdk/jfr/internal/PlatformRecording;
            0    7     1  state  Ljdk/jfr/RecordingState;
      Exception table:
        from    to  target  type
           1     3       4  any
           4     5       4  any
    MethodParameters:
       Name  Flags
      state  

  void setStartTime(java.time.Instant);
    descriptor: (Ljava/time/Instant;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.time.Instant startTime
         0: .line 395
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 396
            aload 0 /* this */
            aload 1 /* startTime */
            putfield jdk.jfr.internal.PlatformRecording.startTime:Ljava/time/Instant;
         2: .line 395
            aload 2
            monitorexit
         3: goto 6
      StackMap locals: jdk.jfr.internal.PlatformRecording java.time.Instant jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
         4: aload 2
            monitorexit
         5: athrow
         6: .line 398
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.time.Instant startTime
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    7     0       this  Ljdk/jfr/internal/PlatformRecording;
            0    7     1  startTime  Ljava/time/Instant;
      Exception table:
        from    to  target  type
           1     3       4  any
           4     5       4  any
    MethodParameters:
           Name  Flags
      startTime  

  void setStopTime(java.time.Instant);
    descriptor: (Ljava/time/Instant;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.time.Instant timeStamp
         0: .line 401
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 402
            aload 0 /* this */
            aload 1 /* timeStamp */
            putfield jdk.jfr.internal.PlatformRecording.stopTime:Ljava/time/Instant;
         2: .line 401
            aload 2
            monitorexit
         3: goto 6
      StackMap locals: jdk.jfr.internal.PlatformRecording java.time.Instant jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
         4: aload 2
            monitorexit
         5: athrow
         6: .line 404
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.time.Instant timeStamp
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    7     0       this  Ljdk/jfr/internal/PlatformRecording;
            0    7     1  timeStamp  Ljava/time/Instant;
      Exception table:
        from    to  target  type
           1     3       4  any
           4     5       4  any
    MethodParameters:
           Name  Flags
      timeStamp  

  public long getId();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 407
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 408
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.id:J
            aload 1
            monitorexit
         2: lreturn
         3: .line 407
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  public void setName(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.lang.String name
         0: .line 413
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 414
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.ensureNotClosed:()V
         2: .line 415
            aload 0 /* this */
            aload 1 /* name */
            putfield jdk.jfr.internal.PlatformRecording.name:Ljava/lang/String;
         3: .line 413
            aload 2
            monitorexit
         4: goto 7
      StackMap locals: jdk.jfr.internal.PlatformRecording java.lang.String jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
         5: aload 2
            monitorexit
         6: athrow
         7: .line 417
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.String name
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljdk/jfr/internal/PlatformRecording;
            0    8     1  name  Ljava/lang/String;
      Exception table:
        from    to  target  type
           1     4       5  any
           5     6       5  any
    MethodParameters:
      Name  Flags
      name  

  private void ensureNotClosed();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 420
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.CLOSED:Ljdk/jfr/RecordingState;
            if_acmpne 2
         1: .line 421
            new java.lang.IllegalStateException
            dup
            ldc "Can't change name on a closed recording"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 423
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jfr/internal/PlatformRecording;

  public void setDumpOnExit(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // boolean dumpOnExit
         0: .line 426
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 427
            aload 0 /* this */
            iload 1 /* dumpOnExit */
            putfield jdk.jfr.internal.PlatformRecording.dumpOnExit:Z
         2: .line 426
            aload 2
            monitorexit
         3: goto 6
      StackMap locals: jdk.jfr.internal.PlatformRecording int jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
         4: aload 2
            monitorexit
         5: athrow
         6: .line 429
      StackMap locals:
      StackMap stack:
            return
        end local 1 // boolean dumpOnExit
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    7     0        this  Ljdk/jfr/internal/PlatformRecording;
            0    7     1  dumpOnExit  Z
      Exception table:
        from    to  target  type
           1     3       4  any
           4     5       4  any
    MethodParameters:
            Name  Flags
      dumpOnExit  

  public boolean getDumpOnExit();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 432
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 433
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.dumpOnExit:Z
            aload 1
            monitorexit
         2: ireturn
         3: .line 432
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  public void setToDisk(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // boolean toDisk
         0: .line 438
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 439
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            iconst_2
            anewarray jdk.jfr.RecordingState
            dup
            iconst_0
            getstatic jdk.jfr.RecordingState.NEW:Ljdk/jfr/RecordingState;
            aastore
            dup
            iconst_1
            getstatic jdk.jfr.RecordingState.DELAYED:Ljdk/jfr/RecordingState;
            aastore
            invokestatic jdk.jfr.internal.Utils.isState:(Ljdk/jfr/RecordingState;[Ljdk/jfr/RecordingState;)Z
            ifeq 4
         2: .line 440
            aload 0 /* this */
            iload 1 /* toDisk */
            putfield jdk.jfr.internal.PlatformRecording.toDisk:Z
         3: .line 441
            goto 5
         4: .line 442
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            new java.lang.IllegalStateException
            dup
            ldc "Recording option disk can't be changed after recording has started"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 438
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 2
            monitorexit
         8: athrow
         9: .line 445
      StackMap locals:
      StackMap stack:
            return
        end local 1 // boolean toDisk
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0    this  Ljdk/jfr/internal/PlatformRecording;
            0   10     1  toDisk  Z
      Exception table:
        from    to  target  type
           1     6       7  any
           7     8       7  any
    MethodParameters:
        Name  Flags
      toDisk  

  public void setSetting(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.lang.String id
        start local 2 // java.lang.String value
         0: .line 448
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         1: .line 449
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.settings:Ljava/util/Map;
            aload 1 /* id */
            aload 2 /* value */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 450
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            if_acmpne 4
         3: .line 451
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            invokevirtual jdk.jfr.internal.PlatformRecorder.updateSettings:()V
         4: .line 448
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 3
            monitorexit
         5: goto 8
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: aload 3
            monitorexit
         7: athrow
         8: .line 454
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.String value
        end local 1 // java.lang.String id
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    9     0   this  Ljdk/jfr/internal/PlatformRecording;
            0    9     1     id  Ljava/lang/String;
            0    9     2  value  Ljava/lang/String;
      Exception table:
        from    to  target  type
           1     5       6  any
           6     7       6  any
    MethodParameters:
       Name  Flags
      id     
      value  

  public void setSettings(java.util.Map<java.lang.String, java.lang.String>);
    descriptor: (Ljava/util/Map;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.util.Map settings
         0: .line 457
            aload 0 /* this */
            aload 1 /* settings */
            iconst_1
            invokevirtual jdk.jfr.internal.PlatformRecording.setSettings:(Ljava/util/Map;Z)V
         1: .line 458
            return
        end local 1 // java.util.Map settings
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Ljdk/jfr/internal/PlatformRecording;
            0    2     1  settings  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
    Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
    MethodParameters:
          Name  Flags
      settings  

  private void setSettings(java.util.Map<java.lang.String, java.lang.String>, );
    descriptor: (Ljava/util/Map;Z)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=7, args_size=3
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.util.Map settings
        start local 2 // boolean update
         0: .line 461
            getstatic jdk.jfr.internal.LogTag.JFR_SETTING:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            invokestatic jdk.jfr.internal.Logger.shouldLog:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;)Z
            ifeq 8
            iload 2 /* update */
            ifeq 8
         1: .line 462
            new java.util.TreeMap
            dup
            aload 1 /* settings */
            invokespecial java.util.TreeMap.<init>:(Ljava/util/Map;)V
            astore 3 /* ordered */
        start local 3 // java.util.TreeMap ordered
         2: .line 463
            getstatic jdk.jfr.internal.LogTag.JFR_SETTING:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            new java.lang.StringBuilder
            dup
            ldc "New settings for recording \""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            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 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getId:()J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ")"
            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
         3: .line 464
            aload 3 /* ordered */
            invokevirtual java.util.TreeMap.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 5
            goto 7
      StackMap locals: jdk.jfr.internal.PlatformRecording java.util.Map int java.util.TreeMap top java.util.Iterator
      StackMap stack:
         4: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 4 /* entry */
        start local 4 // java.util.Map$Entry entry
         5: .line 465
            new java.lang.StringBuilder
            dup
            aload 4 /* entry */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            checkcast java.lang.String
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "=\""
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 4 /* entry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast java.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;
            astore 6 /* text */
        start local 6 // java.lang.String text
         6: .line 466
            getstatic jdk.jfr.internal.LogTag.JFR_SETTING:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            aload 6 /* text */
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
        end local 6 // java.lang.String text
        end local 4 // java.util.Map$Entry entry
         7: .line 464
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
        end local 3 // java.util.TreeMap ordered
         8: .line 469
      StackMap locals: jdk.jfr.internal.PlatformRecording java.util.Map int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         9: .line 470
            aload 0 /* this */
            new java.util.LinkedHashMap
            dup
            aload 1 /* settings */
            invokespecial java.util.LinkedHashMap.<init>:(Ljava/util/Map;)V
            putfield jdk.jfr.internal.PlatformRecording.settings:Ljava/util/Map;
        10: .line 471
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            if_acmpne 12
            iload 2 /* update */
            ifeq 12
        11: .line 472
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            invokevirtual jdk.jfr.internal.PlatformRecorder.updateSettings:()V
        12: .line 469
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 3
            monitorexit
        13: goto 16
      StackMap locals:
      StackMap stack: java.lang.Throwable
        14: aload 3
            monitorexit
        15: athrow
        16: .line 475
      StackMap locals:
      StackMap stack:
            return
        end local 2 // boolean update
        end local 1 // java.util.Map settings
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   17     0      this  Ljdk/jfr/internal/PlatformRecording;
            0   17     1  settings  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
            0   17     2    update  Z
            2    8     3   ordered  Ljava/util/TreeMap<Ljava/lang/String;Ljava/lang/String;>;
            5    7     4     entry  Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
            6    7     6      text  Ljava/lang/String;
      Exception table:
        from    to  target  type
           9    13      14  any
          14    15      14  any
    Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Z)V
    MethodParameters:
          Name  Flags
      settings  
      update    

  private void notifyIfStateChanged(jdk.jfr.RecordingState, jdk.jfr.RecordingState);
    descriptor: (Ljdk/jfr/RecordingState;Ljdk/jfr/RecordingState;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=6, args_size=3
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // jdk.jfr.RecordingState newState
        start local 2 // jdk.jfr.RecordingState oldState
         0: .line 478
            aload 2 /* oldState */
            aload 1 /* newState */
            if_acmpne 2
         1: .line 479
            return
         2: .line 481
      StackMap locals:
      StackMap stack:
            invokestatic jdk.jfr.internal.PlatformRecorder.getListeners:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 9
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState jdk.jfr.RecordingState top java.util.Iterator
      StackMap stack:
         3: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.FlightRecorderListener
            astore 3 /* cl */
        start local 3 // jdk.jfr.FlightRecorderListener cl
         4: .line 484
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recording:Ljdk/jfr/Recording;
            ifnull 9
         5: .line 485
            aload 3 /* cl */
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recording:Ljdk/jfr/Recording;
            invokeinterface jdk.jfr.FlightRecorderListener.recordingStateChanged:(Ljdk/jfr/Recording;)V
         6: .line 487
            goto 9
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState jdk.jfr.RecordingState jdk.jfr.FlightRecorderListener java.util.Iterator
      StackMap stack: java.lang.RuntimeException
         7: astore 5 /* re */
        start local 5 // java.lang.RuntimeException re
         8: .line 488
            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 "Error notifying recorder listener:"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 5 /* re */
            invokevirtual java.lang.RuntimeException.getMessage:()Ljava/lang/String;
            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 5 // java.lang.RuntimeException re
        end local 3 // jdk.jfr.FlightRecorderListener cl
         9: .line 481
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState jdk.jfr.RecordingState top java.util.Iterator
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
        10: .line 491
            return
        end local 2 // jdk.jfr.RecordingState oldState
        end local 1 // jdk.jfr.RecordingState newState
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   11     0      this  Ljdk/jfr/internal/PlatformRecording;
            0   11     1  newState  Ljdk/jfr/RecordingState;
            0   11     2  oldState  Ljdk/jfr/RecordingState;
            4    9     3        cl  Ljdk/jfr/FlightRecorderListener;
            8    9     5        re  Ljava/lang/RuntimeException;
      Exception table:
        from    to  target  type
           4     6       7  Class java.lang.RuntimeException
    MethodParameters:
          Name  Flags
      newState  
      oldState  

  public void setRecording(jdk.jfr.Recording);
    descriptor: (Ljdk/jfr/Recording;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // jdk.jfr.Recording recording
         0: .line 494
            aload 0 /* this */
            aload 1 /* recording */
            putfield jdk.jfr.internal.PlatformRecording.recording:Ljdk/jfr/Recording;
         1: .line 495
            return
        end local 1 // jdk.jfr.Recording recording
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Ljdk/jfr/internal/PlatformRecording;
            0    2     1  recording  Ljdk/jfr/Recording;
    MethodParameters:
           Name  Flags
      recording  

  public jdk.jfr.Recording getRecording();
    descriptor: ()Ljdk/jfr/Recording;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 498
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recording:Ljdk/jfr/Recording;
            areturn
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/PlatformRecording;

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 503
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getName:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " (id="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getId:()J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ") "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/PlatformRecording;

  public void setConfiguration(jdk.jfr.Configuration);
    descriptor: (Ljdk/jfr/Configuration;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // jdk.jfr.Configuration c
         0: .line 507
            aload 0 /* this */
            aload 1 /* c */
            invokevirtual jdk.jfr.Configuration.getSettings:()Ljava/util/Map;
            invokevirtual jdk.jfr.internal.PlatformRecording.setSettings:(Ljava/util/Map;)V
         1: .line 508
            return
        end local 1 // jdk.jfr.Configuration c
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jfr/internal/PlatformRecording;
            0    2     1     c  Ljdk/jfr/Configuration;
    MethodParameters:
      Name  Flags
      c     

  public void setMaxAge(java.time.Duration);
    descriptor: (Ljava/time/Duration;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.time.Duration maxAge
         0: .line 511
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 512
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.CLOSED:Ljdk/jfr/RecordingState;
            if_acmpne 3
         2: .line 513
            new java.lang.IllegalStateException
            dup
            ldc "Can't set max age when recording is closed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 515
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            aload 1 /* maxAge */
            putfield jdk.jfr.internal.PlatformRecording.maxAge:Ljava/time/Duration;
         4: .line 516
            aload 1 /* maxAge */
            ifnull 6
         5: .line 517
            aload 0 /* this */
            invokestatic java.time.Instant.now:()Ljava/time/Instant;
            aload 1 /* maxAge */
            invokevirtual java.time.Instant.minus:(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;
            invokevirtual jdk.jfr.internal.PlatformRecording.trimToAge:(Ljava/time/Instant;)V
         6: .line 511
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
         7: goto 10
      StackMap locals:
      StackMap stack: java.lang.Throwable
         8: aload 2
            monitorexit
         9: athrow
        10: .line 520
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.time.Duration maxAge
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   11     0    this  Ljdk/jfr/internal/PlatformRecording;
            0   11     1  maxAge  Ljava/time/Duration;
      Exception table:
        from    to  target  type
           1     7       8  any
           8     9       8  any
    MethodParameters:
        Name  Flags
      maxAge  

  void appendChunk(jdk.jfr.internal.RepositoryChunk);
    descriptor: (Ljdk/jfr/internal/RepositoryChunk;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // jdk.jfr.internal.RepositoryChunk chunk
         0: .line 523
            aload 1 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.isFinished:()Z
            ifne 2
         1: .line 524
            new java.lang.Error
            dup
            new java.lang.StringBuilder
            dup
            ldc "not finished chunk "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getStartTime:()Ljava/time/Instant;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 526
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         3: .line 527
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.toDisk:Z
            ifne 6
         4: .line 528
            aload 2
            monitorexit
         5: return
         6: .line 530
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxAge:Ljava/time/Duration;
            ifnull 8
         7: .line 531
            aload 0 /* this */
            aload 1 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getEndTime:()Ljava/time/Instant;
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxAge:Ljava/time/Duration;
            invokevirtual java.time.Instant.minus:(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;
            invokevirtual jdk.jfr.internal.PlatformRecording.trimToAge:(Ljava/time/Instant;)V
         8: .line 533
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            aload 1 /* chunk */
            invokevirtual java.util.LinkedList.addLast:(Ljava/lang/Object;)V
         9: .line 534
            aload 0 /* this */
            aload 1 /* chunk */
            invokevirtual jdk.jfr.internal.PlatformRecording.added:(Ljdk/jfr/internal/RepositoryChunk;)V
        10: .line 535
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.trimToSize:()V
        11: .line 526
            aload 2
            monitorexit
        12: goto 15
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: aload 2
            monitorexit
        14: athrow
        15: .line 537
      StackMap locals:
      StackMap stack:
            return
        end local 1 // jdk.jfr.internal.RepositoryChunk chunk
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   16     0   this  Ljdk/jfr/internal/PlatformRecording;
            0   16     1  chunk  Ljdk/jfr/internal/RepositoryChunk;
      Exception table:
        from    to  target  type
           3     5      13  any
           6    12      13  any
          13    14      13  any
    MethodParameters:
       Name  Flags
      chunk  

  private void trimToSize();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 540
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxSize:J
            lconst_0
            lcmp
            ifne 4
         1: .line 541
            return
         2: .line 544
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.removeFirst:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RepositoryChunk
            astore 1 /* c */
        start local 1 // jdk.jfr.internal.RepositoryChunk c
         3: .line 545
            aload 0 /* this */
            aload 1 /* c */
            invokevirtual jdk.jfr.internal.PlatformRecording.removed:(Ljdk/jfr/internal/RepositoryChunk;)V
        end local 1 // jdk.jfr.internal.RepositoryChunk c
         4: .line 543
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.size:J
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxSize:J
            lcmp
            ifle 5
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            iconst_1
            if_icmpgt 2
         5: .line 547
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/jfr/internal/PlatformRecording;
            3    4     1     c  Ljdk/jfr/internal/RepositoryChunk;

  private void trimToAge(java.time.Instant);
    descriptor: (Ljava/time/Instant;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.time.Instant oldest
         0: .line 550
            goto 6
         1: .line 551
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.peek:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RepositoryChunk
            astore 2 /* oldestChunk */
        start local 2 // jdk.jfr.internal.RepositoryChunk oldestChunk
         2: .line 552
            aload 2 /* oldestChunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getEndTime:()Ljava/time/Instant;
            aload 1 /* oldest */
            invokevirtual java.time.Instant.isAfter:(Ljava/time/Instant;)Z
            ifeq 4
         3: .line 553
            return
         4: .line 555
      StackMap locals: jdk.jfr.internal.RepositoryChunk
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.removeFirst:()Ljava/lang/Object;
            pop
         5: .line 556
            aload 0 /* this */
            aload 2 /* oldestChunk */
            invokevirtual jdk.jfr.internal.PlatformRecording.removed:(Ljdk/jfr/internal/RepositoryChunk;)V
        end local 2 // jdk.jfr.internal.RepositoryChunk oldestChunk
         6: .line 550
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.isEmpty:()Z
            ifeq 1
         7: .line 558
            return
        end local 1 // java.time.Instant oldest
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    8     0         this  Ljdk/jfr/internal/PlatformRecording;
            0    8     1       oldest  Ljava/time/Instant;
            2    6     2  oldestChunk  Ljdk/jfr/internal/RepositoryChunk;
    MethodParameters:
        Name  Flags
      oldest  

  void add(jdk.jfr.internal.RepositoryChunk);
    descriptor: (Ljdk/jfr/internal/RepositoryChunk;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // jdk.jfr.internal.RepositoryChunk c
         0: .line 561
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            aload 1 /* c */
            invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
            pop
         1: .line 562
            aload 0 /* this */
            aload 1 /* c */
            invokevirtual jdk.jfr.internal.PlatformRecording.added:(Ljdk/jfr/internal/RepositoryChunk;)V
         2: .line 563
            return
        end local 1 // jdk.jfr.internal.RepositoryChunk c
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jfr/internal/PlatformRecording;
            0    3     1     c  Ljdk/jfr/internal/RepositoryChunk;
    MethodParameters:
      Name  Flags
      c     

  private void added(jdk.jfr.internal.RepositoryChunk);
    descriptor: (Ljdk/jfr/internal/RepositoryChunk;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // jdk.jfr.internal.RepositoryChunk c
         0: .line 566
            aload 1 /* c */
            invokevirtual jdk.jfr.internal.RepositoryChunk.use:()V
         1: .line 567
            aload 0 /* this */
            dup
            getfield jdk.jfr.internal.PlatformRecording.size:J
            aload 1 /* c */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getSize:()J
            ladd
            putfield jdk.jfr.internal.PlatformRecording.size:J
         2: .line 568
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
            aload 0 /* this */
            aload 1 /* c */
            invokedynamic get(Ljdk/jfr/internal/PlatformRecording;Ljdk/jfr/internal/RepositoryChunk;)Ljava/util/function/Supplier;
              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:
                  ()Ljava/lang/Object;
                  jdk/jfr/internal/PlatformRecording.lambda$1(Ljdk/jfr/internal/RepositoryChunk;)Ljava/lang/String; (7)
                  ()Ljava/lang/String;
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/util/function/Supplier;)V
         3: .line 569
            return
        end local 1 // jdk.jfr.internal.RepositoryChunk c
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/jfr/internal/PlatformRecording;
            0    4     1     c  Ljdk/jfr/internal/RepositoryChunk;
    MethodParameters:
      Name  Flags
      c     

  private void removed(jdk.jfr.internal.RepositoryChunk);
    descriptor: (Ljdk/jfr/internal/RepositoryChunk;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // jdk.jfr.internal.RepositoryChunk c
         0: .line 572
            aload 0 /* this */
            dup
            getfield jdk.jfr.internal.PlatformRecording.size:J
            aload 1 /* c */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getSize:()J
            lsub
            putfield jdk.jfr.internal.PlatformRecording.size:J
         1: .line 573
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
            aload 0 /* this */
            aload 1 /* c */
            invokedynamic get(Ljdk/jfr/internal/PlatformRecording;Ljdk/jfr/internal/RepositoryChunk;)Ljava/util/function/Supplier;
              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:
                  ()Ljava/lang/Object;
                  jdk/jfr/internal/PlatformRecording.lambda$2(Ljdk/jfr/internal/RepositoryChunk;)Ljava/lang/String; (7)
                  ()Ljava/lang/String;
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/util/function/Supplier;)V
         2: .line 574
            aload 1 /* c */
            invokevirtual jdk.jfr.internal.RepositoryChunk.release:()V
         3: .line 575
            return
        end local 1 // jdk.jfr.internal.RepositoryChunk c
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/jfr/internal/PlatformRecording;
            0    4     1     c  Ljdk/jfr/internal/RepositoryChunk;
    MethodParameters:
      Name  Flags
      c     

  public java.util.List<jdk.jfr.internal.RepositoryChunk> getChunks();
    descriptor: ()Ljava/util/List;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 578
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            areturn
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/PlatformRecording;
    Signature: ()Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;

  public java.io.InputStream open(java.time.Instant, java.time.Instant);
    descriptor: (Ljava/time/Instant;Ljava/time/Instant;)Ljava/io/InputStream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=9, args_size=3
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.time.Instant start
        start local 2 // java.time.Instant end
         0: .line 582
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         1: .line 583
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.STOPPED:Ljdk/jfr/RecordingState;
            if_acmpeq 3
         2: .line 584
            new java.io.IOException
            dup
            ldc "Recording must be stopped before it can be read."
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 586
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 4 /* chunksToUse */
        start local 4 // java.util.List chunksToUse
         4: .line 587
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
            astore 6
            goto 12
      StackMap locals: jdk.jfr.internal.PlatformRecording java.time.Instant java.time.Instant jdk.jfr.internal.PlatformRecorder java.util.List top java.util.Iterator
      StackMap stack:
         5: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RepositoryChunk
            astore 5 /* chunk */
        start local 5 // jdk.jfr.internal.RepositoryChunk chunk
         6: .line 588
            aload 5 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.isFinished:()Z
            ifeq 12
         7: .line 589
            aload 5 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getStartTime:()Ljava/time/Instant;
            astore 7 /* chunkStart */
        start local 7 // java.time.Instant chunkStart
         8: .line 590
            aload 5 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getEndTime:()Ljava/time/Instant;
            astore 8 /* chunkEnd */
        start local 8 // java.time.Instant chunkEnd
         9: .line 591
            aload 1 /* start */
            ifnull 10
            aload 8 /* chunkEnd */
            aload 1 /* start */
            invokevirtual java.time.Instant.isBefore:(Ljava/time/Instant;)Z
            ifne 12
        10: .line 592
      StackMap locals: jdk.jfr.internal.PlatformRecording java.time.Instant java.time.Instant jdk.jfr.internal.PlatformRecorder java.util.List jdk.jfr.internal.RepositoryChunk java.util.Iterator java.time.Instant java.time.Instant
      StackMap stack:
            aload 2 /* end */
            ifnull 11
            aload 7 /* chunkStart */
            aload 2 /* end */
            invokevirtual java.time.Instant.isAfter:(Ljava/time/Instant;)Z
            ifne 12
        11: .line 593
      StackMap locals:
      StackMap stack:
            aload 4 /* chunksToUse */
            aload 5 /* chunk */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 8 // java.time.Instant chunkEnd
        end local 7 // java.time.Instant chunkStart
        end local 5 // jdk.jfr.internal.RepositoryChunk chunk
        12: .line 587
      StackMap locals: jdk.jfr.internal.PlatformRecording java.time.Instant java.time.Instant jdk.jfr.internal.PlatformRecorder java.util.List top java.util.Iterator
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 5
        13: .line 598
            aload 4 /* chunksToUse */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 16
        14: .line 599
            aload 3
            monitorexit
        15: aconst_null
            areturn
        16: .line 601
      StackMap locals: jdk.jfr.internal.PlatformRecording java.time.Instant java.time.Instant jdk.jfr.internal.PlatformRecorder java.util.List
      StackMap stack:
            new jdk.jfr.internal.ChunkInputStream
            dup
            aload 4 /* chunksToUse */
            invokespecial jdk.jfr.internal.ChunkInputStream.<init>:(Ljava/util/List;)V
            aload 3
            monitorexit
        17: areturn
        end local 4 // java.util.List chunksToUse
        18: .line 582
      StackMap locals: jdk.jfr.internal.PlatformRecording java.time.Instant java.time.Instant jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
            aload 3
            monitorexit
        19: athrow
        end local 2 // java.time.Instant end
        end local 1 // java.time.Instant start
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   20     0         this  Ljdk/jfr/internal/PlatformRecording;
            0   20     1        start  Ljava/time/Instant;
            0   20     2          end  Ljava/time/Instant;
            4   18     4  chunksToUse  Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;
            6   12     5        chunk  Ljdk/jfr/internal/RepositoryChunk;
            8   12     7   chunkStart  Ljava/time/Instant;
            9   12     8     chunkEnd  Ljava/time/Instant;
      Exception table:
        from    to  target  type
           1    15      18  any
          16    17      18  any
          18    19      18  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      start  
      end    

  public java.time.Duration getDuration();
    descriptor: ()Ljava/time/Duration;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 606
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 607
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.duration:Ljava/time/Duration;
            aload 1
            monitorexit
         2: areturn
         3: .line 606
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  void setInternalDuration(java.time.Duration);
    descriptor: (Ljava/time/Duration;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.time.Duration duration
         0: .line 612
            aload 0 /* this */
            aload 1 /* duration */
            putfield jdk.jfr.internal.PlatformRecording.duration:Ljava/time/Duration;
         1: .line 613
            return
        end local 1 // java.time.Duration duration
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Ljdk/jfr/internal/PlatformRecording;
            0    2     1  duration  Ljava/time/Duration;
    MethodParameters:
          Name  Flags
      duration  

  public void setDuration(java.time.Duration);
    descriptor: (Ljava/time/Duration;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.time.Duration duration
         0: .line 616
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 617
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            iconst_2
            anewarray jdk.jfr.RecordingState
            dup
            iconst_0
            getstatic jdk.jfr.RecordingState.STOPPED:Ljdk/jfr/RecordingState;
            aastore
            dup
            iconst_1
            getstatic jdk.jfr.RecordingState.CLOSED:Ljdk/jfr/RecordingState;
            aastore
            invokestatic jdk.jfr.internal.Utils.isState:(Ljdk/jfr/RecordingState;[Ljdk/jfr/RecordingState;)Z
            ifeq 3
         2: .line 618
            new java.lang.IllegalStateException
            dup
            ldc "Duration can't be set after a recording has been stopped/closed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 620
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            aload 1 /* duration */
            invokevirtual jdk.jfr.internal.PlatformRecording.setInternalDuration:(Ljava/time/Duration;)V
         4: .line 621
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.NEW:Ljdk/jfr/RecordingState;
            if_acmpeq 6
         5: .line 622
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.updateTimer:()V
         6: .line 616
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
         7: goto 10
      StackMap locals:
      StackMap stack: java.lang.Throwable
         8: aload 2
            monitorexit
         9: athrow
        10: .line 625
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.time.Duration duration
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   11     0      this  Ljdk/jfr/internal/PlatformRecording;
            0   11     1  duration  Ljava/time/Duration;
      Exception table:
        from    to  target  type
           1     7       8  any
           8     9       8  any
    MethodParameters:
          Name  Flags
      duration  

  void updateTimer();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=6, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 628
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
            ifnull 3
         1: .line 629
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
            invokevirtual java.util.TimerTask.cancel:()Z
            pop
         2: .line 630
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
         3: .line 632
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            getstatic jdk.jfr.RecordingState.CLOSED:Ljdk/jfr/RecordingState;
            if_acmpne 5
         4: .line 633
            return
         5: .line 635
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.duration:Ljava/time/Duration;
            ifnull 8
         6: .line 636
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.createStopTask:()Ljava/util/TimerTask;
            putfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
         7: .line 637
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            invokevirtual jdk.jfr.internal.PlatformRecorder.getTimer:()Ljava/util/Timer;
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
            new java.util.Date
            dup
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startTime:Ljava/time/Instant;
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.duration:Ljava/time/Duration;
            invokevirtual java.time.Instant.plus:(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;
            invokevirtual java.time.Instant.toEpochMilli:()J
            invokespecial java.util.Date.<init>:(J)V
            invokevirtual java.util.Timer.schedule:(Ljava/util/TimerTask;Ljava/util/Date;)V
         8: .line 639
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Ljdk/jfr/internal/PlatformRecording;

  java.util.TimerTask createStopTask();
    descriptor: ()Ljava/util/TimerTask;
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 642
            new jdk.jfr.internal.PlatformRecording$2
            dup
            aload 0 /* this */
            invokespecial jdk.jfr.internal.PlatformRecording$2.<init>:(Ljdk/jfr/internal/PlatformRecording;)V
            areturn
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/PlatformRecording;

  public jdk.jfr.Recording newCopy(boolean);
    descriptor: (Z)Ljdk/jfr/Recording;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // boolean stop
         0: .line 656
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            aload 0 /* this */
            iload 1 /* stop */
            invokevirtual jdk.jfr.internal.PlatformRecorder.newCopy:(Ljdk/jfr/internal/PlatformRecording;Z)Ljdk/jfr/Recording;
            areturn
        end local 1 // boolean stop
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/PlatformRecording;
            0    1     1  stop  Z
    MethodParameters:
      Name  Flags
      stop  

  void setStopTask(java.util.TimerTask);
    descriptor: (Ljava/util/TimerTask;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.util.TimerTask stopTask
         0: .line 660
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 661
            aload 0 /* this */
            aload 1 /* stopTask */
            putfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
         2: .line 660
            aload 2
            monitorexit
         3: goto 6
      StackMap locals: jdk.jfr.internal.PlatformRecording java.util.TimerTask jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
         4: aload 2
            monitorexit
         5: athrow
         6: .line 663
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.util.TimerTask stopTask
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0      this  Ljdk/jfr/internal/PlatformRecording;
            0    7     1  stopTask  Ljava/util/TimerTask;
      Exception table:
        from    to  target  type
           1     3       4  any
           4     5       4  any
    MethodParameters:
          Name  Flags
      stopTask  

  void clearDestination();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 666
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.destination:Ljdk/jfr/internal/WriteableUserPath;
         1: .line 667
            return
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jfr/internal/PlatformRecording;

  public java.security.AccessControlContext getNoDestinationDumpOnExitAccessControlContext();
    descriptor: ()Ljava/security/AccessControlContext;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 670
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.noDestinationDumpOnExitAccessControlContext:Ljava/security/AccessControlContext;
            areturn
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/PlatformRecording;

  void setShouldWriteActiveRecordingEvent(boolean);
    descriptor: (Z)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // boolean shouldWrite
         0: .line 674
            aload 0 /* this */
            iload 1 /* shouldWrite */
            putfield jdk.jfr.internal.PlatformRecording.shuoldWriteActiveRecordingEvent:Z
         1: .line 675
            return
        end local 1 // boolean shouldWrite
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    2     0         this  Ljdk/jfr/internal/PlatformRecording;
            0    2     1  shouldWrite  Z
    MethodParameters:
             Name  Flags
      shouldWrite  

  boolean shouldWriteMetadataEvent();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 678
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.shuoldWriteActiveRecordingEvent:Z
            ireturn
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/PlatformRecording;

  public void dump(jdk.jfr.internal.WriteableUserPath);
    descriptor: (Ljdk/jfr/internal/WriteableUserPath;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=6, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // jdk.jfr.internal.WriteableUserPath writeableUserPath
         0: .line 683
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 684
            aconst_null
            astore 3
            aconst_null
            astore 4
         2: aload 0 /* this */
            ldc "Dumped by user"
            aconst_null
            invokevirtual jdk.jfr.internal.PlatformRecording.newSnapshotClone:(Ljava/lang/String;Ljava/lang/Boolean;)Ljdk/jfr/internal/PlatformRecording;
            astore 5 /* p */
        start local 5 // jdk.jfr.internal.PlatformRecording p
         3: .line 685
            aload 5 /* p */
            aload 1 /* writeableUserPath */
            invokevirtual jdk.jfr.internal.PlatformRecording.dumpStopped:(Ljdk/jfr/internal/WriteableUserPath;)V
         4: .line 686
            aload 5 /* p */
            ifnull 10
            aload 5 /* p */
            invokevirtual jdk.jfr.internal.PlatformRecording.close:()V
            goto 10
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.WriteableUserPath jdk.jfr.internal.PlatformRecorder java.lang.Throwable java.lang.Throwable jdk.jfr.internal.PlatformRecording
      StackMap stack: java.lang.Throwable
         5: astore 3
            aload 5 /* p */
            ifnull 6
            aload 5 /* p */
            invokevirtual jdk.jfr.internal.PlatformRecording.close:()V
        end local 5 // jdk.jfr.internal.PlatformRecording p
      StackMap locals:
      StackMap stack:
         6: aload 3
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: astore 4
            aload 3
            ifnonnull 8
            aload 4
            astore 3
            goto 9
      StackMap locals:
      StackMap stack:
         8: aload 3
            aload 4
            if_acmpeq 9
            aload 3
            aload 4
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
         9: aload 3
            athrow
        10: .line 683
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
        11: goto 14
      StackMap locals:
      StackMap stack: java.lang.Throwable
        12: aload 2
            monitorexit
        13: athrow
        14: .line 688
      StackMap locals:
      StackMap stack:
            return
        end local 1 // jdk.jfr.internal.WriteableUserPath writeableUserPath
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   15     0               this  Ljdk/jfr/internal/PlatformRecording;
            0   15     1  writeableUserPath  Ljdk/jfr/internal/WriteableUserPath;
            3    6     5                  p  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           3     4       5  any
           2     7       7  any
           1    11      12  any
          12    13      12  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
                   Name  Flags
      writeableUserPath  

  public void dumpStopped(jdk.jfr.internal.WriteableUserPath);
    descriptor: (Ljdk/jfr/internal/WriteableUserPath;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // jdk.jfr.internal.WriteableUserPath userPath
         0: .line 691
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 692
            aload 1 /* userPath */
            aload 0 /* this */
            aload 1 /* userPath */
            invokedynamic call(Ljdk/jfr/internal/PlatformRecording;Ljdk/jfr/internal/WriteableUserPath;)Ljava/util/concurrent/Callable;
              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:
                  ()Ljava/lang/Object;
                  jdk/jfr/internal/PlatformRecording.lambda$3(Ljdk/jfr/internal/WriteableUserPath;)Ljava/lang/Object; (7)
                  ()Ljava/lang/Object;
            invokevirtual jdk.jfr.internal.WriteableUserPath.doPriviligedIO:(Ljava/util/concurrent/Callable;)V
         2: .line 691
            aload 2
            monitorexit
         3: goto 6
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.WriteableUserPath jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
         4: aload 2
            monitorexit
         5: athrow
         6: .line 700
      StackMap locals:
      StackMap stack:
            return
        end local 1 // jdk.jfr.internal.WriteableUserPath userPath
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0      this  Ljdk/jfr/internal/PlatformRecording;
            0    7     1  userPath  Ljdk/jfr/internal/WriteableUserPath;
      Exception table:
        from    to  target  type
           1     3       4  any
           4     5       4  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      userPath  

  public void filter(java.time.Instant, java.time.Instant, java.lang.Long);
    descriptor: (Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/Long;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=9, args_size=4
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.time.Instant begin
        start local 2 // java.time.Instant end
        start local 3 // java.lang.Long maxSize
         0: .line 703
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 4
            monitorenter
         1: .line 704
            aload 2 /* end */
            aload 1 /* begin */
            new java.util.ArrayList
            dup
            aload 0 /*