class com.oracle.truffle.tools.profiler.MemoryTracerSnippets
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.oracle.truffle.tools.profiler.MemoryTracerSnippets
  super_class: java.lang.Object
{
  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.tools.profiler.MemoryTracerSnippets this
         0: .line 498
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.oracle.truffle.tools.profiler.MemoryTracerSnippets this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/tools/profiler/MemoryTracerSnippets;

  public void example();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=1
        start local 0 // com.oracle.truffle.tools.profiler.MemoryTracerSnippets this
         0: .line 504
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
            astore 1 /* context */
        start local 1 // org.graalvm.polyglot.Context context
         1: .line 506
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.getEngine:()Lorg/graalvm/polyglot/Engine;
            invokestatic com.oracle.truffle.tools.profiler.MemoryTracer.find:(Lorg/graalvm/polyglot/Engine;)Lcom/oracle/truffle/tools/profiler/MemoryTracer;
            astore 2 /* tracer */
        start local 2 // com.oracle.truffle.tools.profiler.MemoryTracer tracer
         2: .line 507
            aload 2 /* tracer */
            iconst_1
            invokevirtual com.oracle.truffle.tools.profiler.MemoryTracer.setCollecting:(Z)V
         3: .line 508
            aload 1 /* context */
            ldc "..."
            ldc "..."
            invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
            pop
         4: .line 509
            aload 2 /* tracer */
            iconst_0
            invokevirtual com.oracle.truffle.tools.profiler.MemoryTracer.setCollecting:(Z)V
         5: .line 512
            aload 2 /* tracer */
            invokevirtual com.oracle.truffle.tools.profiler.MemoryTracer.close:()V
         6: .line 514
            aload 2 /* tracer */
            invokevirtual com.oracle.truffle.tools.profiler.MemoryTracer.getRootNodes:()Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 4
            goto 10
      StackMap locals: com.oracle.truffle.tools.profiler.MemoryTracerSnippets org.graalvm.polyglot.Context com.oracle.truffle.tools.profiler.MemoryTracer top java.util.Iterator
      StackMap stack:
         7: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast com.oracle.truffle.tools.profiler.ProfilerNode
            astore 3 /* node */
        start local 3 // com.oracle.truffle.tools.profiler.ProfilerNode node
         8: .line 515
            aload 3 /* node */
            invokevirtual com.oracle.truffle.tools.profiler.ProfilerNode.getRootName:()Ljava/lang/String;
            pop
         9: .line 516
            aload 3 /* node */
            invokevirtual com.oracle.truffle.tools.profiler.ProfilerNode.getPayload:()Ljava/lang/Object;
            checkcast com.oracle.truffle.tools.profiler.MemoryTracer$Payload
            invokevirtual com.oracle.truffle.tools.profiler.MemoryTracer$Payload.getTotalAllocations:()J
            pop2
        end local 3 // com.oracle.truffle.tools.profiler.ProfilerNode node
        10: .line 514
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 7
        11: .line 520
            return
        end local 2 // com.oracle.truffle.tools.profiler.MemoryTracer tracer
        end local 1 // org.graalvm.polyglot.Context context
        end local 0 // com.oracle.truffle.tools.profiler.MemoryTracerSnippets this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   12     0     this  Lcom/oracle/truffle/tools/profiler/MemoryTracerSnippets;
            1   12     1  context  Lorg/graalvm/polyglot/Context;
            2   12     2   tracer  Lcom/oracle/truffle/tools/profiler/MemoryTracer;
            8   10     3     node  Lcom/oracle/truffle/tools/profiler/ProfilerNode<Lcom/oracle/truffle/tools/profiler/MemoryTracer$Payload;>;
}
SourceFile: "MemoryTracer.java"
InnerClasses:
  public final Payload = com.oracle.truffle.tools.profiler.MemoryTracer$Payload of com.oracle.truffle.tools.profiler.MemoryTracer