class org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope implements java.lang.AutoCloseable
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope
  super_class: java.lang.Object
{
  final java.io.PrintStream out;
    descriptor: Ljava/io/PrintStream;
    flags: (0x0010) ACC_FINAL

  void <init>(org.graalvm.compiler.options.OptionValues);
    descriptor: (Lorg/graalvm/compiler/options/OptionValues;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope this
        start local 1 // org.graalvm.compiler.options.OptionValues options
         0: .line 488
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 489
            getstatic org.graalvm.compiler.debug.TTY.out:Ljava/io/PrintStream;
            astore 2 /* ps */
        start local 2 // java.io.PrintStream ps
         2: .line 490
            getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.BenchmarkCountersFile:Lorg/graalvm/compiler/options/OptionKey;
            aload 1 /* options */
            invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
            ifnull 10
         3: .line 492
            new java.io.File
            dup
            getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.BenchmarkCountersFile:Lorg/graalvm/compiler/options/OptionKey;
            aload 1 /* options */
            invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
            checkcast java.lang.String
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            astore 3 /* file */
        start local 3 // java.io.File file
         4: .line 493
            ldc "Writing benchmark counters to '%s'"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 3 /* file */
            invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
            aastore
            invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;[Ljava/lang/Object;)V
         5: .line 494
            new java.io.PrintStream
            dup
            aload 3 /* file */
            invokespecial java.io.PrintStream.<init>:(Ljava/io/File;)V
            astore 2 /* ps */
        end local 3 // java.io.File file
         6: .line 495
            goto 10
      StackMap locals: org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope org.graalvm.compiler.options.OptionValues java.io.PrintStream
      StackMap stack: java.io.IOException
         7: astore 3 /* e */
        start local 3 // java.io.IOException e
         8: .line 496
            invokestatic org.graalvm.compiler.debug.TTY.out:()Lorg/graalvm/compiler/debug/LogStream;
            aload 3 /* e */
            invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
            invokevirtual org.graalvm.compiler.debug.LogStream.println:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/LogStream;
            pop
         9: .line 497
            invokestatic org.graalvm.compiler.debug.TTY.out:()Lorg/graalvm/compiler/debug/LogStream;
            ldc "Fallback to default"
            invokevirtual org.graalvm.compiler.debug.LogStream.println:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/LogStream;
            pop
        end local 3 // java.io.IOException e
        10: .line 500
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* ps */
            putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope.out:Ljava/io/PrintStream;
        11: .line 501
            return
        end local 2 // java.io.PrintStream ps
        end local 1 // org.graalvm.compiler.options.OptionValues options
        end local 0 // org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   12     0     this  Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$PrintStreamScope;
            0   12     1  options  Lorg/graalvm/compiler/options/OptionValues;
            2   12     2       ps  Ljava/io/PrintStream;
            4    6     3     file  Ljava/io/File;
            8   10     3        e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           3     6       7  Class java.io.IOException
    MethodParameters:
         Name  Flags
      options  

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope this
         0: .line 505
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope.out:Ljava/io/PrintStream;
            getstatic org.graalvm.compiler.debug.TTY.out:Ljava/io/PrintStream;
            if_acmpeq 2
         1: .line 506
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope.out:Ljava/io/PrintStream;
            invokevirtual java.io.PrintStream.close:()V
         2: .line 508
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$PrintStreamScope;
}
SourceFile: "BenchmarkCounters.java"
NestHost: org.graalvm.compiler.hotspot.debug.BenchmarkCounters
InnerClasses:
  public Options = org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options of org.graalvm.compiler.hotspot.debug.BenchmarkCounters
  PrintStreamScope = org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope of org.graalvm.compiler.hotspot.debug.BenchmarkCounters