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

  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 90
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 63
            aload 0 /* this */
            new java.util.LinkedHashMap
            dup
            invokespecial java.util.LinkedHashMap.<init>:()V
            putfield jdk.jfr.internal.PlatformRecording.settings:Ljava/util/Map;
         2: .line 70
            aload 0 /* this */
            iconst_1
            putfield jdk.jfr.internal.PlatformRecording.toDisk:Z
         3: .line 73
            aload 0 /* this */
            new jdk.jfr.internal.SecuritySupport$SafePath
            dup
            ldc "."
            invokespecial jdk.jfr.internal.SecuritySupport$SafePath.<init>:(Ljava/lang/String;)V
            putfield jdk.jfr.internal.PlatformRecording.dumpOnExitDirectory:Ljdk/jfr/internal/SecuritySupport$SafePath;
         4: .line 79
            aload 0 /* this */
            getstatic jdk.jfr.RecordingState.NEW:Ljdk/jfr/RecordingState;
            putfield jdk.jfr.internal.PlatformRecording.state:Ljdk/jfr/RecordingState;
         5: .line 81
            aload 0 /* this */
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            putfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
         6: .line 86
            aload 0 /* this */
            iconst_1
            putfield jdk.jfr.internal.PlatformRecording.shouldWriteActiveRecordingEvent:Z
         7: .line 87
            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 88
            aload 0 /* this */
            ldc -9223372036854775808
            putfield jdk.jfr.internal.PlatformRecording.finalStartChunkNanos:J
         9: .line 97
            aload 0 /* this */
            invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
            putfield jdk.jfr.internal.PlatformRecording.noDestinationDumpOnExitAccessControlContext:Ljava/security/AccessControlContext;
        10: .line 98
            aload 0 /* this */
            lload 2 /* id */
            putfield jdk.jfr.internal.PlatformRecording.id:J
        11: .line 99
            aload 0 /* this */
            aload 1 /* recorder */
            putfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
        12: .line 100
            aload 0 /* this */
            lload 2 /* id */
            invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
            putfield jdk.jfr.internal.PlatformRecording.name:Ljava/lang/String;
        13: .line 101
            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   14     0      this  Ljdk/jfr/internal/PlatformRecording;
            0   14     1  recorder  Ljdk/jfr/internal/PlatformRecorder;
            0   14     2        id  J
    MethodParameters:
          Name  Flags
      recorder  
      id        

  public long start();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=8, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 106
            ldc -1
            lstore 3 /* startNanos */
        start local 3 // long startNanos
         1: .line 107
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 5
            monitorenter
         2: .line 108
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 1 /* oldState */
        start local 1 // jdk.jfr.RecordingState oldState
         3: .line 109
            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 5
         4: .line 110
            new java.lang.IllegalStateException
            dup
            ldc "Recording can only be started once."
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 112
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState top long jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
            ifnull 9
         6: .line 113
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
            invokevirtual java.util.TimerTask.cancel:()Z
            pop
         7: .line 114
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
         8: .line 115
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.startTime:Ljava/time/Instant;
         9: .line 117
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecorder.start:(Ljdk/jfr/internal/PlatformRecording;)J
            lstore 3 /* startNanos */
        10: .line 118
            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 30
        11: .line 121
            new java.util.StringJoiner
            dup
            ldc ", "
            invokespecial java.util.StringJoiner.<init>:(Ljava/lang/CharSequence;)V
            astore 6 /* options */
        start local 6 // java.util.StringJoiner options
        12: .line 122
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.toDisk:Z
            ifne 14
        13: .line 123
            aload 6 /* options */
            ldc "disk=false"
            invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
            pop
        14: .line 125
      StackMap locals: java.util.StringJoiner
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxAge:Ljava/time/Duration;
            ifnull 16
        15: .line 126
            aload 6 /* 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
        16: .line 128
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxSize:J
            lconst_0
            lcmp
            ifeq 18
        17: .line 129
            aload 6 /* 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
        18: .line 131
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.dumpOnExit:Z
            ifeq 20
        19: .line 132
            aload 6 /* options */
            ldc "dumponexit=true"
            invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
            pop
        20: .line 134
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.duration:Ljava/time/Duration;
            ifnull 22
        21: .line 135
            aload 6 /* 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
        22: .line 137
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.destination:Ljdk/jfr/internal/WriteableUserPath;
            ifnull 24
        23: .line 138
            aload 6 /* 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
        24: .line 140
      StackMap locals:
      StackMap stack:
            aload 6 /* options */
            invokevirtual java.util.StringJoiner.toString:()Ljava/lang/String;
            astore 7 /* optionText */
        start local 7 // java.lang.String optionText
        25: .line 141
            aload 7 /* optionText */
            invokevirtual java.lang.String.length:()I
            ifeq 27
        26: .line 142
            new java.lang.StringBuilder
            dup
            ldc "{"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 7 /* 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 7 /* optionText */
        27: .line 144
      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;
        28: .line 145
            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 7 /* optionText */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        29: .line 144
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
        end local 7 // java.lang.String optionText
        end local 6 // java.util.StringJoiner options
        30: .line 147
      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
        31: .line 107
            aload 5
            monitorexit
        32: goto 35
        end local 2 // jdk.jfr.RecordingState newState
        end local 1 // jdk.jfr.RecordingState oldState
      StackMap locals: jdk.jfr.internal.PlatformRecording top top long jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
        33: aload 5
            monitorexit
        34: athrow
        start local 1 // jdk.jfr.RecordingState oldState
        start local 2 // jdk.jfr.RecordingState newState
        35: .line 149
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.RecordingState jdk.jfr.RecordingState long
      StackMap stack:
            aload 0 /* this */
            aload 1 /* oldState */
            aload 2 /* newState */
            invokevirtual jdk.jfr.internal.PlatformRecording.notifyIfStateChanged:(Ljdk/jfr/RecordingState;Ljdk/jfr/RecordingState;)V
        36: .line 151
            lload 3 /* startNanos */
            lreturn
        end local 3 // long startNanos
        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   37     0        this  Ljdk/jfr/internal/PlatformRecording;
            3   33     1    oldState  Ljdk/jfr/RecordingState;
           35   37     1    oldState  Ljdk/jfr/RecordingState;
           31   33     2    newState  Ljdk/jfr/RecordingState;
           35   37     2    newState  Ljdk/jfr/RecordingState;
            1   37     3  startNanos  J
           12   30     6     options  Ljava/util/StringJoiner;
           25   30     7  optionText  Ljava/lang/String;
      Exception table:
        from    to  target  type
           2    32      33  any
          33    34      33  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 157
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 4
            monitorenter
         1: .line 158
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 2 /* oldState */
        start local 2 // jdk.jfr.RecordingState oldState
         2: .line 159
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
            ifnull 5
         3: .line 160
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
            invokevirtual java.util.TimerTask.cancel:()Z
            pop
         4: .line 161
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
         5: .line 163
      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 164
            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 165
            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 166
            aload 0 /* this */
            invokestatic java.time.Instant.now:()Ljava/time/Instant;
            putfield jdk.jfr.internal.PlatformRecording.stopTime:Ljava/time/Instant;
        11: .line 167
            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 157
            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 169
      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 171
            aload 4 /* dest */
            ifnull 25
        18: .line 173
            aload 0 /* this */
            aload 4 /* dest */
            invokevirtual jdk.jfr.internal.PlatformRecording.dumpStopped:(Ljdk/jfr/internal/WriteableUserPath;)V
        19: .line 174
            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 175
            aload 0 /* this */
            aload 3 /* newState */
            aload 2 /* oldState */
            invokevirtual jdk.jfr.internal.PlatformRecording.notifyIfStateChanged:(Ljdk/jfr/RecordingState;Ljdk/jfr/RecordingState;)V
        21: .line 176
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.close:()V
        22: .line 177
            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 180
            goto 26
        25: .line 181
      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 183
      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 187
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 188
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.ensureOkForSchedule:()V
         2: .line 190
            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 191
            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 192
            aload 0 /* this */
            getstatic jdk.jfr.RecordingState.DELAYED:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
         5: .line 193
            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 195
            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 196
            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 197
            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 187
      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 203
      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 206
            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 207
            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 209
      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 214
            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 228
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 229
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.ensureOkForSchedule:()V
         2: .line 230
            aload 0 /* this */
            aload 1 /* startTime */
            putfield jdk.jfr.internal.PlatformRecording.startTime:Ljava/time/Instant;
         3: .line 231
            aload 0 /* this */
            getstatic jdk.jfr.RecordingState.DELAYED:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
         4: .line 232
            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 233
            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 228
            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 235
      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 238
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 239
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.settings:Ljava/util/Map;
            aload 1
            monitorexit
         2: areturn
         3: .line 238
      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 244
            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 248
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 249
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTime:Ljava/time/Instant;
            aload 1
            monitorexit
         2: areturn
         3: .line 248
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  public java.time.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 254
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 255
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startTime:Ljava/time/Instant;
            aload 1
            monitorexit
         2: areturn
         3: .line 254
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  public java.lang.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 260
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 261
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxSize:J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aload 1
            monitorexit
         2: areturn
         3: .line 260
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  public 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 266
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 267
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxAge:Ljava/time/Duration;
            aload 1
            monitorexit
         2: areturn
         3: .line 266
      StackMap locals: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.PlatformRecorder
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/PlatformRecording;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  public 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 272
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 273
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.name:Ljava/lang/String;
            aload 1
            monitorexit
         2: areturn
         3: .line 272
      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 278
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 279
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.state:Ljdk/jfr/RecordingState;
            aload 1
            monitorexit
         2: areturn
         3: .line 278
      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 288
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         1: .line 289
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
            astore 1 /* oldState */
        start local 1 // jdk.jfr.RecordingState oldState
         2: .line 290
            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 291
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
            ifnull 6
         4: .line 292
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
            invokevirtual java.util.TimerTask.cancel:()Z
            pop
         5: .line 293
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.startTask:Ljava/util/TimerTask;
         6: .line 295
      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 296
            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 297
            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 296
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        11: .line 299
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.clear:()V
        12: .line 300
            aload 0 /* this */
            getstatic jdk.jfr.RecordingState.CLOSED:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
        13: .line 301
            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 303
      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 288
            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 305
      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 306
            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 311
            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 312
            new java.lang.InternalError
            dup
            ldc "Caller must have recorder lock"
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 314
      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 315
            aload 3 /* state */
            getstatic jdk.jfr.RecordingState.CLOSED:Ljdk/jfr/RecordingState;
            if_acmpne 5
         4: .line 316
            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 318
      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 319
      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 321
      StackMap locals:
      StackMap stack:
            aload 3 /* state */
            getstatic jdk.jfr.RecordingState.STOPPED:Ljdk/jfr/RecordingState;
            if_acmpne 14
         8: .line 322
            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 323
            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 324
            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 323
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 10
        13: .line 326
            aload 4 /* clone */
            areturn
        end local 4 // jdk.jfr.internal.PlatformRecording clone
        14: .line 330
      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 331
            aload 4 /* clone */
            iconst_0
            invokevirtual jdk.jfr.internal.PlatformRecording.setShouldWriteActiveRecordingEvent:(Z)V
        16: .line 332
            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 333
            aload 4 /* clone */
            iconst_1
            invokevirtual jdk.jfr.internal.PlatformRecording.setToDisk:(Z)V
        18: .line 336
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
            ifne 21
        19: .line 338
            aload 4 /* clone */
            invokevirtual jdk.jfr.internal.PlatformRecording.start:()J
            pop2
        20: .line 339
            goto 27
        21: .line 341
      StackMap locals: jdk.jfr.internal.PlatformRecording
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
            astore 6
            goto 24
      StackMap locals: jdk.jfr.internal.PlatformRecording java.lang.String java.lang.Boolean jdk.jfr.RecordingState jdk.jfr.internal.PlatformRecording top java.util.Iterator
      StackMap stack:
        22: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RepositoryChunk
            astore 5 /* c */
        start local 5 // jdk.jfr.internal.RepositoryChunk c
        23: .line 342
            aload 4 /* clone */
            aload 5 /* c */
            invokevirtual jdk.jfr.internal.PlatformRecording.add:(Ljdk/jfr/internal/RepositoryChunk;)V
        end local 5 // jdk.jfr.internal.RepositoryChunk c
        24: .line 341
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 22
        25: .line 344
            aload 4 /* clone */
            getstatic jdk.jfr.RecordingState.RUNNING:Ljdk/jfr/RecordingState;
            invokevirtual jdk.jfr.internal.PlatformRecording.setState:(Ljdk/jfr/RecordingState;)V
        26: .line 345
            aload 4 /* clone */
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getStartTime:()Ljava/time/Instant;
            invokevirtual jdk.jfr.internal.PlatformRecording.setStartTime:(Ljava/time/Instant;)V
        27: .line 347
      StackMap locals: jdk.jfr.internal.PlatformRecording java.lang.String java.lang.Boolean jdk.jfr.RecordingState jdk.jfr.internal.PlatformRecording
      StackMap stack:
            aload 2 /* pathToGcRoots */
            ifnonnull 31
        28: .line 348
            aload 4 /* clone */
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.getSettings:()Ljava/util/Map;
            invokevirtual jdk.jfr.internal.PlatformRecording.setSettings:(Ljava/util/Map;)V
        29: .line 349
            aload 4 /* clone */
            aload 1 /* reason */
            invokevirtual jdk.jfr.internal.PlatformRecording.stop:(Ljava/lang/String;)Z
            pop
        30: .line 350
            goto 38
        31: .line 355
      StackMap locals:
      StackMap stack:
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            dup
            astore 5
            monitorenter
        32: .line 356
            aload 4 /* clone */
            aload 0 /* this */
            aload 2 /* pathToGcRoots */
            invokestatic jdk.jfr.internal.OldObjectSample.createSettingsForSnapshot:(Ljdk/jfr/internal/PlatformRecording;Ljava/lang/Boolean;)Ljava/util/Map;
            invokevirtual jdk.jfr.internal.PlatformRecording.setSettings:(Ljava/util/Map;)V
        33: .line 357
            aload 4 /* clone */
            aload 1 /* reason */
            invokevirtual jdk.jfr.internal.PlatformRecording.stop:(Ljava/lang/String;)Z
            pop
        34: .line 355
            aload 5
            monitorexit
        35: goto 38
      StackMap locals: jdk.jfr.internal.PlatformRecording java.lang.String java.lang.Boolean jdk.jfr.RecordingState jdk.jfr.internal.PlatformRecording jdk.jfr.internal.MetadataRepository
      StackMap stack: java.lang.Throwable
        36: aload 5
            monitorexit
        37: athrow
        38: .line 360
      StackMap locals:
      StackMap stack:
            aload 4 /* clone */
            areturn
        end local 4 // jdk.jfr.internal.PlatformRecording clone
        end local 3 // jdk.jfr.RecordingState state
        end local 2 // java.lang.Boolean pathToGcRoots
        end local 1 // java.lang.String reason
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   39     0           this  Ljdk/jfr/internal/PlatformRecording;
            0   39     1         reason  Ljava/lang/String;
            0   39     2  pathToGcRoots  Ljava/lang/Boolean;
            3   39     3          state  Ljdk/jfr/RecordingState;
            9   14     4          clone  Ljdk/jfr/internal/PlatformRecording;
           11   12     5              r  Ljdk/jfr/internal/RepositoryChunk;
           15   39     4          clone  Ljdk/jfr/internal/PlatformRecording;
           23   24     5              c  Ljdk/jfr/internal/RepositoryChunk;
      Exception table:
        from    to  target  type
          32    35      36  any
          36    37      36  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
               Name  Flags
      reason         
      pathToGcRoots  

  public boolean isToDisk();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.PlatformRecording this
         0: .line 364
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 365
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.toDisk:Z
            aload 1
            monitorexit
         2: ireturn
         3: .line 364
      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 370
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         1: .line 371
            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 372
            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 374
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            lload 1 /* maxSize */
            putfield jdk.jfr.internal.PlatformRecording.maxSize:J
         4: .line 375
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.trimToSize:()V
         5: .line 370
            aload 3
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 3
            monitorexit
         8: athrow
         9: .line 377
      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 380
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 381
            aload 0 /* this */
            aload 1 /* userSuppliedPath */
            invokevirtual jdk.jfr.internal.PlatformRecording.checkSetDestination:(Ljdk/jfr/internal/WriteableUserPath;)V
         2: .line 382
            aload 0 /* this */
            aload 1 /* userSuppliedPath */
            putfield jdk.jfr.internal.PlatformRecording.destination:Ljdk/jfr/internal/WriteableUserPath;
         3: .line 380
            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 384
      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 387
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 388
            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 389
            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 387
      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 392
      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 395
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 396
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.destination:Ljdk/jfr/internal/WriteableUserPath;
            aload 1
            monitorexit
         2: areturn
         3: .line 395
      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 401
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 402
            aload 0 /* this */
            aload 1 /* state */
            putfield jdk.jfr.internal.PlatformRecording.state:Ljdk/jfr/RecordingState;
         2: .line 401
            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 404
      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 407
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 408
            aload 0 /* this */
            aload 1 /* startTime */
            putfield jdk.jfr.internal.PlatformRecording.startTime:Ljava/time/Instant;
         2: .line 407
            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 410
      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 413
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 414
            aload 0 /* this */
            aload 1 /* timeStamp */
            putfield jdk.jfr.internal.PlatformRecording.stopTime:Ljava/time/Instant;
         2: .line 413
            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 416
      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 419
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 420
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.id:J
            aload 1
            monitorexit
         2: lreturn
         3: .line 419
      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 425
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 426
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.ensureNotClosed:()V
         2: .line 427
            aload 0 /* this */
            aload 1 /* name */
            putfield jdk.jfr.internal.PlatformRecording.name:Ljava/lang/String;
         3: .line 425
            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 429
      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 432
            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 433
            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 435
      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 438
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 439
            aload 0 /* this */
            iload 1 /* dumpOnExit */
            putfield jdk.jfr.internal.PlatformRecording.dumpOnExit:Z
         2: .line 438
            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 441
      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 444
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 445
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.dumpOnExit:Z
            aload 1
            monitorexit
         2: ireturn
         3: .line 444
      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 450
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 451
            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 452
            aload 0 /* this */
            iload 1 /* toDisk */
            putfield jdk.jfr.internal.PlatformRecording.toDisk:Z
         3: .line 453
            goto 5
         4: .line 454
      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 450
      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 457
      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 460
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         1: .line 461
            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 462
            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 463
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            invokevirtual jdk.jfr.internal.PlatformRecorder.updateSettings:()V
         4: .line 460
      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 466
      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 469
            aload 0 /* this */
            aload 1 /* settings */
            iconst_1
            invokevirtual jdk.jfr.internal.PlatformRecording.setSettings:(Ljava/util/Map;Z)V
         1: .line 470
            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 473
            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 474
            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 475
            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 476
            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 477
            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 478
            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 476
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
        end local 3 // java.util.TreeMap ordered
         8: .line 481
      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 482
            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 483
            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 484
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            invokevirtual jdk.jfr.internal.PlatformRecorder.updateSettings:()V
        12: .line 481
      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 487
      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 490
            aload 2 /* oldState */
            aload 1 /* newState */
            if_acmpne 2
         1: .line 491
            return
         2: .line 493
      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 496
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recording:Ljdk/jfr/Recording;
            ifnull 9
         5: .line 497
            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 499
            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 500
            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 493
      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 503
            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 506
            aload 0 /* this */
            aload 1 /* recording */
            putfield jdk.jfr.internal.PlatformRecording.recording:Ljdk/jfr/Recording;
         1: .line 507
            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 510
            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 515
            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 519
            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 520
            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 523
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 524
            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 525
            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 527
      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 528
            aload 1 /* maxAge */
            ifnull 6
         5: .line 529
            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 523
      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 532
      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 535
            aload 1 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.isFinished:()Z
            ifne 2
         1: .line 536
            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 538
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         3: .line 539
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.toDisk:Z
            ifne 6
         4: .line 540
            aload 2
            monitorexit
         5: return
         6: .line 542
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxAge:Ljava/time/Duration;
            ifnull 8
         7: .line 543
            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 545
      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 546
            aload 0 /* this */
            aload 1 /* chunk */
            invokevirtual jdk.jfr.internal.PlatformRecording.added:(Ljdk/jfr/internal/RepositoryChunk;)V
        10: .line 547
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.trimToSize:()V
        11: .line 538
            aload 2
            monitorexit
        12: goto 15
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: aload 2
            monitorexit
        14: athrow
        15: .line 549
      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 552
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.maxSize:J
            lconst_0
            lcmp
            ifne 4
         1: .line 553
            return
         2: .line 556
      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 557
            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 555
      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 559
      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 562
            goto 6
         1: .line 563
      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 564
            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 565
            return
         4: .line 567
      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 568
            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 562
      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 570
            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 573
            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 574
            aload 0 /* this */
            aload 1 /* c */
            invokevirtual jdk.jfr.internal.PlatformRecording.added:(Ljdk/jfr/internal/RepositoryChunk;)V
         2: .line 575
            return
        end local 1 // jdk.jfr.internal.RepositoryChunk c
        end local 0 // jdk.jfr.internal.PlatformRecording this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    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 578
            aload 1 /* c */
            invokevirtual jdk.jfr.internal.RepositoryChunk.use:()V
         1: .line 579
            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 580
            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 581
            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 583
      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 586
            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 587
            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 588
            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 590
      StackMap locals:
      StackMap stack:
            aload 1 /* c */
            invokevirtual jdk.jfr.internal.RepositoryChunk.release:()V
         4: .line 591
            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 594
            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 598
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 3
            monitorenter
         1: .line 599
            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 600
            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 602
      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 603
            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 604
            aload 5 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.isFinished:()Z
            ifeq 12
         7: .line 605
            aload 5 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getStartTime:()Ljava/time/Instant;
            astore 7 /* chunkStart */
        start local 7 // java.time.Instant chunkStart
         8: .line 606
            aload 5 /* chunk */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getEndTime:()Ljava/time/Instant;
            astore 8 /* chunkEnd */
        start local 8 // java.time.Instant chunkEnd
         9: .line 607
            aload 1 /* start */
            ifnull 10
            aload 8 /* chunkEnd */
            aload 1 /* start */
            invokevirtual java.time.Instant.isBefore:(Ljava/time/Instant;)Z
            ifne 12
        10: .line 608
      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 609
      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 603
      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 614
            aload 4 /* chunksToUse */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 16
        14: .line 615
            aload 3
            monitorexit
        15: aconst_null
            areturn
        16: .line 617
      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 598
      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 622
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 623
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.duration:Ljava/time/Duration;
            aload 1
            monitorexit
         2: areturn
         3: .line 622
      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 628
            aload 0 /* this */
            aload 1 /* duration */
            putfield jdk.jfr.internal.PlatformRecording.duration:Ljava/time/Duration;
         1: .line 629
            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 632
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 633
            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 634
            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 636
      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 637
            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 638
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.PlatformRecording.updateTimer:()V
         6: .line 632
      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 641
      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 644
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
            ifnull 3
         1: .line 645
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
            invokevirtual java.util.TimerTask.cancel:()Z
            pop
         2: .line 646
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
         3: .line 648
      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 649
            return
         5: .line 651
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.duration:Ljava/time/Duration;
            ifnull 8
         6: .line 652
            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 653
            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 655
      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 658
            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 672
            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 676
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 677
            aload 0 /* this */
            aload 1 /* stopTask */
            putfield jdk.jfr.internal.PlatformRecording.stopTask:Ljava/util/TimerTask;
         2: .line 676
            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 679
      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 682
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.PlatformRecording.destination:Ljdk/jfr/internal/WriteableUserPath;
         1: .line 683
            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 686
            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 690
            aload 0 /* this */
            iload 1 /* shouldWrite */
            putfield jdk.jfr.internal.PlatformRecording.shouldWriteActiveRecordingEvent:Z
         1: .line 691
            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 694
            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 699
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 700
            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 701
            aload 5 /* p */
            aload 1 /* writeableUserPath */
            invokevirtual jdk.jfr.internal.PlatformRecording.dumpStopped:(Ljdk/jfr/internal/WriteableUserPath;)V
         4: .line 702
            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 699
      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 704
      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 707
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 708
            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 707
            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 716
      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 719
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 4
            monitorenter
         1: .line 720
            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 721
            aload 3 /* maxSize */
            ifnull 7
         3: .line 722
            aload 1 /* begin */
            ifnull 6
            aload 2 /* end */
            ifnonnull 6
         4: .line 723
            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 724
            goto 7
         6: .line 725
      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 728
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 6 /* size */
        start local 6 // int size
         8: .line 729
            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 730
            iload 6 /* size */
            i2l
            aload 7 /* r */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getSize:()J
            ladd
            l2i
            istore 6 /* size */
        11: .line 731
            aload 7 /* r */
            invokevirtual jdk.jfr.internal.RepositoryChunk.use:()V
        end local 7 // jdk.jfr.internal.RepositoryChunk r
        12: .line 729
      StackMap locals:
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 9
        13: .line 733
            aload 0 /* this */
            iload 6 /* size */
            i2l
            putfield jdk.jfr.internal.PlatformRecording.size:J
        14: .line 734
            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 735
            aload 7 /* r */
            invokevirtual jdk.jfr.internal.RepositoryChunk.release:()V
        end local 7 // jdk.jfr.internal.RepositoryChunk r
        17: .line 734
      StackMap locals:
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 15
        18: .line 737
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.chunks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.clear:()V
        19: .line 738
            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 719
            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 740
      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 743
            aload 0 /* time */
            ifnonnull 2
         1: .line 744
            aload 1 /* input */
            areturn
         2: .line 746
      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 747
            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 748
            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 749
            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 747
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
         8: .line 752
            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 756
            aload 0 /* time */
            ifnonnull 2
         1: .line 757
            aload 1 /* input */
            areturn
         2: .line 759
      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 760
            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 761
            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 762
            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 760
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
         8: .line 765
            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 769
            aload 0 /* maxSize */
            ifnull 1
            aload 1 /* input */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 2
         1: .line 770
      StackMap locals:
      StackMap stack:
            aload 1 /* input */
            areturn
         2: .line 772
      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 773
            lconst_0
            lstore 3 /* total */
        start local 3 // long total
         4: .line 774
            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 775
            lload 3 /* total */
            aload 5 /* r */
            invokevirtual jdk.jfr.internal.RepositoryChunk.getSize:()J
            ladd
            lstore 3 /* total */
         7: .line 776
            lload 3 /* total */
            aload 0 /* maxSize */
            invokevirtual java.lang.Long.longValue:()J
            lcmp
            ifle 9
         8: .line 777
            goto 11
         9: .line 779
      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 774
      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 782
      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 783
            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 785
      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 789
            aload 1 /* input */
            invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
         1: .line 790
            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 791
            aload 2 /* result */
            invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
         3: .line 792
            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 796
            aload 0 /* this */
            aload 1 /* directory */
            putfield jdk.jfr.internal.PlatformRecording.dumpOnExitDirectory:Ljdk/jfr/internal/SecuritySupport$SafePath;
         1: .line 797
            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 800
            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 804
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 2
            monitorenter
         1: .line 805
            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 806
            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 808
      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 804
            aload 2
            monitorexit
         5: goto 8
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: aload 2
            monitorexit
         7: athrow
         8: .line 810
      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 813
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 814
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.flushInterval:Ljava/time/Duration;
            aload 1
            monitorexit
         2: areturn
         3: .line 813
      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 819
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.recorder:Ljdk/jfr/internal/PlatformRecorder;
            dup
            astore 1
            monitorenter
         1: .line 820
            aload 0 /* this */
            getfield jdk.jfr.internal.PlatformRecording.flushInterval:Ljava/time/Duration;
            ifnull 4
         2: .line 821
            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 823
      StackMap locals: jdk.jfr.internal.PlatformRecorder
      StackMap stack:
            aload 1
            monitorexit
         5: ldc 9223372036854775807
            lreturn
         6: .line 819
      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 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 828
            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 832
            aload 0 /* this */
            lload 1 /* chunkStartNanos */
            putfield jdk.jfr.internal.PlatformRecording.finalStartChunkNanos:J
         1: .line 833
            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  

  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 709
            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 710
            aload 4 /* cc */
            aload 5 /* fc */
            invokevirtual jdk.jfr.internal.ChunksChannel.transferTo:(Ljava/nio/channels/FileChannel;)J
            pop2
         4: .line 711
            aload 5 /* fc */
            iconst_1
            invokevirtual java.nio.channels.FileChannel.force:(Z)V
         5: .line 712
            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 713
      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