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 108
            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=6, locals=6, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream this
         0: .line 112
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:Ljava/io/OutputStream;
            ifnonnull 30
         1: .line 113
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         2: .line 114
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:Ljava/io/OutputStream;
            ifnonnull 26
         3: .line 115
            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 116
            aload 2 /* nameTemplate */
            ifnull 22
         5: .line 117
            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 118
            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 120
      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 121
            goto 20
        11: .line 123
      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 124
            goto 20
        13: .line 128
      StackMap locals:
      StackMap stack:
            new java.io.FileOutputStream
            dup
            aload 3 /* name */
            invokespecial java.io.FileOutputStream.<init>:(Ljava/lang/String;)V
            astore 5 /* result */
        start local 5 // java.io.FileOutputStream result
        14: .line 129
            getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
            ifne 16
        15: .line 130
            aload 0 /* this */
            iconst_1
            aload 5 /* result */
            invokevirtual org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.printVMConfig:(ZLjava/io/FileOutputStream;)V
        16: .line 135
      StackMap locals: java.io.FileOutputStream
      StackMap stack:
            aload 0 /* this */
            aload 5 /* result */
            putfield org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:Ljava/io/OutputStream;
        end local 5 // java.io.FileOutputStream result
        17: .line 136
            goto 20
      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: java.io.FileNotFoundException
        18: astore 5 /* e */
        start local 5 // java.io.FileNotFoundException e
        19: .line 137
            new java.lang.RuntimeException
            dup
            new java.lang.StringBuilder
            dup
            ldc "couldn't open file: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 3 /* name */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 5 /* e */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 5 // java.io.FileNotFoundException e
        20: .line 140
      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 143
      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 144
            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 3 /* ps */
        start local 3 // java.io.PrintStream ps
        24: .line 145
            aload 3 /* 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
        25: .line 146
            aload 3 /* ps */
            invokevirtual java.io.PrintStream.flush:()V
        end local 3 // java.io.PrintStream ps
        end local 2 // java.lang.String nameTemplate
        26: .line 113
      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 150
      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;
           14   17     5        result  Ljava/io/FileOutputStream;
           19   20     5             e  Ljava/io/FileNotFoundException;
           24   26     3            ps  Ljava/io/PrintStream;
      Exception table:
        from    to  target  type
          13    17      18  Class java.io.FileNotFoundException
           2    21      28  any
          22    27      28  any
          28    29      28  any

  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 158
            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 159
            invokestatic org.graalvm.compiler.serviceprovider.GraalServices.getInputArguments:()Ljava/util/List;
            astore 4 /* inputArguments */
        start local 4 // java.util.List inputArguments
         2: .line 160
            aload 4 /* inputArguments */
            ifnull 4
         3: .line 161
            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 163
      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 164
            aload 5 /* cmd */
            ifnull 7
         6: .line 165
            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 167
      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 171
            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 172
            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 176
            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 177
            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 181
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:()Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.flush:()V
         1: .line 182
            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 186
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.lazy:()Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.close:()V
         1: .line 187
            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
}
SourceFile: "HotSpotTTYStreamProvider.java"
NestHost: org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider
InnerClasses:
  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