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 shouldWriteActiveRecordingEvent;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

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

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

  private long startNanos;
    descriptor: J
    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 92
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 64
            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 71
            aload 0 /* this */
            iconst_1
            putfield jdk.jfr.internal.PlatformRecording.toDisk:Z
         3: .line 74
            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 80
            aload 0 /* this */
            getstatic jdk.jfr.RecordingState.NEW:Ljdk/jfr/RecordingState;
            putfield jdk.jfr.internal.PlatformRecording.state:Ljdk/jfr/RecordingState;
         5: .line 82
            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 87
            aload 0 /* this */
            iconst_1
            putfield jdk.jfr.internal.PlatformRecording.shouldWriteActiveRecordingEvent:Z
         7: .line 88
            aload 0 /* this */
            lconst_1
            invokestatic java.time.Duration.ofSeconds:(J)Ljava/time/Duration;
            putfield jdk.jfr.internal.PlatformRecording.flushInterval:Ljava/time/Duration;
         8: .line 89
            aload 0 /* this */
            ldc -9223372036854775808
            putfield jdk.jfr.internal.PlatformRecording.finalStartChunkNanos:J
         9: .line 90
            aload 0 /* this */
            ldc -1
            putfield jdk.jfr.internal.PlatformRecording.startNanos:J
        10: .line 99
            aload 0 /* this */
            invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
            putfield jdk.jfr.internal.PlatformRecording.noDestinationDumpOnExitAccessControlContext:Ljava/security/AccessControlContext;
        11: .line 100
            aload 0 /* this */
            lload 2 /* id */
            putfield jdk.jfr.internal.PlatformRecording.id:J
        12: .line 101
            aload 0 /* this */
            aload 1 /* recorder */
            putfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
        13: .line 102
            aload 0 /* this */
            lload 2 /* id */
            invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
            putfield jdk.jfr.internal.PlatformRecording.name:Ljava/lang/String;
        14: .line 103
            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   15     0      this  Ljdk/jfr/internal/PlatformRecording;
            0   15     1  recorder  Ljdk/jfr/internal/PlatformRecorder;
            0   15     2        id  J
    MethodParameters:
          Name  Flags
      recorder  
      id        

  public long start();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 108
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         1: .line 109
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 1 /* oldState */
        start local 1 // jdk.jfr.RecordingState oldState
         2: .line 110
            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 111
            new java.lang.IllegalStateException
            dup
            ldc "Recording can only be started once."
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 113
      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 114
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
            invokevirtual java.util.TimerTask.cancel:()Z
            pop
         6: .line 115
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
         7: .line 116
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.startTime:Ljava/time/Instant;
         8: .line 118
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            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;)J
            putfield jdk.jfr.internal.PlatformRecording.startNanos:J
         9: .line 119
            getstatic jdk.jfr.internal.LogTag.JFR: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 29
        10: .line 122
            new java.util.StringJoiner
            dup
            ldc ", "
            invokespecial java.util.StringJoiner.<init>:(Ljava/lang/CharSequence;)V
            astore 4 /* options */
        start local 4 // java.util.StringJoiner options
        11: .line 123
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.toDisk:Z
            ifne 13
        12: .line 124
            aload 4 /* options */
            ldc "disk=false"
            invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
            pop
        13: .line 126
      StackMap locals: java.util.StringJoiner
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxAge:Ljava/time/Duration;
            ifnull 15
        14: .line 127
            aload 4 /* 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
        15: .line 129
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxSize:J
            lconst_0
            lcmp
            ifeq 17
        16: .line 130
            aload 4 /* 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
        17: .line 132
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.dumpOnExit:Z
            ifeq 19
        18: .line 133
            aload 4 /* options */
            ldc "dumponexit=true"
            invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
            pop
        19: .line 135
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.duration:Ljava/time/Duration;
            ifnull 21
        20: .line 136
            aload 4 /* 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
        21: .line 138
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.destination:Ljdk/jfr/internal/WriteableUserPath;
            ifnull 23
        22: .line 139
            aload 4 /* 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.getRealPathText:()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
        23: .line 141
      StackMap locals:
      StackMap stack:
            aload 4 /* options */
            invokevirtual java.util.StringJoiner.toString:()Ljava/lang/String;
            astore 5 /* optionText */
        start local 5 // java.lang.String optionText
        24: .line 142
            aload 5 /* optionText */
            invokevirtual java.lang.String.length:()I
            ifeq 26
        25: .line 143
            new java.lang.StringBuilder
            dup
            ldc "{"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 5 /* 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 5 /* optionText */
        26: .line 145
      StackMap locals: java.lang.String
      StackMap stack:
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
        27: .line 146
            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 5 /* optionText */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        28: .line 145
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
        end local 5 // java.lang.String optionText
        end local 4 // java.util.StringJoiner options
        29: .line 148
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 2 /* newState */
        start local 2 // jdk.jfr.RecordingState newState
        30: .line 108
            aload 3
            monitorexit
        31: goto 34
        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
        32: aload 3
            monitorexit
        33: athrow
        start local 1 // jdk.jfr.RecordingState oldState
        start local 2 // jdk.jfr.RecordingState newState
        34: .line 150
      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
        35: .line 152
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startNanos:J
            lreturn
        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   36     0        this  Ljdk/jfr/internal/PlatformRecording;
            2   32     1    oldState  Ljdk/jfr/RecordingState;
           34   36     1    oldState  Ljdk/jfr/RecordingState;
           30   32     2    newState  Ljdk/jfr/RecordingState;
           34   36     2    newState  Ljdk/jfr/RecordingState;
           11   29     4     options  Ljava/util/StringJoiner;
           24   29     5  optionText  Ljava/lang/String;
      Exception table:
        from    to  target  type
           1    31      32  any
          32    33      32  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 158
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 4
            monitorenter
         1: .line 159
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 2 /* oldState */
        start local 2 // jdk.jfr.RecordingState oldState
         2: .line 160
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
            ifnull 5
         3: .line 161
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
            invokevirtual java.util.TimerTask.cancel:()Z
            pop
         4: .line 162
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
         5: .line 164
      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 165
            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 166
            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 167
            aload 0 /* this */
            invokestatic java.time.Instant.now:()Ljava/time/Instant;
            putfield jdk.jfr.internal.PlatformRecording.stopTime:Ljava/time/Instant;
        11: .line 168
            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 158
            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 170
      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 172
            aload 4 /* dest */
            ifnull 25
        18: .line 174
            aload 0 /* this */
            aload 4 /* dest */
            invokevirtual jdk.jfr.internal.PlatformRecording.dumpStopped:(Ljdk/jfr/internal/WriteableUserPath;)V
        19: .line 175
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            new java.lang.StringBuilder
            dup
            ldc "Wrote recording \""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "\" ("
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getId:()J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ") to "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 4 /* dest */
            invokevirtual jdk.jfr.internal.WriteableUserPath.getRealPathText:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
        20: .line 176
            aload 0 /* this */
            aload 3 /* newState */
            aload 2 /* oldState */
            invokevirtual jdk.jfr.internal.PlatformRecording.notifyIfStateChanged:(Ljdk/jfr/RecordingState;Ljdk/jfr/RecordingState;)V
        21: .line 177
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.close:()V
        22: .line 178
            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 181
            goto 26
        25: .line 182
      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 184
      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 188
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 189
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.ensureOkForSchedule:()V
         2: .line 191
            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 192
            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 193
            aload 0 /* this */
            getstatic jdk.jfr.RecordingState.DELAYED:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
         5: .line 194
            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 196
            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 197
            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
         8: .line 198
            goto 10
      StackMap locals: jdk.jfr.internal.PlatformRecording java.time.Duration jdk.jfr.internal.PlatformRecorder java.time.LocalDateTime
      StackMap stack: java.lang.IllegalStateException
         9: pop
        end local 3 // java.time.LocalDateTime now
        10: .line 188
      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 204
      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   15     0   this  Ljdk/jfr/internal/PlatformRecording;
            0   15     1  delay  Ljava/time/Duration;
            4   10     3    now  Ljava/time/LocalDateTime;
      Exception table:
        from    to  target  type
           6     8       9  Class java.lang.IllegalStateException
           1    11      12  any
          12    13      12  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 207
            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 208
            new java.lang.IllegalStateException
            dup
            ldc "Only a new recording can be scheduled for start"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 210
      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 215
            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 229
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 230
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.ensureOkForSchedule:()V
         2: .line 231
            aload 0 /* this */
            aload 1 /* startTime */
            putfield jdk.jfr.internal.PlatformRecording.startTime:Ljava/time/Instant;
         3: .line 232
            aload 0 /* this */
            getstatic jdk.jfr.RecordingState.DELAYED:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
         4: .line 233
            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 234
            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 229
            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 236
      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 239
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 240
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.settings:Ljava/util/Map;
            aload 1
            monitorexit
         2: areturn
         3: .line 239
      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 245
            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 249
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 250
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTime:Ljava/time/Instant;
            aload 1
            monitorexit
         2: areturn
         3: .line 249
      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 255
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 256
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startTime:Ljava/time/Instant;
            aload 1
            monitorexit
         2: areturn
         3: .line 255
      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 261
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 262
            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 261
      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 267
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 268
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxAge:Ljava/time/Duration;
            aload 1
            monitorexit
         2: areturn
         3: .line 267
      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 273
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 274
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.name:Ljava/lang/String;
            aload 1
            monitorexit
         2: areturn
         3: .line 273
      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 279
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 280
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.state:Ljdk/jfr/RecordingState;
            aload 1
            monitorexit
         2: areturn
         3: .line 279
      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 289
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         1: .line 290
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 1 /* oldState */
        start local 1 // jdk.jfr.RecordingState oldState
         2: .line 291
            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 292
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
            ifnull 6
         4: .line 293
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
            invokevirtual java.util.TimerTask.cancel:()Z
            pop
         5: .line 294
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
         6: .line 296
      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 297
            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 298
            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 297
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        11: .line 300
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.clear:()V
        12: .line 301
            aload 0 /* this */
            getstatic jdk.jfr.RecordingState.CLOSED:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
        13: .line 302
            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 304
      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 289
            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 306
      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 307
            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 312
            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 313
            new java.lang.InternalError
            dup
            ldc "Caller must have recorder lock"
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 315
      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 316
            aload 3 /* state */
            getstatic jdk.jfr.RecordingState.CLOSED:Ljdk/jfr/RecordingState;
            if_acmpne 5
         4: .line 317
            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 319
      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 320
      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 322
      StackMap locals:
      StackMap stack:
            aload 3 /* state */
            getstatic jdk.jfr.RecordingState.STOPPED:Ljdk/jfr/RecordingState;
            if_acmpne 14
         8: .line 323
            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 324
            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 325
            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 324
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 10
        13: .line 327
            aload 4 /* clone */
            areturn
        end local 4 // jdk.jfr.internal.PlatformRecording clone
        14: .line 331
      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 332
            aload 4 /* clone */
            iconst_0
            invokevirtual jdk.jfr.internal.PlatformRecording.setShouldWriteActiveRecordingEvent:(Z)V
        16: .line 333
            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 334
            aload 4 /* clone */
            iconst_1
            invokevirtual jdk.jfr.internal.PlatformRecording.setToDisk:(Z)V
        18: .line 335
            aload 4 /* clone */
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getMaxAge:()Ljava/time/Duration;
            invokevirtual jdk.jfr.internal.PlatformRecording.setMaxAge:(Ljava/time/Duration;)V
        19: .line 336
            aload 4 /* clone */
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getMaxSize:()Ljava/lang/Long;
            invokevirtual java.lang.Long.longValue:()J
            invokevirtual jdk.jfr.internal.PlatformRecording.setMaxSize:(J)V
        20: .line 339
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
            ifne 23
        21: .line 341
            aload 4 /* clone */
            invokevirtual jdk.jfr.internal.PlatformRecording.start:()J
            pop2
        22: .line 342
            goto 29
        23: .line 344
      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 26
      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:
        24: 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
        25: .line 345
            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
        26: .line 344
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 24
        27: .line 347
            aload 4 /* clone */
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
        28: .line 348
            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
        29: .line 350
      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 33
        30: .line 351
            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
        31: .line 352
            aload 4 /* clone */
            aload 1 /* reason */
            invokevirtual jdk.jfr.internal.PlatformRecording.stop:(Ljava/lang/String;)Z
            pop
        32: .line 353
            goto 40
        33: .line 358
      StackMap locals:
      StackMap stack:
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            dup
            astore 5
            monitorenter
        34: .line 359
            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
        35: .line 360
            aload 4 /* clone */
            aload 1 /* reason */
            invokevirtual jdk.jfr.internal.PlatformRecording.stop:(Ljava/lang/String;)Z
            pop
        36: .line 358
            aload 5
            monitorexit
        37: goto 40
      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
        38: aload 5
            monitorexit
        39: athrow
        40: .line 363
      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   41     0           this  Ljdk/jfr/internal/PlatformRecording;
            0   41     1         reason  Ljava/lang/String;
            0   41     2  pathToGcRoots  Ljava/lang/Boolean;
            3   41     3          state  Ljdk/jfr/RecordingState;
            9   14     4          clone  Ljdk/jfr/internal/PlatformRecording;
           11   12     5              r  Ljdk/jfr/internal/RepositoryChunk;
           15   41     4          clone  Ljdk/jfr/internal/PlatformRecording;
           25   26     5              c  Ljdk/jfr/internal/RepositoryChunk;
      Exception table:
        from    to  target  type
          34    37      38  any
          38    39      38  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 367
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 368
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.toDisk:Z
            aload 1
            monitorexit
         2: ireturn
         3: .line 367
      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 373
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         1: .line 374
            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 375
            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 377
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            lload 1 /* maxSize */
            putfield jdk.jfr.internal.PlatformRecording.maxSize:J
         4: .line 378
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.trimToSize:()V
         5: .line 373
            aload 3
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 3
            monitorexit
         8: athrow
         9: .line 380
      StackMap locals:
      StackMap stack:
            return
        end local 1 // long maxSize
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0     this  Ljdk/jfr/internal/PlatformRecording;
            0   10     1  maxSize  J
      Exception table:
        from    to  target  type
           1     6       7  any
           7     8       7  any
    MethodParameters:
         Name  Flags
      maxSize  

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

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

  public jdk.jfr.internal.WriteableUserPath getDestination();
    descriptor: ()Ljdk/jfr/internal/WriteableUserPath;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 398
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 399
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.destination:Ljdk/jfr/internal/WriteableUserPath;
            aload 1
            monitorexit
         2: areturn
         3: .line 398
      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 404
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 405
            aload 0 /* this */
            aload 1 /* state */
            putfield jdk.jfr.internal.PlatformRecording.state:Ljdk/jfr/RecordingState;
         2: .line 404
            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 407
      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 410
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 411
            aload 0 /* this */
            aload 1 /* startTime */
            putfield jdk.jfr.internal.PlatformRecording.startTime:Ljava/time/Instant;
         2: .line 410
            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 413
      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 416
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 417
            aload 0 /* this */
            aload 1 /* timeStamp */
            putfield jdk.jfr.internal.PlatformRecording.stopTime:Ljava/time/Instant;
         2: .line 416
            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 419
      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 422
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 423
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.id:J
            aload 1
            monitorexit
         2: lreturn
         3: .line 422
      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 428
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 429
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.ensureNotClosed:()V
         2: .line 430
            aload 0 /* this */
            aload 1 /* name */
            putfield jdk.jfr.internal.PlatformRecording.name:Ljava/lang/String;
         3: .line 428
            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 432
      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 435
            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 436
            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 438
      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 441
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 442
            aload 0 /* this */
            iload 1 /* dumpOnExit */
            putfield jdk.jfr.internal.PlatformRecording.dumpOnExit:Z
         2: .line 441
            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 444
      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 447
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 448
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.dumpOnExit:Z
            aload 1
            monitorexit
         2: ireturn
         3: .line 447
      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 453
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 454
            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 455
            aload 0 /* this */
            iload 1 /* toDisk */
            putfield jdk.jfr.internal.PlatformRecording.toDisk:Z
         3: .line 456
            goto 5
         4: .line 457
      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 453
      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 460
      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 463
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         1: .line 464
            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 465
            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 466
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            invokevirtual jdk.jfr.internal.PlatformRecorder.updateSettings:()V
         4: .line 463
      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 469
      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 472
            aload 0 /* this */
            aload 1 /* settings */
            iconst_1
            invokevirtual jdk.jfr.internal.PlatformRecording.setSettings:(Ljava/util/Map;Z)V
         1: .line 473
            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 476
            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 477
            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 478
            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 479
            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 480
            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 481
            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 479
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
        end local 3 // java.util.TreeMap ordered
         8: .line 484
      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 485
            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 486
            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 487
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            invokevirtual jdk.jfr.internal.PlatformRecorder.updateSettings:()V
        12: .line 484
      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 490
      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 493
            aload 2 /* oldState */
            aload 1 /* newState */
            if_acmpne 2
         1: .line 494
            return
         2: .line 496
      StackMap locals:
      StackMap stack:
            invokestatic jdk.jfr.internal.PlatformRecorder.getListeners:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 9
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState jdk.jfr.RecordingState top java.util.Iterator
      StackMap stack:
         3: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.FlightRecorderListener
            astore 3 /* cl */
        start local 3 // jdk.jfr.FlightRecorderListener cl
         4: .line 499
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recording:Ljdk/jfr/Recording;
            ifnull 9
         5: .line 500
            aload 3 /* cl */
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recording:Ljdk/jfr/Recording;
            invokeinterface jdk.jfr.FlightRecorderListener.recordingStateChanged:(Ljdk/jfr/Recording;)V
         6: .line 502
            goto 9
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState jdk.jfr.RecordingState jdk.jfr.FlightRecorderListener java.util.Iterator
      StackMap stack: java.lang.RuntimeException
         7: astore 5 /* re */
        start local 5 // java.lang.RuntimeException re
         8: .line 503
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.WARN:Ljdk/jfr/internal/LogLevel;
            new java.lang.StringBuilder
            dup
            ldc "Error notifying recorder listener:"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 5 /* re */
            invokevirtual java.lang.RuntimeException.getMessage:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
        end local 5 // java.lang.RuntimeException re
        end local 3 // jdk.jfr.FlightRecorderListener cl
         9: .line 496
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState jdk.jfr.RecordingState top java.util.Iterator
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
        10: .line 506
            return
        end local 2 // jdk.jfr.RecordingState oldState
        end local 1 // jdk.jfr.RecordingState newState
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   11     0      this  Ljdk/jfr/internal/PlatformRecording;
            0   11     1  newState  Ljdk/jfr/RecordingState;
            0   11     2  oldState  Ljdk/jfr/RecordingState;
            4    9     3        cl  Ljdk/jfr/FlightRecorderListener;
            8    9     5        re  Ljava/lang/RuntimeException;
      Exception table:
        from    to  target  type
           4     6       7  Class java.lang.RuntimeException
    MethodParameters:
          Name  Flags
      newState  
      oldState  

  public void setRecording(jdk.jfr.Recording);
    descriptor: (Ljdk/jfr/Recording;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // jdk.jfr.Recording recording
         0: .line 509
            aload 0 /* this */
            aload 1 /* recording */
            putfield jdk.jfr.internal.PlatformRecording.recording:Ljdk/jfr/Recording;
         1: .line 510
            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 513
            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 518
            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 522
            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 523
            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 526
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 527
            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 528
            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 530
      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 531
            aload 1 /* maxAge */
            ifnull 6
         5: .line 532
            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 526
      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 535
      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 538
            aload 1 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.isFinished:()Z
            ifne 2
         1: .line 539
            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 541
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         3: .line 542
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.toDisk:Z
            ifne 6
         4: .line 543
            aload 2
            monitorexit
         5: return
         6: .line 545
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxAge:Ljava/time/Duration;
            ifnull 8
         7: .line 546
            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 548
      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 549
            aload 0 /* this */
            aload 1 /* chunk */
            invokevirtual jdk.jfr.internal.PlatformRecording.added:(Ljdk/jfr/internal/RepositoryChunk;)V
        10: .line 550
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.trimToSize:()V
        11: .line 541
            aload 2
            monitorexit
        12: goto 15
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: aload 2
            monitorexit
        14: athrow
        15: .line 552
      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 555
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxSize:J
            lconst_0
            lcmp
            ifne 4
         1: .line 556
            return
         2: .line 559
      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 560
            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 558
      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 562
      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 565
            goto 6
         1: .line 566
      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 567
            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 568
            return
         4: .line 570
      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 571
            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 565
      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 573
            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 576
            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 577
            aload 0 /* this */
            aload 1 /* c */
            invokevirtual jdk.jfr.internal.PlatformRecording.added:(Ljdk/jfr/internal/RepositoryChunk;)V
         2: .line 578
            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 581
            aload 1 /* c */
            invokevirtual jdk.jfr.internal.RepositoryChunk.use:()V
         1: .line 582
            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 583
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
            invokestatic jdk.jfr.internal.Logger.shouldLog:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;)Z
            ifeq 4
         3: .line 584
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
            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 /* c */
            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;
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
         4: .line 586
      StackMap locals:
      StackMap stack:
            return
        end local 1 // jdk.jfr.internal.RepositoryChunk c
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
            0    5     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 589
            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 590
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
            invokestatic jdk.jfr.internal.Logger.shouldLog:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;)Z
            ifeq 3
         2: .line 591
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
            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 /* c */
            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;
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
         3: .line 593
      StackMap locals:
      StackMap stack:
            aload 1 /* c */
            invokevirtual jdk.jfr.internal.RepositoryChunk.release:()V
         4: .line 594
            return
        end local 1 // jdk.jfr.internal.RepositoryChunk c
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
            0    5     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 597
            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 601
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         1: .line 602
            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 603
            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 605
      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 606
            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 607
            aload 5 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.isFinished:()Z
            ifeq 12
         7: .line 608
            aload 5 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getStartTime:()Ljava/time/Instant;
            astore 7 /* chunkStart */
        start local 7 // java.time.Instant chunkStart
         8: .line 609
            aload 5 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getEndTime:()Ljava/time/Instant;
            astore 8 /* chunkEnd */
        start local 8 // java.time.Instant chunkEnd
         9: .line 610
            aload 1 /* start */
            ifnull 10
            aload 8 /* chunkEnd */
            aload 1 /* start */
            invokevirtual java.time.Instant.isBefore:(Ljava/time/Instant;)Z
            ifne 12
        10: .line 611
      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 612
      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 606
      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 617
            aload 4 /* chunksToUse */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 16
        14: .line 618
            aload 3
            monitorexit
        15: aconst_null
            areturn
        16: .line 620
      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 601
      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 625
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 626
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.duration:Ljava/time/Duration;
            aload 1
            monitorexit
         2: areturn
         3: .line 625
      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 631
            aload 0 /* this */
            aload 1 /* duration */
            putfield jdk.jfr.internal.PlatformRecording.duration:Ljava/time/Duration;
         1: .line 632
            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 635
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 636
            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 637
            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 639
      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 640
            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 641
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.updateTimer:()V
         6: .line 635
      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 644
      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 647
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
            ifnull 3
         1: .line 648
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
            invokevirtual java.util.TimerTask.cancel:()Z
            pop
         2: .line 649
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
         3: .line 651
      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 652
            return
         5: .line 654
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.duration:Ljava/time/Duration;
            ifnull 8
         6: .line 655
            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 656
            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 658
      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 661
            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 675
            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 679
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 680
            aload 0 /* this */
            aload 1 /* stopTask */
            putfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
         2: .line 679
            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 682
      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 685
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.destination:Ljdk/jfr/internal/WriteableUserPath;
         1: .line 686
            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 689
            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 693
            aload 0 /* this */
            iload 1 /* shouldWrite */
            putfield jdk.jfr.internal.PlatformRecording.shouldWriteActiveRecordingEvent:Z
         1: .line 694
            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 697
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.shouldWriteActiveRecordingEvent: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 702
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 703
            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 704
            aload 5 /* p */
            aload 1 /* writeableUserPath */
            invokevirtual jdk.jfr.internal.PlatformRecording.dumpStopped:(Ljdk/jfr/internal/WriteableUserPath;)V
         4: .line 705
            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 702
      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 707
      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 710
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 711
            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$0(Ljdk/jfr/internal/WriteableUserPath;)Ljava/lang/Object; (7)
                  ()Ljava/lang/Object;
            invokevirtual jdk.jfr.internal.WriteableUserPath.doPrivilegedIO:(Ljava/util/concurrent/Callable;)V
         2: .line 710
            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 719
      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 722
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 4
            monitorenter
         1: .line 723
            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 724
            aload 3 /* maxSize */
            ifnull 7
         3: .line 725
            aload 1 /* begin */
            ifnull 6
            aload 2 /* end */
            ifnonnull 6
         4: .line 726
            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 727
            goto 7
         6: .line 728
      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 731
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 6 /* size */
        start local 6 // int size
         8: .line 732
            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 733
            iload 6 /* size */
            i2l
            aload 7 /* r */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getSize:()J
            ladd
            l2i
            istore 6 /* size */
        11: .line 734
            aload 7 /* r */
            invokevirtual jdk.jfr.internal.RepositoryChunk.use:()V
        end local 7 // jdk.jfr.internal.RepositoryChunk r
        12: .line 732
      StackMap locals:
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 9
        13: .line 736
            aload 0 /* this */
            iload 6 /* size */
            i2l
            putfield jdk.jfr.internal.PlatformRecording.size:J
        14: .line 737
            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 738
            aload 7 /* r */
            invokevirtual jdk.jfr.internal.RepositoryChunk.release:()V
        end local 7 // jdk.jfr.internal.RepositoryChunk r
        17: .line 737
      StackMap locals:
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 15
        18: .line 740
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.clear:()V
        19: .line 741
            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 722
            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 743
      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 746
            aload 0 /* time */
            ifnonnull 2
         1: .line 747
            aload 1 /* input */
            areturn
         2: .line 749
      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 750
            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 751
            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 752
            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 750
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
         8: .line 755
            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 759
            aload 0 /* time */
            ifnonnull 2
         1: .line 760
            aload 1 /* input */
            areturn
         2: .line 762
      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 763
            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 764
            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 765
            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 763
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
         8: .line 768
            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 772
            aload 0 /* maxSize */
            ifnull 1
            aload 1 /* input */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 2
         1: .line 773
      StackMap locals:
      StackMap stack:
            aload 1 /* input */
            areturn
         2: .line 775
      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 776
            lconst_0
            lstore 3 /* total */
        start local 3 // long total
         4: .line 777
            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 778
            lload 3 /* total */
            aload 5 /* r */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getSize:()J
            ladd
            lstore 3 /* total */
         7: .line 779
            lload 3 /* total */
            aload 0 /* maxSize */
            invokevirtual java.lang.Long.longValue:()J
            lcmp
            ifle 9
         8: .line 780
            goto 11
         9: .line 782
      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 777
      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 785
      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 786
            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 788
      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 792
            aload 1 /* input */
            invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
         1: .line 793
            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 794
            aload 2 /* result */
            invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
         3: .line 795
            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 799
            aload 0 /* this */
            aload 1 /* directory */
            putfield jdk.jfr.internal.PlatformRecording.dumpOnExitDirectory:Ljdk/jfr/internal/SecuritySupport$SafePath;
         1: .line 800
            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 803
            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;

  public void setFlushInterval(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 interval
         0: .line 807
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 808
            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 809
            new java.lang.IllegalStateException
            dup
            ldc "Can't set stream interval when recording is closed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 811
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            aload 1 /* interval */
            putfield jdk.jfr.internal.PlatformRecording.flushInterval:Ljava/time/Duration;
         4: .line 807
            aload 2
            monitorexit
         5: goto 8
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: aload 2
            monitorexit
         7: athrow
         8: .line 813
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.time.Duration interval
        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  interval  Ljava/time/Duration;
      Exception table:
        from    to  target  type
           1     5       6  any
           6     7       6  any
    MethodParameters:
          Name  Flags
      interval  

  public java.time.Duration getFlushInterval();
    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 816
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 817
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.flushInterval:Ljava/time/Duration;
            aload 1
            monitorexit
         2: areturn
         3: .line 816
      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 long getStreamIntervalMillis();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 822
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 823
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.flushInterval:Ljava/time/Duration;
            ifnull 4
         2: .line 824
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.flushInterval:Ljava/time/Duration;
            invokevirtual java.time.Duration.toMillis:()J
            aload 1
            monitorexit
         3: lreturn
         4: .line 826
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 1
            monitorexit
         5: ldc 9223372036854775807
            lreturn
         6: .line 822
      StackMap locals:
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         7: athrow
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           1     3       6  any
           4     5       6  any
           6     7       6  any

  public long getStartNanos();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 831
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startNanos: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 long getFinalChunkStartNanos();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 835
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.finalStartChunkNanos: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 void setFinalStartnanos(long);
    descriptor: (J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // long chunkStartNanos
         0: .line 839
            aload 0 /* this */
            lload 1 /* chunkStartNanos */
            putfield jdk.jfr.internal.PlatformRecording.finalStartChunkNanos:J
         1: .line 840
            return
        end local 1 // long chunkStartNanos
        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  chunkStartNanos  J
    MethodParameters:
                 Name  Flags
      chunkStartNanos  

  public void removeBefore(java.time.Instant);
    descriptor: (Ljava/time/Instant;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // java.time.Instant timestamp
         0: .line 843
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 844
            goto 8
         2: .line 845
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      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 3 /* oldestChunk */
        start local 3 // jdk.jfr.internal.RepositoryChunk oldestChunk
         3: .line 846
            aload 3 /* oldestChunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getEndTime:()Ljava/time/Instant;
            aload 1 /* timestamp */
            invokevirtual java.time.Instant.isBefore:(Ljava/time/Instant;)Z
            ifne 6
         4: .line 847
            aload 2
            monitorexit
         5: return
         6: .line 849
      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
         7: .line 850
            aload 0 /* this */
            aload 3 /* oldestChunk */
            invokevirtual jdk.jfr.internal.PlatformRecording.removed:(Ljdk/jfr/internal/RepositoryChunk;)V
        end local 3 // jdk.jfr.internal.RepositoryChunk oldestChunk
         8: .line 844
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.isEmpty:()Z
            ifeq 2
         9: .line 843
            aload 2
            monitorexit
        10: goto 13
      StackMap locals:
      StackMap stack: java.lang.Throwable
        11: aload 2
            monitorexit
        12: athrow
        13: .line 854
      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   14     0         this  Ljdk/jfr/internal/PlatformRecording;
            0   14     1    timestamp  Ljava/time/Instant;
            3    8     3  oldestChunk  Ljdk/jfr/internal/RepositoryChunk;
      Exception table:
        from    to  target  type
           1     5      11  any
           6    10      11  any
          11    12      11  any
    MethodParameters:
           Name  Flags
      timestamp  

  public void removePath(jdk.jfr.internal.SecuritySupport$SafePath);
    descriptor: (Ljdk/jfr/internal/SecuritySupport$SafePath;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // jdk.jfr.internal.PlatformRecording this
        start local 1 // jdk.jfr.internal.SecuritySupport$SafePath path
         0: .line 857
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 858
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
            astore 3 /* it */
        start local 3 // java.util.Iterator it
         2: .line 859
            goto 9
         3: .line 860
      StackMap locals: jdk.jfr.internal.PlatformRecorder java.util.Iterator
      StackMap stack:
            aload 3 /* it */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RepositoryChunk
            astore 4 /* c */
        start local 4 // jdk.jfr.internal.RepositoryChunk c
         4: .line 861
            aload 4 /* c */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getFile:()Ljdk/jfr/internal/SecuritySupport$SafePath;
            aload 1 /* path */
            invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.equals:(Ljava/lang/Object;)Z
            ifeq 9
         5: .line 862
            aload 3 /* it */
            invokeinterface java.util.Iterator.remove:()V
         6: .line 863
            aload 0 /* this */
            aload 4 /* c */
            invokevirtual jdk.jfr.internal.PlatformRecording.removed:(Ljdk/jfr/internal/RepositoryChunk;)V
         7: .line 864
            aload 2
            monitorexit
         8: return
        end local 4 // jdk.jfr.internal.RepositoryChunk c
         9: .line 859
      StackMap locals:
      StackMap stack:
            aload 3 /* it */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
        end local 3 // java.util.Iterator it
        10: .line 857
            aload 2
            monitorexit
        11: goto 14
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.SecuritySupport$SafePath jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
        12: aload 2
            monitorexit
        13: athrow
        14: .line 868
      StackMap locals:
      StackMap stack:
            return
        end local 1 // jdk.jfr.internal.SecuritySupport$SafePath path
        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  path  Ljdk/jfr/internal/SecuritySupport$SafePath;
            2   10     3    it  Ljava/util/Iterator<Ljdk/jfr/internal/RepositoryChunk;>;
            4    9     4     c  Ljdk/jfr/internal/RepositoryChunk;
      Exception table:
        from    to  target  type
           1     8      12  any
           9    11      12  any
          12    13      12  any
    MethodParameters:
      Name  Flags
      path  

  private java.lang.Object lambda$0(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 712
            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 713
            aload 4 /* cc */
            aload 5 /* fc */
            invokevirtual jdk.jfr.internal.ChunksChannel.transferTo:(Ljava/nio/channels/FileChannel;)J
            pop2
         4: .line 714
            aload 5 /* fc */
            iconst_1
            invokevirtual java.nio.channels.FileChannel.force:(Z)V
         5: .line 715
            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 716
      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