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.getText:()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 */
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.destination:Ljdk/jfr/internal/WriteableUserPath;
            invokevirtual jdk.jfr.internal.PlatformRecording.setDestination:(Ljdk/jfr/internal/WriteableUserPath;)V
        18: .line 322
            aload 4 /* clone */
            iconst_1
            invokevirtual jdk.jfr.internal.PlatformRecording.setToDisk:(Z)V
        19: .line 325
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
            ifne 22
        20: .line 327
            aload 4 /* clone */
            invokevirtual jdk.jfr.internal.PlatformRecording.start:()V
        21: .line 328
            goto 28
        22: .line 330
      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 25
      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:
        23: 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
        24: .line 331
            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
        25: .line 330
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 23
        26: .line 333
            aload 4 /* clone */
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
        27: .line 334
            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
        28: .line 336
      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 32
        29: .line 337
            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
        30: .line 338
            aload 4 /* clone */
            aload 1 /* reason */
            invokevirtual jdk.jfr.internal.PlatformRecording.stop:(Ljava/lang/String;)Z
            pop
        31: .line 339
            goto 39
        32: .line 344
      StackMap locals:
      StackMap stack:
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            dup
            astore 5
            monitorenter
        33: .line 345
            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
        34: .line 346
            aload 4 /* clone */
            aload 1 /* reason */
            invokevirtual jdk.jfr.internal.PlatformRecording.stop:(Ljava/lang/String;)Z
            pop
        35: .line 344
            aload 5
            monitorexit
        36: goto 39
      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
        37: aload 5
            monitorexit
        38: athrow
        39: .line 349
      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   40     0           this  Ljdk/jfr/internal/PlatformRecording;
            0   40     1         reason  Ljava/lang/String;
            0   40     2  pathToGcRoots  Ljava/lang/Boolean;
            3   40     3          state  Ljdk/jfr/RecordingState;
            9   14     4          clone  Ljdk/jfr/internal/PlatformRecording;
           11   12     5              r  Ljdk/jfr/internal/RepositoryChunk;
           15   40     4          clone  Ljdk/jfr/internal/PlatformRecording;
           24   25     5              c  Ljdk/jfr/internal/RepositoryChunk;
      Exception table:
        from    to  target  type
          33    36      37  any
          37    38      37  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 353
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 354
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.toDisk:Z
            aload 1
            monitorexit
         2: ireturn
         3: .line 353
      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 359
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         1: .line 360
            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 361
            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 363
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            lload 1 /* maxSize */
            putfield jdk.jfr.internal.PlatformRecording.maxSize:J
         4: .line 364
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.trimToSize:()V
         5: .line 359
            aload 3
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 3
            monitorexit
         8: athrow
         9: .line 366
      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=5, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // jdk.jfr.internal.WriteableUserPath userSuppliedPath
         0: .line 369
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 370
            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 371
            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 373
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            aload 1 /* userSuppliedPath */
            putfield jdk.jfr.internal.PlatformRecording.destination:Ljdk/jfr/internal/WriteableUserPath;
         4: .line 369
            aload 2
            monitorexit
         5: goto 8
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: aload 2
            monitorexit
         7: athrow
         8: .line 375
      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    9     0              this  Ljdk/jfr/internal/PlatformRecording;
            0    9     1  userSuppliedPath  Ljdk/jfr/internal/WriteableUserPath;
      Exception table:
        from    to  target  type
           1     5       6  any
           6     7       6  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 378
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 379
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.destination:Ljdk/jfr/internal/WriteableUserPath;
            aload 1
            monitorexit
         2: areturn
         3: .line 378
      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 384
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 385
            aload 0 /* this */
            aload 1 /* state */
            putfield jdk.jfr.internal.PlatformRecording.state:Ljdk/jfr/RecordingState;
         2: .line 384
            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 387
      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 390
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 391
            aload 0 /* this */
            aload 1 /* startTime */
            putfield jdk.jfr.internal.PlatformRecording.startTime:Ljava/time/Instant;
         2: .line 390
            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 393
      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 396
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 397
            aload 0 /* this */
            aload 1 /* timeStamp */
            putfield jdk.jfr.internal.PlatformRecording.stopTime:Ljava/time/Instant;
         2: .line 396
            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 399
      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 402
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 403
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.id:J
            aload 1
            monitorexit
         2: lreturn
         3: .line 402
      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 408
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 409
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.ensureNotClosed:()V
         2: .line 410
            aload 0 /* this */
            aload 1 /* name */
            putfield jdk.jfr.internal.PlatformRecording.name:Ljava/lang/String;
         3: .line 408
            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 412
      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 415
            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 416
            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 418
      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 421
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 422
            aload 0 /* this */
            iload 1 /* dumpOnExit */
            putfield jdk.jfr.internal.PlatformRecording.dumpOnExit:Z
         2: .line 421
            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 424
      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 427
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 428
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.dumpOnExit:Z
            aload 1
            monitorexit
         2: ireturn
         3: .line 427
      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 433
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 434
            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 435
            aload 0 /* this */
            iload 1 /* toDisk */
            putfield jdk.jfr.internal.PlatformRecording.toDisk:Z
         3: .line 436
            goto 5
         4: .line 437
      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 433
      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 440
      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 443
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         1: .line 444
            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 445
            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 446
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            invokevirtual jdk.jfr.internal.PlatformRecorder.updateSettings:()V
         4: .line 443
      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 449
      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 452
            aload 0 /* this */
            aload 1 /* settings */
            iconst_1
            invokevirtual jdk.jfr.internal.PlatformRecording.setSettings:(Ljava/util/Map;Z)V
         1: .line 453
            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 456
            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 457
            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 458
            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 459
            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 460
            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 461
            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 459
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
        end local 3 // java.util.TreeMap ordered
         8: .line 464
      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 465
            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 466
            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 467
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            invokevirtual jdk.jfr.internal.PlatformRecorder.updateSettings:()V
        12: .line 464
      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 470
      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 473
            aload 2 /* oldState */
            aload 1 /* newState */
            if_acmpne 2
         1: .line 474
            return
         2: .line 476
      StackMap locals:
      StackMap stack:
            invokestatic jdk.jfr.internal.PlatformRecorder.getListeners:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 8
      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 478
            aload 3 /* cl */
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getRecording:()Ljdk/jfr/Recording;
            invokeinterface jdk.jfr.FlightRecorderListener.recordingStateChanged:(Ljdk/jfr/Recording;)V
         5: .line 479
            goto 8
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState jdk.jfr.RecordingState jdk.jfr.FlightRecorderListener java.util.Iterator
      StackMap stack: java.lang.RuntimeException
         6: astore 5 /* re */
        start local 5 // java.lang.RuntimeException re
         7: .line 480
            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
         8: .line 476
      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
         9: .line 483
            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   10     0      this  Ljdk/jfr/internal/PlatformRecording;
            0   10     1  newState  Ljdk/jfr/RecordingState;
            0   10     2  oldState  Ljdk/jfr/RecordingState;
            4    8     3        cl  Ljdk/jfr/FlightRecorderListener;
            7    8     5        re  Ljava/lang/RuntimeException;
      Exception table:
        from    to  target  type
           4     5       6  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 486
            aload 0 /* this */
            aload 1 /* recording */
            putfield jdk.jfr.internal.PlatformRecording.recording:Ljdk/jfr/Recording;
         1: .line 487
            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 490
            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 495
            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 499
            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 500
            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 503
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 504
            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 505
            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 507
      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 508
            aload 1 /* maxAge */
            ifnull 6
         5: .line 509
            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 503
      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 512
      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 515
            aload 1 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.isFinished:()Z
            ifne 2
         1: .line 516
            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 518
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         3: .line 519
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.toDisk:Z
            ifne 6
         4: .line 520
            aload 2
            monitorexit
         5: return
         6: .line 522
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxAge:Ljava/time/Duration;
            ifnull 8
         7: .line 523
            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 525
      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 526
            aload 0 /* this */
            aload 1 /* chunk */
            invokevirtual jdk.jfr.internal.PlatformRecording.added:(Ljdk/jfr/internal/RepositoryChunk;)V
        10: .line 527
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.trimToSize:()V
        11: .line 518
            aload 2
            monitorexit
        12: goto 15
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: aload 2
            monitorexit
        14: athrow
        15: .line 529
      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 532
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxSize:J
            lconst_0
            lcmp
            ifne 4
         1: .line 533
            return
         2: .line 536
      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 537
            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 535
      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 539
      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 542
            goto 6
         1: .line 543
      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 544
            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 545
            return
         4: .line 547
      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 548
            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 542
      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 550
            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 553
            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 554
            aload 0 /* this */
            aload 1 /* c */
            invokevirtual jdk.jfr.internal.PlatformRecording.added:(Ljdk/jfr/internal/RepositoryChunk;)V
         2: .line 555
            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 558
            aload 1 /* c */
            invokevirtual jdk.jfr.internal.RepositoryChunk.use:()V
         1: .line 559
            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 560
            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 561
            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 564
            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 565
            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 566
            aload 1 /* c */
            invokevirtual jdk.jfr.internal.RepositoryChunk.release:()V
         3: .line 567
            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 570
            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 574
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         1: .line 575
            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 576
            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 578
      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 579
            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 580
            aload 5 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.isFinished:()Z
            ifeq 12
         7: .line 581
            aload 5 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getStartTime:()Ljava/time/Instant;
            astore 7 /* chunkStart */
        start local 7 // java.time.Instant chunkStart
         8: .line 582
            aload 5 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getEndTime:()Ljava/time/Instant;
            astore 8 /* chunkEnd */
        start local 8 // java.time.Instant chunkEnd
         9: .line 583
            aload 1 /* start */
            ifnull 10
            aload 8 /* chunkEnd */
            aload 1 /* start */
            invokevirtual java.time.Instant.isBefore:(Ljava/time/Instant;)Z
            ifne 12
        10: .line 584
      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 585
      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 579
      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 590
            aload 4 /* chunksToUse */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 16
        14: .line 591
            aload 3
            monitorexit
        15: aconst_null
            areturn
        16: .line 593
      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 574
      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 598
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 599
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.duration:Ljava/time/Duration;
            aload 1
            monitorexit
         2: areturn
         3: .line 598
      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 604
            aload 0 /* this */
            aload 1 /* duration */
            putfield jdk.jfr.internal.PlatformRecording.duration:Ljava/time/Duration;
         1: .line 605
            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 608
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 609
            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 610
            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 612
      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 613
            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 614
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.updateTimer:()V
         6: .line 608
      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 617
      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 620
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
            ifnull 3
         1: .line 621
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
            invokevirtual java.util.TimerTask.cancel:()Z
            pop
         2: .line 622
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
         3: .line 624
      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 625
            return
         5: .line 627
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.duration:Ljava/time/Duration;
            ifnull 8
         6: .line 628
            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 629
            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 631
      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 634
            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 648
            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 652
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 653
            aload 0 /* this */
            aload 1 /* stopTask */
            putfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
         2: .line 652
            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 655
      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 658
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.destination:Ljdk/jfr/internal/WriteableUserPath;
         1: .line 659
            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 662
            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 666
            aload 0 /* this */
            iload 1 /* shouldWrite */
            putfield jdk.jfr.internal.PlatformRecording.shuoldWriteActiveRecordingEvent:Z
         1: .line 667
            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 670
            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 675
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 676
            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 677
            aload 5 /* p */
            aload 1 /* writeableUserPath */
            invokevirtual jdk.jfr.internal.PlatformRecording.dumpStopped:(Ljdk/jfr/internal/WriteableUserPath;)V
         4: .line 678
            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 675
      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 680
      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 683
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 684
            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 683
            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 692
      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 695
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 4
            monitorenter
         1: .line 696
            aload 2 /* end */
            aload 1 /* begin */
            new java.util.ArrayList
            dup
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
            invokestatic jdk.jfr.internal.PlatformRecording.removeBefore:(Ljava/time/Instant;Ljava/util/List;)Ljava/util/List;
            invokestatic jdk.jfr.internal.PlatformRecording.removeAfter:(Ljava/time/Instant;Ljava/util/List;)Ljava/util/List;
            astore 5 /* result */
        start local 5 // java.util.List result
         2: .line 697
            aload 3 /* maxSize */
            ifnull 7
         3: .line 698
            aload 1 /* begin */
            ifnull 6
            aload 2 /* end */
            ifnonnull 6
         4: .line 699
            aload 3 /* maxSize */
            aload 5 /* result */
            invokestatic jdk.jfr.internal.PlatformRecording.reduceFromBeginning:(Ljava/lang/Long;Ljava/util/List;)Ljava/util/List;
            astore 5 /* result */
         5: .line 700
            goto 7
         6: .line 701
      StackMap locals: jdk.jfr.internal.PlatformRecorder java.util.List
      StackMap stack:
            aload 3 /* maxSize */
            aload 5 /* result */
            invokestatic jdk.jfr.internal.PlatformRecording.reduceFromEnd:(Ljava/lang/Long;Ljava/util/List;)Ljava/util/List;
            astore 5 /* result */
         7: .line 704
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 6 /* size */
        start local 6 // int size
         8: .line 705
            aload 5 /* result */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 8
            goto 12
      StackMap locals: jdk.jfr.internal.PlatformRecording java.time.Instant java.time.Instant java.lang.Long jdk.jfr.internal.PlatformRecorder java.util.List int top java.util.Iterator
      StackMap stack:
         9: aload 8
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RepositoryChunk
            astore 7 /* r */
        start local 7 // jdk.jfr.internal.RepositoryChunk r
        10: .line 706
            iload 6 /* size */
            i2l
            aload 7 /* r */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getSize:()J
            ladd
            l2i
            istore 6 /* size */
        11: .line 707
            aload 7 /* r */
            invokevirtual jdk.jfr.internal.RepositoryChunk.use:()V
        end local 7 // jdk.jfr.internal.RepositoryChunk r
        12: .line 705
      StackMap locals:
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 9
        13: .line 709
            aload 0 /* this */
            iload 6 /* size */
            i2l
            putfield jdk.jfr.internal.PlatformRecording.size:J
        14: .line 710
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
            astore 8
            goto 17
      StackMap locals:
      StackMap stack:
        15: aload 8
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RepositoryChunk
            astore 7 /* r */
        start local 7 // jdk.jfr.internal.RepositoryChunk r
        16: .line 711
            aload 7 /* r */
            invokevirtual jdk.jfr.internal.RepositoryChunk.release:()V
        end local 7 // jdk.jfr.internal.RepositoryChunk r
        17: .line 710
      StackMap locals:
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 15
        18: .line 713
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.clear:()V
        19: .line 714
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            aload 5 /* result */
            invokevirtual java.util.LinkedList.addAll:(Ljava/util/Collection;)Z
            pop
        end local 6 // int size
        end local 5 // java.util.List result
        20: .line 695
            aload 4
            monitorexit
        21: goto 24
      StackMap locals: jdk.jfr.internal.PlatformRecording java.time.Instant java.time.Instant java.lang.Long jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
        22: aload 4
            monitorexit
        23: athrow
        24: .line 716
      StackMap locals:
      StackMap stack:
            return
        end local 3 // java.lang.Long maxSize
        end local 2 // java.time.Instant end
        end local 1 // java.time.Instant begin
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   25     0     this  Ljdk/jfr/internal/PlatformRecording;
            0   25     1    begin  Ljava/time/Instant;
            0   25     2      end  Ljava/time/Instant;
            0   25     3  maxSize  Ljava/lang/Long;
            2   20     5   result  Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;
            8   20     6     size  I
           10   12     7        r  Ljdk/jfr/internal/RepositoryChunk;
           16   17     7        r  Ljdk/jfr/internal/RepositoryChunk;
      Exception table:
        from    to  target  type
           1    21      22  any
          22    23      22  any
    MethodParameters:
         Name  Flags
      begin    
      end      
      maxSize  

  private static java.util.List<jdk.jfr.internal.RepositoryChunk> removeBefore(java.time.Instant, java.util.List<jdk.jfr.internal.RepositoryChunk>);
    descriptor: (Ljava/time/Instant;Ljava/util/List;)Ljava/util/List;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // java.time.Instant time
        start local 1 // java.util.List input
         0: .line 719
            aload 0 /* time */
            ifnonnull 2
         1: .line 720
            aload 1 /* input */
            areturn
         2: .line 722
      StackMap locals:
      StackMap stack:
            new java.util.ArrayList
            dup
            aload 1 /* input */
            invokeinterface java.util.List.size:()I
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 2 /* result */
        start local 2 // java.util.List result
         3: .line 723
            aload 1 /* input */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 7
      StackMap locals: java.time.Instant java.util.List java.util.List top java.util.Iterator
      StackMap stack:
         4: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RepositoryChunk
            astore 3 /* r */
        start local 3 // jdk.jfr.internal.RepositoryChunk r
         5: .line 724
            aload 3 /* r */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getEndTime:()Ljava/time/Instant;
            aload 0 /* time */
            invokevirtual java.time.Instant.isBefore:(Ljava/time/Instant;)Z
            ifne 7
         6: .line 725
            aload 2 /* result */
            aload 3 /* r */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 3 // jdk.jfr.internal.RepositoryChunk r
         7: .line 723
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
         8: .line 728
            aload 2 /* result */
            areturn
        end local 2 // java.util.List result
        end local 1 // java.util.List input
        end local 0 // java.time.Instant time
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    time  Ljava/time/Instant;
            0    9     1   input  Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;
            3    9     2  result  Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;
            5    7     3       r  Ljdk/jfr/internal/RepositoryChunk;
    Signature: (Ljava/time/Instant;Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;)Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;
    MethodParameters:
       Name  Flags
      time   
      input  

  private static java.util.List<jdk.jfr.internal.RepositoryChunk> removeAfter(java.time.Instant, java.util.List<jdk.jfr.internal.RepositoryChunk>);
    descriptor: (Ljava/time/Instant;Ljava/util/List;)Ljava/util/List;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // java.time.Instant time
        start local 1 // java.util.List input
         0: .line 732
            aload 0 /* time */
            ifnonnull 2
         1: .line 733
            aload 1 /* input */
            areturn
         2: .line 735
      StackMap locals:
      StackMap stack:
            new java.util.ArrayList
            dup
            aload 1 /* input */
            invokeinterface java.util.List.size:()I
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 2 /* result */
        start local 2 // java.util.List result
         3: .line 736
            aload 1 /* input */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 7
      StackMap locals: java.time.Instant java.util.List java.util.List top java.util.Iterator
      StackMap stack:
         4: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RepositoryChunk
            astore 3 /* r */
        start local 3 // jdk.jfr.internal.RepositoryChunk r
         5: .line 737
            aload 3 /* r */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getStartTime:()Ljava/time/Instant;
            aload 0 /* time */
            invokevirtual java.time.Instant.isAfter:(Ljava/time/Instant;)Z
            ifne 7
         6: .line 738
            aload 2 /* result */
            aload 3 /* r */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 3 // jdk.jfr.internal.RepositoryChunk r
         7: .line 736
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
         8: .line 741
            aload 2 /* result */
            areturn
        end local 2 // java.util.List result
        end local 1 // java.util.List input
        end local 0 // java.time.Instant time
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    time  Ljava/time/Instant;
            0    9     1   input  Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;
            3    9     2  result  Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;
            5    7     3       r  Ljdk/jfr/internal/RepositoryChunk;
    Signature: (Ljava/time/Instant;Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;)Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;
    MethodParameters:
       Name  Flags
      time   
      input  

  private static java.util.List<jdk.jfr.internal.RepositoryChunk> reduceFromBeginning(java.lang.Long, java.util.List<jdk.jfr.internal.RepositoryChunk>);
    descriptor: (Ljava/lang/Long;Ljava/util/List;)Ljava/util/List;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=7, args_size=2
        start local 0 // java.lang.Long maxSize
        start local 1 // java.util.List input
         0: .line 745
            aload 0 /* maxSize */
            ifnull 1
            aload 1 /* input */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 2
         1: .line 746
      StackMap locals:
      StackMap stack:
            aload 1 /* input */
            areturn
         2: .line 748
      StackMap locals:
      StackMap stack:
            new java.util.ArrayList
            dup
            aload 1 /* input */
            invokeinterface java.util.List.size:()I
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 2 /* result */
        start local 2 // java.util.List result
         3: .line 749
            lconst_0
            lstore 3 /* total */
        start local 3 // long total
         4: .line 750
            aload 1 /* input */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 6
            goto 10
      StackMap locals: java.lang.Long java.util.List java.util.List long top java.util.Iterator
      StackMap stack:
         5: 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
         6: .line 751
            lload 3 /* total */
            aload 5 /* r */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getSize:()J
            ladd
            lstore 3 /* total */
         7: .line 752
            lload 3 /* total */
            aload 0 /* maxSize */
            invokevirtual java.lang.Long.longValue:()J
            lcmp
            ifle 9
         8: .line 753
            goto 11
         9: .line 755
      StackMap locals: java.lang.Long java.util.List java.util.List long jdk.jfr.internal.RepositoryChunk java.util.Iterator
      StackMap stack:
            aload 2 /* result */
            aload 5 /* r */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 5 // jdk.jfr.internal.RepositoryChunk r
        10: .line 750
      StackMap locals: java.lang.Long java.util.List java.util.List long top java.util.Iterator
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 5
        11: .line 758
      StackMap locals: java.lang.Long java.util.List java.util.List long
      StackMap stack:
            aload 2 /* result */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 13
        12: .line 759
            aload 2 /* result */
            aload 1 /* input */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast jdk.jfr.internal.RepositoryChunk
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        13: .line 761
      StackMap locals:
      StackMap stack:
            aload 2 /* result */
            areturn
        end local 3 // long total
        end local 2 // java.util.List result
        end local 1 // java.util.List input
        end local 0 // java.lang.Long maxSize
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   14     0  maxSize  Ljava/lang/Long;
            0   14     1    input  Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;
            3   14     2   result  Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;
            4   14     3    total  J
            6   10     5        r  Ljdk/jfr/internal/RepositoryChunk;
    Signature: (Ljava/lang/Long;Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;)Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;
    MethodParameters:
         Name  Flags
      maxSize  
      input    

  private static java.util.List<jdk.jfr.internal.RepositoryChunk> reduceFromEnd(java.lang.Long, java.util.List<jdk.jfr.internal.RepositoryChunk>);
    descriptor: (Ljava/lang/Long;Ljava/util/List;)Ljava/util/List;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // java.lang.Long maxSize
        start local 1 // java.util.List input
         0: .line 765
            aload 1 /* input */
            invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
         1: .line 766
            aload 0 /* maxSize */
            aload 1 /* input */
            invokestatic jdk.jfr.internal.PlatformRecording.reduceFromBeginning:(Ljava/lang/Long;Ljava/util/List;)Ljava/util/List;
            astore 2 /* result */
        start local 2 // java.util.List result
         2: .line 767
            aload 2 /* result */
            invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
         3: .line 768
            aload 2 /* result */
            areturn
        end local 2 // java.util.List result
        end local 1 // java.util.List input
        end local 0 // java.lang.Long maxSize
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0  maxSize  Ljava/lang/Long;
            0    4     1    input  Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;
            2    4     2   result  Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;
    Signature: (Ljava/lang/Long;Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;)Ljava/util/List<Ljdk/jfr/internal/RepositoryChunk;>;
    MethodParameters:
         Name  Flags
      maxSize  
      input    

  public void setDumpOnExitDirectory(jdk.jfr.internal.SecuritySupport$SafePath);
    descriptor: (Ljdk/jfr/internal/SecuritySupport$SafePath;)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.internal.SecuritySupport$SafePath directory
         0: .line 772
            aload 0 /* this */
            aload 1 /* directory */
            putfield jdk.jfr.internal.PlatformRecording.dumpOnExitDirectory:Ljdk/jfr/internal/SecuritySupport$SafePath;
         1: .line 773
            return
        end local 1 // jdk.jfr.internal.SecuritySupport$SafePath directory
        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  directory  Ljdk/jfr/internal/SecuritySupport$SafePath;
    MethodParameters:
           Name  Flags
      directory  

  public jdk.jfr.internal.SecuritySupport$SafePath getDumpOnExitDirectory();
    descriptor: ()Ljdk/jfr/internal/SecuritySupport$SafePath;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 776
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.dumpOnExitDirectory:Ljdk/jfr/internal/SecuritySupport$SafePath;
            areturn
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/PlatformRecording;

  private java.lang.String lambda$0();
    descriptor: ()Ljava/lang/String;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 118
            new java.util.StringJoiner
            dup
            ldc ", "
            invokespecial java.util.StringJoiner.<init>:(Ljava/lang/CharSequence;)V
            astore 1 /* options */
        start local 1 // java.util.StringJoiner options
         1: .line 119
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.toDisk:Z
            ifne 3
         2: .line 120
            aload 1 /* options */
            ldc "disk=false"
            invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
            pop
         3: .line 122
      StackMap locals: java.util.StringJoiner
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxAge:Ljava/time/Duration;
            ifnull 5
         4: .line 123
            aload 1 /* options */
            new java.lang.StringBuilder
            dup
            ldc "maxage="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxAge:Ljava/time/Duration;
            ldc ""
            invokestatic jdk.jfr.internal.Utils.formatTimespan:(Ljava/time/Duration;Ljava/lang/String;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
            pop
         5: .line 125
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxSize:J
            lconst_0
            lcmp
            ifeq 7
         6: .line 126
            aload 1 /* options */
            new java.lang.StringBuilder
            dup
            ldc "maxsize="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxSize:J
            invokestatic jdk.jfr.internal.Utils.formatBytesCompact:(J)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
            pop
         7: .line 128
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.dumpOnExit:Z
            ifeq 9
         8: .line 129
            aload 1 /* options */
            ldc "dumponexit=true"
            invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
            pop
         9: .line 131
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.duration:Ljava/time/Duration;
            ifnull 11
        10: .line 132
            aload 1 /* options */
            new java.lang.StringBuilder
            dup
            ldc "duration="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.duration:Ljava/time/Duration;
            ldc ""
            invokestatic jdk.jfr.internal.Utils.formatTimespan:(Ljava/time/Duration;Ljava/lang/String;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
            pop
        11: .line 134
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.destination:Ljdk/jfr/internal/WriteableUserPath;
            ifnull 13
        12: .line 135
            aload 1 /* options */
            new java.lang.StringBuilder
            dup
            ldc "filename="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.destination:Ljdk/jfr/internal/WriteableUserPath;
            invokevirtual jdk.jfr.internal.WriteableUserPath.getText:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
            pop
        13: .line 137
      StackMap locals:
      StackMap stack:
            aload 1 /* options */
            invokevirtual java.util.StringJoiner.toString:()Ljava/lang/String;
            astore 2 /* optionText */
        start local 2 // java.lang.String optionText
        14: .line 138
            aload 2 /* optionText */
            invokevirtual java.lang.String.length:()I
            ifeq 16
        15: .line 139
            new java.lang.StringBuilder
            dup
            ldc "{"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* optionText */
            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 2 /* optionText */
        16: .line 141
      StackMap locals: java.lang.String
      StackMap stack:
            new java.lang.StringBuilder
            dup
            ldc "Started 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 2 /* optionText */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 2 // java.lang.String optionText
        end local 1 // java.util.StringJoiner options
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   17     0        this  Ljdk/jfr/internal/PlatformRecording;
            1   17     1     options  Ljava/util/StringJoiner;
           14   17     2  optionText  Ljava/lang/String;

  private java.lang.String lambda$1(jdk.jfr.internal.RepositoryChunk);
    descriptor: (Ljdk/jfr/internal/RepositoryChunk;)Ljava/lang/String;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 560
            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 "\" ("
            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 ") added chunk "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1
            invokevirtual jdk.jfr.internal.RepositoryChunk.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ", current size="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.size:J
            invokevirtual java.lang.StringBuilder.append:(J)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;

  private java.lang.String lambda$2(jdk.jfr.internal.RepositoryChunk);
    descriptor: (Ljdk/jfr/internal/RepositoryChunk;)Ljava/lang/String;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 565
            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 "\" ("
            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 ") removed chunk "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1
            invokevirtual jdk.jfr.internal.RepositoryChunk.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ", current size="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.size:J
            invokevirtual java.lang.StringBuilder.append:(J)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;

  private java.lang.Object lambda$3(jdk.jfr.internal.WriteableUserPath);
    descriptor: (Ljdk/jfr/internal/WriteableUserPath;)Ljava/lang/Object;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 685
            aconst_null
            astore 2
            aconst_null
            astore 3
         1: new jdk.jfr.internal.ChunksChannel
            dup
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokespecial jdk.jfr.internal.ChunksChannel.<init>:(Ljava/util/List;)V
            astore 4 /* cc */
        start local 4 // jdk.jfr.internal.ChunksChannel cc
         2: aload 1
            invokevirtual jdk.jfr.internal.WriteableUserPath.getReal:()Ljava/nio/file/Path;
            iconst_2
            anewarray java.nio.file.OpenOption
            dup
            iconst_0
            getstatic java.nio.file.StandardOpenOption.WRITE:Ljava/nio/file/StandardOpenOption;
            aastore
            dup
            iconst_1
            getstatic java.nio.file.StandardOpenOption.APPEND:Ljava/nio/file/StandardOpenOption;
            aastore
            invokestatic java.nio.channels.FileChannel.open:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/FileChannel;
            astore 5 /* fc */
        start local 5 // java.nio.channels.FileChannel fc
         3: .line 686
            aload 4 /* cc */
            aload 5 /* fc */
            invokevirtual jdk.jfr.internal.ChunksChannel.transferTo:(Ljava/nio/channels/FileChannel;)J
            pop2
         4: .line 687
            aload 5 /* fc */
            iconst_1
            invokevirtual java.nio.channels.FileChannel.force:(Z)V
         5: .line 688
            aload 5 /* fc */
            ifnull 8
            aload 5 /* fc */
            invokevirtual java.nio.channels.FileChannel.close:()V
            goto 8
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.WriteableUserPath java.lang.Throwable java.lang.Throwable jdk.jfr.internal.ChunksChannel java.nio.channels.FileChannel
      StackMap stack: java.lang.Throwable
         6: astore 2
            aload 5 /* fc */
            ifnull 7
            aload 5 /* fc */
            invokevirtual java.nio.channels.FileChannel.close:()V
        end local 5 // java.nio.channels.FileChannel fc
      StackMap locals:
      StackMap stack:
         7: aload 2
            athrow
      StackMap locals:
      StackMap stack:
         8: aload 4 /* cc */
            ifnull 16
            aload 4 /* cc */
            invokevirtual jdk.jfr.internal.ChunksChannel.close:()V
            goto 16
      StackMap locals:
      StackMap stack: java.lang.Throwable
         9: astore 3
            aload 2
            ifnonnull 10
            aload 3
            astore 2
            goto 11
      StackMap locals:
      StackMap stack:
        10: aload 2
            aload 3
            if_acmpeq 11
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        11: aload 4 /* cc */
            ifnull 12
            aload 4 /* cc */
            invokevirtual jdk.jfr.internal.ChunksChannel.close:()V
        end local 4 // jdk.jfr.internal.ChunksChannel cc
      StackMap locals:
      StackMap stack:
        12: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: astore 3
            aload 2
            ifnonnull 14
            aload 3
            astore 2
            goto 15
      StackMap locals:
      StackMap stack:
        14: aload 2
            aload 3
            if_acmpeq 15
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        15: aload 2
            athrow
        16: .line 689
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   17     0  this  Ljdk/jfr/internal/PlatformRecording;
            2   12     4    cc  Ljdk/jfr/internal/ChunksChannel;
            3    7     5    fc  Ljava/nio/channels/FileChannel;
      Exception table:
        from    to  target  type
           3     5       6  any
           2     8       9  any
           1    13      13  any
    Exceptions:
      throws java.lang.Exception
}
SourceFile: "PlatformRecording.java"
NestMembers:
  jdk.jfr.internal.PlatformRecording$1  jdk.jfr.internal.PlatformRecording$2
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract Entry = java.util.Map$Entry of java.util.Map
  jdk.jfr.internal.PlatformRecording$1
  jdk.jfr.internal.PlatformRecording$2
  public final SafePath = jdk.jfr.internal.SecuritySupport$SafePath of jdk.jfr.internal.SecuritySupport