class org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream extends java.io.OutputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream
  super_class: java.io.OutputStream
{
  private volatile java.io.OutputStream lazy;
    descriptor: Ljava/io/OutputStream;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
    RuntimeVisibleAnnotations: 
      jdk.vm.ci.common.NativeImageReinitialize()

  final org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey this$1;
    descriptor: Lorg/graalvm/compiler/hotspot/HotSpotTTYStreamProvider$LogStreamOptionKey;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  void <init>(org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey);
    descriptor: (Lorg/graalvm/compiler/hotspot/HotSpotTTYStreamProvider$LogStreamOptionKey;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream this
         0: .line 172
            aload 0 /* this */
            aload 1
            putfield org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.this$1:Lorg/graalvm/compiler/hotspot/HotSpotTTYStreamProvider$LogStreamOptionKey;
            aload 0 /* this */
            invokespecial java.io.OutputStream.<init>:()V
            return
        end local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/hotspot/HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream;
    MethodParameters:
        Name  Flags
      this$0  final

  private java.io.OutputStream lazy();
    descriptor: ()Ljava/io/OutputStream;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=7, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream this
         0: .line 176
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:Ljava/io/OutputStream;
            ifnonnull 30
         1: .line 177
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         2: .line 178
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:Ljava/io/OutputStream;
            ifnonnull 26
         3: .line 179
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.this$1:Lorg/graalvm/compiler/hotspot/HotSpotTTYStreamProvider$LogStreamOptionKey;
            invokestatic org.graalvm.compiler.hotspot.HotSpotGraalOptionValues.defaultOptions:()Lorg/graalvm/compiler/options/OptionValues;
            invokevirtual org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 2 /* nameTemplate */
        start local 2 // java.lang.String nameTemplate
         4: .line 180
            aload 2 /* nameTemplate */
            ifnull 22
         5: .line 181
            aload 2 /* nameTemplate */
            invokestatic org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey.makeFilename:(Ljava/lang/String;)Ljava/lang/String;
            astore 3 /* name */
        start local 3 // java.lang.String name
         6: .line 182
            aload 3 /* name */
            dup
            astore 4
            invokevirtual java.lang.String.hashCode:()I
            lookupswitch { // 2
                 1248: 7
                 1258: 8
              default: 13
          }
      StackMap locals: org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream java.lang.String java.lang.String java.lang.String
      StackMap stack:
         7: aload 4
            ldc "%e"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 11
            goto 13
      StackMap locals:
      StackMap stack:
         8: aload 4
            ldc "%o"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 9
            goto 13
         9: .line 184
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            putfield org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:Ljava/io/OutputStream;
        10: .line 185
            goto 20
        11: .line 187
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            putfield org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:Ljava/io/OutputStream;
        12: .line 188
            goto 20
        13: .line 190
      StackMap locals:
      StackMap stack:
            aload 3 /* name */
            invokedynamic run(Ljava/lang/String;)Ljava/lang/Runnable;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()V
                  org/graalvm/compiler/hotspot/HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lambda$0(Ljava/lang/String;)V (6)
                  ()V
        14: .line 195
            invokestatic org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider.getBarrierPointer:()Ljdk/internal/vm/compiler/word/Pointer;
        15: .line 190
            invokestatic org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider.execute:(Ljava/lang/Runnable;Ljdk/internal/vm/compiler/word/Pointer;)Z
            istore 5 /* executed */
        start local 5 // boolean executed
        16: .line 197
            new java.io.FileOutputStream
            dup
            aload 3 /* name */
            iconst_1
            invokespecial java.io.FileOutputStream.<init>:(Ljava/lang/String;Z)V
            astore 6 /* result */
        start local 6 // java.io.FileOutputStream result
        17: .line 198
            iload 5 /* executed */
            ifeq 19
        18: .line 199
            aload 0 /* this */
            iconst_1
            aload 6 /* result */
            invokevirtual org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.printVMConfig:(ZLjava/io/FileOutputStream;)V
        19: .line 201
      StackMap locals: int java.io.FileOutputStream
      StackMap stack:
            aload 0 /* this */
            aload 6 /* result */
            putfield org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:Ljava/io/OutputStream;
        end local 6 // java.io.FileOutputStream result
        end local 5 // boolean executed
        20: .line 203
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:Ljava/io/OutputStream;
            aload 1
            monitorexit
        21: areturn
        end local 3 // java.lang.String name
        22: .line 206
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
            invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.getLogStream:()Ljava/io/OutputStream;
            putfield org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:Ljava/io/OutputStream;
        23: .line 207
            aload 0 /* this */
            invokedynamic run(Lorg/graalvm/compiler/hotspot/HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream;)Ljava/lang/Runnable;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()V
                  org/graalvm/compiler/hotspot/HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lambda$1()V (7)
                  ()V
        24: .line 212
            invokestatic org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider.getBarrierPointer:()Ljdk/internal/vm/compiler/word/Pointer;
        25: .line 207
            invokestatic org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider.execute:(Ljava/lang/Runnable;Ljdk/internal/vm/compiler/word/Pointer;)Z
            pop
        end local 2 // java.lang.String nameTemplate
        26: .line 177
      StackMap locals:
      StackMap stack:
            aload 1
            monitorexit
        27: goto 30
      StackMap locals:
      StackMap stack: java.lang.Throwable
        28: aload 1
            monitorexit
        29: athrow
        30: .line 216
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:Ljava/io/OutputStream;
            areturn
        end local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   31     0          this  Lorg/graalvm/compiler/hotspot/HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream;
            4   26     2  nameTemplate  Ljava/lang/String;
            6   22     3          name  Ljava/lang/String;
           16   20     5      executed  Z
           17   20     6        result  Ljava/io/FileOutputStream;
      Exception table:
        from    to  target  type
           2    21      28  any
          22    27      28  any
          28    29      28  any
    Exceptions:
      throws java.io.FileNotFoundException

  private void printVMConfig(boolean, java.io.FileOutputStream);
    descriptor: (ZLjava/io/FileOutputStream;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=6, args_size=3
        start local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream this
        start local 1 // boolean enableAutoflush
        start local 2 // java.io.FileOutputStream result
         0: .line 224
            new java.io.PrintStream
            dup
            aload 2 /* result */
            iload 1 /* enableAutoflush */
            invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;Z)V
            astore 3 /* ps */
        start local 3 // java.io.PrintStream ps
         1: .line 225
            invokestatic org.graalvm.compiler.serviceprovider.GraalServices.getInputArguments:()Ljava/util/List;
            astore 4 /* inputArguments */
        start local 4 // java.util.List inputArguments
         2: .line 226
            aload 4 /* inputArguments */
            ifnull 4
         3: .line 227
            aload 3 /* ps */
            new java.lang.StringBuilder
            dup
            ldc "VM Arguments: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " "
            aload 4 /* inputArguments */
            invokestatic java.lang.String.join:(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         4: .line 229
      StackMap locals: java.io.PrintStream java.util.List
      StackMap stack:
            invokestatic jdk.vm.ci.services.Services.getSavedProperties:()Ljava/util/Map;
            ldc "sun.java.command"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 5 /* cmd */
        start local 5 // java.lang.String cmd
         5: .line 230
            aload 5 /* cmd */
            ifnull 7
         6: .line 231
            aload 3 /* ps */
            new java.lang.StringBuilder
            dup
            ldc "sun.java.command="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 5 /* cmd */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         7: .line 233
      StackMap locals: java.lang.String
      StackMap stack:
            return
        end local 5 // java.lang.String cmd
        end local 4 // java.util.List inputArguments
        end local 3 // java.io.PrintStream ps
        end local 2 // java.io.FileOutputStream result
        end local 1 // boolean enableAutoflush
        end local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    8     0             this  Lorg/graalvm/compiler/hotspot/HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream;
            0    8     1  enableAutoflush  Z
            0    8     2           result  Ljava/io/FileOutputStream;
            1    8     3               ps  Ljava/io/PrintStream;
            2    8     4   inputArguments  Ljava/util/List<Ljava/lang/String;>;
            5    8     5              cmd  Ljava/lang/String;
    RuntimeInvisibleAnnotations: 
      org.graalvm.compiler.core.common.SuppressFBWarnings(value = {"DLS_DEAD_LOCAL_STORE"}, justification = "false positive on dead store to `ps`")
    MethodParameters:
                 Name  Flags
      enableAutoflush  final
      result           

  public void write(byte[], int, int);
    descriptor: ([BII)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 237
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:()Ljava/io/OutputStream;
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual java.io.OutputStream.write:([BII)V
         1: .line 238
            return
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/graalvm/compiler/hotspot/HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream;
            0    2     1     b  [B
            0    2     2   off  I
            0    2     3   len  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  public void write(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream this
        start local 1 // int b
         0: .line 242
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:()Ljava/io/OutputStream;
            iload 1 /* b */
            invokevirtual java.io.OutputStream.write:(I)V
         1: .line 243
            return
        end local 1 // int b
        end local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/graalvm/compiler/hotspot/HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream;
            0    2     1     b  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     

  public void flush();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream this
         0: .line 247
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:()Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.flush:()V
         1: .line 248
            return
        end local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/graalvm/compiler/hotspot/HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream;
    Exceptions:
      throws java.io.IOException

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream this
         0: .line 252
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:()Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.close:()V
         1: .line 253
            return
        end local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/graalvm/compiler/hotspot/HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream;
    Exceptions:
      throws java.io.IOException

  private static void lambda$0(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=2, args_size=1
         0: .line 191
            new java.io.File
            dup
            aload 0
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            astore 1 /* file */
        start local 1 // java.io.File file
         1: .line 192
            aload 1 /* file */
            invokevirtual java.io.File.exists:()Z
            ifeq 3
         2: .line 193
            aload 1 /* file */
            invokevirtual java.io.File.delete:()Z
            pop
        end local 1 // java.io.File file
         3: .line 195
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    3     1  file  Ljava/io/File;

  private void lambda$1();
    descriptor: ()V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=6, locals=2, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream this
         0: .line 208
            new java.io.PrintStream
            dup
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:Ljava/io/OutputStream;
            invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
            astore 1 /* ps */
        start local 1 // java.io.PrintStream ps
         1: .line 209
            aload 1 /* ps */
            ldc "[Use -D%sLogFile=<path> to redirect Graal log output to a file.]%n"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            ldc "graal."
            aastore
            invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
            pop
         2: .line 210
            aload 1 /* ps */
            invokevirtual java.io.PrintStream.flush:()V
        end local 1 // java.io.PrintStream ps
         3: .line 212
            return
        end local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/graalvm/compiler/hotspot/HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream;
            1    3     1    ps  Ljava/io/PrintStream;
}
SourceFile: "HotSpotTTYStreamProvider.java"
NestHost: org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  private LogStreamOptionKey = org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey of org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider
  DelayedOutputStream = org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream of org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey