public class org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark extends org.graalvm.compiler.hotspot.test.HotSpotGraalCompilerTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark
  super_class: org.graalvm.compiler.hotspot.test.HotSpotGraalCompilerTest
{
  private static final boolean verbose;
    descriptor: Z
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 165
            ldc "verbose"
            invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
            putstatic org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark.verbose:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark this
         0: .line 56
            aload 0 /* this */
            invokespecial org.graalvm.compiler.hotspot.test.HotSpotGraalCompilerTest.<init>:()V
            return
        end local 0 // org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/hotspot/test/MemoryUsageBenchmark;

  public static int simple(int, int);
    descriptor: (II)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // int a
        start local 1 // int b
         0: .line 59
            iload 0 /* a */
            iload 1 /* b */
            iadd
            ireturn
        end local 1 // int b
        end local 0 // int a
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     a  I
            0    1     1     b  I
    MethodParameters:
      Name  Flags
      a     
      b     

  public static synchronized int complex(java.lang.CharSequence);
    descriptor: (Ljava/lang/CharSequence;)I
    flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // java.lang.CharSequence cs
         0: .line 63
            aload 0 /* cs */
            instanceof java.lang.String
            ifeq 2
         1: .line 64
            aload 0 /* cs */
            invokevirtual java.lang.Object.hashCode:()I
            ireturn
         2: .line 67
      StackMap locals:
      StackMap stack:
            aload 0 /* cs */
            instanceof java.lang.StringBuilder
            ifeq 6
         3: .line 68
            iconst_1
            newarray 10
            astore 1 /* hash */
        start local 1 // int[] hash
         4: .line 69
            aload 0 /* cs */
            invokeinterface java.lang.CharSequence.chars:()Ljava/util/stream/IntStream;
            aload 1 /* hash */
            invokedynamic accept([I)Ljava/util/function/IntConsumer;
              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:
                  (I)V
                  org/graalvm/compiler/hotspot/test/MemoryUsageBenchmark.lambda$0([II)V (6)
                  (I)V
            invokeinterface java.util.stream.IntStream.forEach:(Ljava/util/function/IntConsumer;)V
         5: .line 70
            aload 1 /* hash */
            iconst_0
            iaload
            ireturn
        end local 1 // int[] hash
         6: .line 73
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 1 /* res */
        start local 1 // int res
         7: .line 76
            aload 0 /* cs */
            dup
            astore 2
            monitorenter
         8: .line 77
            aload 0 /* cs */
            invokeinterface java.lang.CharSequence.length:()I
            istore 1 /* res */
         9: .line 76
            aload 2
            monitorexit
        10: goto 13
      StackMap locals: java.lang.CharSequence int java.lang.CharSequence
      StackMap stack: java.lang.Throwable
        11: aload 2
            monitorexit
        12: athrow
        13: .line 79
      StackMap locals:
      StackMap stack:
            aload 0 /* cs */
            dup
            astore 2
            monitorenter
        14: .line 80
            aload 0 /* cs */
            invokevirtual java.lang.Object.hashCode:()I
            bipush 31
            ixor
            istore 1 /* res */
        15: .line 79
            aload 2
            monitorexit
        16: goto 19
      StackMap locals: java.lang.CharSequence int java.lang.CharSequence
      StackMap stack: java.lang.Throwable
        17: aload 2
            monitorexit
        18: athrow
        19: .line 83
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 2 /* i */
        start local 2 // int i
        20: goto 23
        21: .line 84
      StackMap locals: int
      StackMap stack:
            iload 1 /* res */
            aload 0 /* cs */
            iload 2 /* i */
            invokeinterface java.lang.CharSequence.charAt:(I)C
            imul
            istore 1 /* res */
        22: .line 83
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
        23: iload 2 /* i */
            aload 0 /* cs */
            invokeinterface java.lang.CharSequence.length:()I
            if_icmplt 21
        end local 2 // int i
        24: .line 89
            iconst_0
            istore 2 /* sum */
        start local 2 // int sum
        25: .line 90
            iconst_0
            istore 3 /* i */
        start local 3 // int i
        26: goto 29
        27: .line 91
      StackMap locals: int
      StackMap stack:
            iload 2 /* sum */
            iload 3 /* i */
            iconst_2
            imul
            iadd
            istore 2 /* sum */
        28: .line 90
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        29: iload 3 /* i */
            iconst_5
            if_icmplt 27
        end local 3 // int i
        30: .line 93
            iload 1 /* res */
            iload 2 /* sum */
            iadd
            istore 1 /* res */
        31: .line 96
            iload 1 /* res */
            new java.lang.String
            dup
            ldc "asdf"
            invokespecial java.lang.String.<init>:(Ljava/lang/String;)V
            invokevirtual java.lang.String.length:()I
            iadd
            istore 1 /* res */
        32: .line 98
            iload 1 /* res */
            ireturn
        end local 2 // int sum
        end local 1 // int res
        end local 0 // java.lang.CharSequence cs
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   33     0    cs  Ljava/lang/CharSequence;
            4    6     1  hash  [I
            7   33     1   res  I
           20   24     2     i  I
           25   33     2   sum  I
           26   30     3     i  I
      Exception table:
        from    to  target  type
           8    10      11  any
          11    12      11  any
          14    16      17  any
          17    18      17  any
    MethodParameters:
      Name  Flags
      cs    

  public static void main(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String[] args
         0: .line 122
            invokestatic org.graalvm.compiler.api.test.Graal.getRuntime:()Lorg/graalvm/compiler/api/runtime/GraalRuntime;
            pop
         1: .line 124
            new org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark
            dup
            invokespecial org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark.<init>:()V
            invokevirtual org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark.run:()V
         2: .line 125
            return
        end local 0 // java.lang.String[] args
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  args  [Ljava/lang/String;
    MethodParameters:
      Name  Flags
      args  

  private void doCompilation(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=13, args_size=3
        start local 0 // org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark this
        start local 1 // java.lang.String methodName
        start local 2 // java.lang.String label
         0: .line 129
            aload 0 /* this */
            aload 1 /* methodName */
            invokevirtual org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark.getResolvedJavaMethod:(Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
            checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
            astore 3 /* method */
        start local 3 // jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod method
         1: .line 132
            aload 3 /* method */
            invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.reprofile:()V
         2: .line 134
            lconst_0
            lstore 4 /* jvmciEnv */
        start local 4 // long jvmciEnv
         3: .line 136
            aconst_null
            astore 6
            aconst_null
            astore 7
         4: aload 2 /* label */
            ifnonnull 5
            aconst_null
            goto 6
      StackMap locals: org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark java.lang.String java.lang.String jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod long java.lang.Throwable java.lang.Throwable
      StackMap stack:
         5: new org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark$MemoryUsageCloseable
            dup
            aload 2 /* label */
            invokespecial org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark$MemoryUsageCloseable.<init>:(Ljava/lang/String;)V
      StackMap locals:
      StackMap stack: org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark$MemoryUsageCloseable
         6: astore 8 /* c */
        start local 8 // org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark$MemoryUsageCloseable c
         7: .line 137
            invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
            astore 9 /* runtime */
        start local 9 // jdk.vm.ci.hotspot.HotSpotJVMCIRuntime runtime
         8: .line 138
            iconst_m1
            istore 10 /* entryBCI */
        start local 10 // int entryBCI
         9: .line 139
            new jdk.vm.ci.hotspot.HotSpotCompilationRequest
            dup
            aload 3 /* method */
            iload 10 /* entryBCI */
            lload 4 /* jvmciEnv */
            invokespecial jdk.vm.ci.hotspot.HotSpotCompilationRequest.<init>:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;IJ)V
            astore 11 /* request */
        start local 11 // jdk.vm.ci.hotspot.HotSpotCompilationRequest request
        10: .line 140
            new org.graalvm.compiler.hotspot.CompilationTask
            dup
            aload 9 /* runtime */
            aload 9 /* runtime */
            invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.getCompiler:()Ljdk/vm/ci/runtime/JVMCICompiler;
            checkcast org.graalvm.compiler.hotspot.HotSpotGraalCompiler
            aload 11 /* request */
            iconst_1
            iconst_0
            invokespecial org.graalvm.compiler.hotspot.CompilationTask.<init>:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;ZZ)V
            astore 12 /* task */
        start local 12 // org.graalvm.compiler.hotspot.CompilationTask task
        11: .line 141
            aload 12 /* task */
            invokestatic org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark.getInitialOptions:()Lorg/graalvm/compiler/options/OptionValues;
            invokevirtual org.graalvm.compiler.hotspot.CompilationTask.runCompilation:(Lorg/graalvm/compiler/options/OptionValues;)Ljdk/vm/ci/hotspot/HotSpotCompilationRequestResult;
            pop
        end local 12 // org.graalvm.compiler.hotspot.CompilationTask task
        end local 11 // jdk.vm.ci.hotspot.HotSpotCompilationRequest request
        end local 10 // int entryBCI
        end local 9 // jdk.vm.ci.hotspot.HotSpotJVMCIRuntime runtime
        12: .line 142
            aload 8 /* c */
            ifnull 18
            aload 8 /* c */
            invokevirtual org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark$MemoryUsageCloseable.close:()V
            goto 18
      StackMap locals: org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark java.lang.String java.lang.String jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod long java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark$MemoryUsageCloseable
      StackMap stack: java.lang.Throwable
        13: astore 6
            aload 8 /* c */
            ifnull 14
            aload 8 /* c */
            invokevirtual org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark$MemoryUsageCloseable.close:()V
        end local 8 // org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark$MemoryUsageCloseable c
      StackMap locals:
      StackMap stack:
        14: aload 6
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        15: astore 7
            aload 6
            ifnonnull 16
            aload 7
            astore 6
            goto 17
      StackMap locals:
      StackMap stack:
        16: aload 6
            aload 7
            if_acmpeq 17
            aload 6
            aload 7
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        17: aload 6
            athrow
        18: .line 143
      StackMap locals:
      StackMap stack:
            return
        end local 4 // long jvmciEnv
        end local 3 // jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod method
        end local 2 // java.lang.String label
        end local 1 // java.lang.String methodName
        end local 0 // org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   19     0        this  Lorg/graalvm/compiler/hotspot/test/MemoryUsageBenchmark;
            0   19     1  methodName  Ljava/lang/String;
            0   19     2       label  Ljava/lang/String;
            1   19     3      method  Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
            3   19     4    jvmciEnv  J
            7   14     8           c  Lorg/graalvm/compiler/hotspot/test/MemoryUsageBenchmark$MemoryUsageCloseable;
            8   12     9     runtime  Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
            9   12    10    entryBCI  I
           10   12    11     request  Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;
           11   12    12        task  Lorg/graalvm/compiler/hotspot/CompilationTask;
      Exception table:
        from    to  target  type
           7    12      13  any
           4    15      15  any
    MethodParameters:
            Name  Flags
      methodName  
      label       

  private void allocSpyCompilation(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=13, args_size=2
        start local 0 // org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark this
        start local 1 // java.lang.String methodName
         0: .line 147
            invokestatic org.graalvm.compiler.core.test.AllocSpy.isEnabled:()Z
            ifeq 18
         1: .line 148
            aload 0 /* this */
            aload 1 /* methodName */
            invokevirtual org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark.getResolvedJavaMethod:(Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
            checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
            astore 2 /* method */
        start local 2 // jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod method
         2: .line 151
            aload 2 /* method */
            invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.reprofile:()V
         3: .line 153
            lconst_0
            lstore 3 /* jvmciEnv */
        start local 3 // long jvmciEnv
         4: .line 154
            aconst_null
            astore 5
            aconst_null
            astore 6
         5: aload 1 /* methodName */
            invokestatic org.graalvm.compiler.core.test.AllocSpy.open:(Ljava/lang/Object;)Lorg/graalvm/compiler/core/test/AllocSpy;
            astore 7 /* as */
        start local 7 // org.graalvm.compiler.core.test.AllocSpy as
         6: .line 155
            invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
            astore 8 /* runtime */
        start local 8 // jdk.vm.ci.hotspot.HotSpotJVMCIRuntime runtime
         7: .line 156
            new jdk.vm.ci.hotspot.HotSpotCompilationRequest
            dup
            aload 2 /* method */
            iconst_m1
            lload 3 /* jvmciEnv */
            invokespecial jdk.vm.ci.hotspot.HotSpotCompilationRequest.<init>:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;IJ)V
            astore 9 /* request */
        start local 9 // jdk.vm.ci.hotspot.HotSpotCompilationRequest request
         8: .line 157
            aload 8 /* runtime */
            invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.getCompiler:()Ljdk/vm/ci/runtime/JVMCICompiler;
            checkcast org.graalvm.compiler.hotspot.HotSpotGraalCompiler
            astore 10 /* compiler */
        start local 10 // org.graalvm.compiler.hotspot.HotSpotGraalCompiler compiler
         9: .line 158
            invokestatic org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark.getInitialOptions:()Lorg/graalvm/compiler/options/OptionValues;
            astore 11 /* options */
        start local 11 // org.graalvm.compiler.options.OptionValues options
        10: .line 159
            new org.graalvm.compiler.hotspot.CompilationTask
            dup
            aload 8 /* runtime */
            aload 10 /* compiler */
            aload 9 /* request */
            iconst_1
            iconst_0
            invokespecial org.graalvm.compiler.hotspot.CompilationTask.<init>:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;ZZ)V
            astore 12 /* task */
        start local 12 // org.graalvm.compiler.hotspot.CompilationTask task
        11: .line 160
            aload 12 /* task */
            aload 11 /* options */
            invokevirtual org.graalvm.compiler.hotspot.CompilationTask.runCompilation:(Lorg/graalvm/compiler/options/OptionValues;)Ljdk/vm/ci/hotspot/HotSpotCompilationRequestResult;
            pop
        end local 12 // org.graalvm.compiler.hotspot.CompilationTask task
        end local 11 // org.graalvm.compiler.options.OptionValues options
        end local 10 // org.graalvm.compiler.hotspot.HotSpotGraalCompiler compiler
        end local 9 // jdk.vm.ci.hotspot.HotSpotCompilationRequest request
        end local 8 // jdk.vm.ci.hotspot.HotSpotJVMCIRuntime runtime
        12: .line 161
            aload 7 /* as */
            ifnull 18
            aload 7 /* as */
            invokevirtual org.graalvm.compiler.core.test.AllocSpy.close:()V
            goto 18
      StackMap locals: org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark java.lang.String jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod long java.lang.Throwable java.lang.Throwable org.graalvm.compiler.core.test.AllocSpy
      StackMap stack: java.lang.Throwable
        13: astore 5
            aload 7 /* as */
            ifnull 14
            aload 7 /* as */
            invokevirtual org.graalvm.compiler.core.test.AllocSpy.close:()V
        end local 7 // org.graalvm.compiler.core.test.AllocSpy as
      StackMap locals:
      StackMap stack:
        14: aload 5
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        15: astore 6
            aload 5
            ifnonnull 16
            aload 6
            astore 5
            goto 17
      StackMap locals:
      StackMap stack:
        16: aload 5
            aload 6
            if_acmpeq 17
            aload 5
            aload 6
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        17: aload 5
            athrow
        end local 3 // long jvmciEnv
        end local 2 // jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod method
        18: .line 163
      StackMap locals: org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark java.lang.String
      StackMap stack:
            return
        end local 1 // java.lang.String methodName
        end local 0 // org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   19     0        this  Lorg/graalvm/compiler/hotspot/test/MemoryUsageBenchmark;
            0   19     1  methodName  Ljava/lang/String;
            2   18     2      method  Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
            4   18     3    jvmciEnv  J
            6   14     7          as  Lorg/graalvm/compiler/core/test/AllocSpy;
            7   12     8     runtime  Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
            8   12     9     request  Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;
            9   12    10    compiler  Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
           10   12    11     options  Lorg/graalvm/compiler/options/OptionValues;
           11   12    12        task  Lorg/graalvm/compiler/hotspot/CompilationTask;
      Exception table:
        from    to  target  type
           6    12      13  any
           5    15      15  any
    MethodParameters:
            Name  Flags
      methodName  

  private void compileAndTime(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark this
        start local 1 // java.lang.String methodName
         0: .line 170
            aload 0 /* this */
            aload 1 /* methodName */
            getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
            invokevirtual org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph;
            pop
         1: .line 173
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         2: goto 7
         3: .line 174
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            aload 1 /* methodName */
            getstatic org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark.verbose:Z
            ifeq 4
            new java.lang.StringBuilder
            dup
            aload 1 /* methodName */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "[warmup-"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 2 /* i */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            goto 5
      StackMap locals: org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark java.lang.String int
      StackMap stack: org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark java.lang.String
         4: aconst_null
      StackMap locals: org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark java.lang.String int
      StackMap stack: org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark java.lang.String java.lang.String
         5: invokevirtual org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark.doCompilation:(Ljava/lang/String;Ljava/lang/String;)V
         6: .line 173
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
         7: iload 2 /* i */
            bipush 10
            if_icmplt 3
        end local 2 // int i
         8: .line 177
            aload 0 /* this */
            aload 1 /* methodName */
            aload 1 /* methodName */
            invokevirtual org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark.doCompilation:(Ljava/lang/String;Ljava/lang/String;)V
         9: .line 178
            return
        end local 1 // java.lang.String methodName
        end local 0 // org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   10     0        this  Lorg/graalvm/compiler/hotspot/test/MemoryUsageBenchmark;
            0   10     1  methodName  Ljava/lang/String;
            2    8     2           i  I
    MethodParameters:
            Name  Flags
      methodName  

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=5, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark this
         0: .line 181
            aload 0 /* this */
            ldc "simple"
            invokevirtual org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark.compileAndTime:(Ljava/lang/String;)V
         1: .line 182
            aload 0 /* this */
            ldc "complex"
            invokevirtual org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark.compileAndTime:(Ljava/lang/String;)V
         2: .line 183
            invokestatic org.graalvm.compiler.hotspot.test.CompileTheWorld.loadHarnessOptions:()Lorg/graalvm/compiler/options/OptionValues;
            astore 1 /* harnessOptions */
        start local 1 // org.graalvm.compiler.options.OptionValues harnessOptions
         3: .line 184
            getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.Classpath:Lorg/graalvm/compiler/options/OptionKey;
            aload 1 /* harnessOptions */
            invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
            ldc "sun.boot.class.path"
            if_acmpeq 10
         4: .line 185
            invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
            astore 2 /* runtime */
        start local 2 // jdk.vm.ci.hotspot.HotSpotJVMCIRuntime runtime
         5: .line 186
            new org.graalvm.compiler.hotspot.test.CompileTheWorld
            dup
            aload 2 /* runtime */
            aload 2 /* runtime */
            invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.getCompiler:()Ljdk/vm/ci/runtime/JVMCICompiler;
            checkcast org.graalvm.compiler.hotspot.HotSpotGraalCompiler
            aload 1 /* harnessOptions */
            invokestatic org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark.getInitialOptions:()Lorg/graalvm/compiler/options/OptionValues;
            invokespecial org.graalvm.compiler.hotspot.test.CompileTheWorld.<init>:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/OptionValues;)V
            astore 3 /* ctw */
        start local 3 // org.graalvm.compiler.hotspot.test.CompileTheWorld ctw
         6: .line 188
            aload 3 /* ctw */
            invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.compile:()V
         7: .line 189
            goto 10
      StackMap locals: org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark org.graalvm.compiler.options.OptionValues jdk.vm.ci.hotspot.HotSpotJVMCIRuntime org.graalvm.compiler.hotspot.test.CompileTheWorld
      StackMap stack: java.lang.Throwable
         8: astore 4 /* e */
        start local 4 // java.lang.Throwable e
         9: .line 190
            aload 4 /* e */
            invokevirtual java.lang.Throwable.printStackTrace:()V
        end local 4 // java.lang.Throwable e
        end local 3 // org.graalvm.compiler.hotspot.test.CompileTheWorld ctw
        end local 2 // jdk.vm.ci.hotspot.HotSpotJVMCIRuntime runtime
        10: .line 193
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            ldc "simple"
            invokevirtual org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark.allocSpyCompilation:(Ljava/lang/String;)V
        11: .line 194
            aload 0 /* this */
            ldc "complex"
            invokevirtual org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark.allocSpyCompilation:(Ljava/lang/String;)V
        12: .line 195
            return
        end local 1 // org.graalvm.compiler.options.OptionValues harnessOptions
        end local 0 // org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   13     0            this  Lorg/graalvm/compiler/hotspot/test/MemoryUsageBenchmark;
            3   13     1  harnessOptions  Lorg/graalvm/compiler/options/OptionValues;
            5   10     2         runtime  Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
            6   10     3             ctw  Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
            9   10     4               e  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           6     7       8  Class java.lang.Throwable

  private static void lambda$0(int[], int);
    descriptor: ([II)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=4, locals=2, args_size=2
        start local 1 // int c
         0: .line 69
            aload 0
            iconst_0
            dup2
            iaload
            iload 1 /* c */
            iadd
            dup_x2
            iastore
            return
        end local 1 // int c
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     1     c  I
}
SourceFile: "MemoryUsageBenchmark.java"
NestMembers:
  org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark$MemoryUsageCloseable
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  Options = org.graalvm.compiler.hotspot.test.CompileTheWorld$Options of org.graalvm.compiler.hotspot.test.CompileTheWorld
  MemoryUsageCloseable = org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark$MemoryUsageCloseable of org.graalvm.compiler.hotspot.test.MemoryUsageBenchmark
  public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph