public final class com.oracle.truffle.tools.profiler.CPUTracer implements java.io.Closeable
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.oracle.truffle.tools.profiler.CPUTracer
  super_class: java.lang.Object
{
  private static final com.oracle.truffle.api.instrumentation.SourceSectionFilter DEFAULT_FILTER;
    descriptor: Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final com.oracle.truffle.api.instrumentation.TruffleInstrument$Env env;
    descriptor: Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private boolean closed;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private boolean collecting;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private com.oracle.truffle.api.instrumentation.SourceSectionFilter filter;
    descriptor: Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
    flags: (0x0002) ACC_PRIVATE

  private com.oracle.truffle.api.instrumentation.EventBinding<?> activeBinding;
    descriptor: Lcom/oracle/truffle/api/instrumentation/EventBinding;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lcom/oracle/truffle/api/instrumentation/EventBinding<*>;

  private final java.util.Map<com.oracle.truffle.api.source.SourceSection, com.oracle.truffle.tools.profiler.CPUTracer$Payload> payloadMap;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Lcom/oracle/truffle/api/source/SourceSection;Lcom/oracle/truffle/tools/profiler/CPUTracer$Payload;>;

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=0, args_size=0
         0: .line 67
            ldc Lcom/oracle/truffle/tools/profiler/CPUTracer;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic com.oracle.truffle.tools.profiler.CPUTracer.$assertionsDisabled:Z
         3: .line 73
            invokestatic com.oracle.truffle.api.instrumentation.SourceSectionFilter.newBuilder:()Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter$Builder;
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$RootTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder.tagIs:([Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder.build:()Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
            putstatic com.oracle.truffle.tools.profiler.CPUTracer.DEFAULT_FILTER:Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
         4: .line 306
            new com.oracle.truffle.tools.profiler.CPUTracer$1
            dup
            invokespecial com.oracle.truffle.tools.profiler.CPUTracer$1.<init>:()V
            invokestatic com.oracle.truffle.tools.profiler.impl.CPUTracerInstrument.setFactory:(Lcom/oracle/truffle/tools/profiler/impl/ProfilerToolFactory;)V
         5: .line 312
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(com.oracle.truffle.api.instrumentation.TruffleInstrument$Env);
    descriptor: (Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
        start local 1 // com.oracle.truffle.api.instrumentation.TruffleInstrument$Env env
         0: .line 69
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 77
            aload 0 /* this */
            iconst_0
            putfield com.oracle.truffle.tools.profiler.CPUTracer.closed:Z
         2: .line 79
            aload 0 /* this */
            iconst_0
            putfield com.oracle.truffle.tools.profiler.CPUTracer.collecting:Z
         3: .line 81
            aload 0 /* this */
            aconst_null
            putfield com.oracle.truffle.tools.profiler.CPUTracer.filter:Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
         4: .line 85
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putfield com.oracle.truffle.tools.profiler.CPUTracer.payloadMap:Ljava/util/Map;
         5: .line 70
            aload 0 /* this */
            aload 1 /* env */
            putfield com.oracle.truffle.tools.profiler.CPUTracer.env:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
         6: .line 71
            return
        end local 1 // com.oracle.truffle.api.instrumentation.TruffleInstrument$Env env
        end local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lcom/oracle/truffle/tools/profiler/CPUTracer;
            0    7     1   env  Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
    MethodParameters:
      Name  Flags
      env   

  public static com.oracle.truffle.tools.profiler.CPUTracer find(org.graalvm.polyglot.Engine);
    descriptor: (Lorg/graalvm/polyglot/Engine;)Lcom/oracle/truffle/tools/profiler/CPUTracer;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.Engine engine
         0: .line 95
            aload 0 /* engine */
            invokestatic com.oracle.truffle.tools.profiler.impl.CPUTracerInstrument.getTracer:(Lorg/graalvm/polyglot/Engine;)Lcom/oracle/truffle/tools/profiler/CPUTracer;
            areturn
        end local 0 // org.graalvm.polyglot.Engine engine
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0  engine  Lorg/graalvm/polyglot/Engine;
    MethodParameters:
        Name  Flags
      engine  

  public synchronized void setCollecting(boolean);
    descriptor: (Z)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
        start local 1 // boolean collecting
         0: .line 105
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.CPUTracer.closed:Z
            ifeq 2
         1: .line 106
            new com.oracle.truffle.tools.profiler.ProfilerException
            dup
            ldc "CPUTracer is already closed."
            invokespecial com.oracle.truffle.tools.profiler.ProfilerException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 108
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.CPUTracer.collecting:Z
            iload 1 /* collecting */
            if_icmpeq 5
         3: .line 109
            aload 0 /* this */
            iload 1 /* collecting */
            putfield com.oracle.truffle.tools.profiler.CPUTracer.collecting:Z
         4: .line 110
            aload 0 /* this */
            invokevirtual com.oracle.truffle.tools.profiler.CPUTracer.resetTracer:()V
         5: .line 112
      StackMap locals:
      StackMap stack:
            return
        end local 1 // boolean collecting
        end local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    6     0        this  Lcom/oracle/truffle/tools/profiler/CPUTracer;
            0    6     1  collecting  Z
    MethodParameters:
            Name  Flags
      collecting  

  public synchronized boolean isCollecting();
    descriptor: ()Z
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
         0: .line 119
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.CPUTracer.collecting:Z
            ireturn
        end local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/tools/profiler/CPUTracer;

  public synchronized void setFilter(com.oracle.truffle.api.instrumentation.SourceSectionFilter);
    descriptor: (Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
        start local 1 // com.oracle.truffle.api.instrumentation.SourceSectionFilter filter
         0: .line 130
            aload 0 /* this */
            invokevirtual com.oracle.truffle.tools.profiler.CPUTracer.verifyConfigAllowed:()V
         1: .line 131
            aload 0 /* this */
            aload 1 /* filter */
            putfield com.oracle.truffle.tools.profiler.CPUTracer.filter:Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
         2: .line 132
            return
        end local 1 // com.oracle.truffle.api.instrumentation.SourceSectionFilter filter
        end local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lcom/oracle/truffle/tools/profiler/CPUTracer;
            0    3     1  filter  Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
    MethodParameters:
        Name  Flags
      filter  

  public synchronized com.oracle.truffle.api.instrumentation.SourceSectionFilter getFilter();
    descriptor: ()Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
         0: .line 139
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.CPUTracer.filter:Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
            areturn
        end local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/tools/profiler/CPUTracer;

  public java.util.Collection<com.oracle.truffle.tools.profiler.CPUTracer$Payload> getPayloads();
    descriptor: ()Ljava/util/Collection;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
         0: .line 147
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.CPUTracer.payloadMap:Ljava/util/Map;
            invokeinterface java.util.Map.values:()Ljava/util/Collection;
            invokestatic java.util.Collections.unmodifiableCollection:(Ljava/util/Collection;)Ljava/util/Collection;
            areturn
        end local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/tools/profiler/CPUTracer;
    Signature: ()Ljava/util/Collection<Lcom/oracle/truffle/tools/profiler/CPUTracer$Payload;>;

  public void clearData();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
         0: .line 156
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.CPUTracer.payloadMap:Ljava/util/Map;
            invokeinterface java.util.Map.clear:()V
         1: .line 157
            return
        end local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/tools/profiler/CPUTracer;

  private com.oracle.truffle.tools.profiler.CPUTracer$Payload getCounter(com.oracle.truffle.api.instrumentation.EventContext);
    descriptor: (Lcom/oracle/truffle/api/instrumentation/EventContext;)Lcom/oracle/truffle/tools/profiler/CPUTracer$Payload;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
        start local 1 // com.oracle.truffle.api.instrumentation.EventContext context
         0: .line 160
            aload 1 /* context */
            invokevirtual com.oracle.truffle.api.instrumentation.EventContext.getInstrumentedSourceSection:()Lcom/oracle/truffle/api/source/SourceSection;
            astore 2 /* sourceSection */
        start local 2 // com.oracle.truffle.api.source.SourceSection sourceSection
         1: .line 161
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.CPUTracer.payloadMap:Ljava/util/Map;
            aload 2 /* sourceSection */
            new com.oracle.truffle.tools.profiler.CPUTracer$2
            dup
            aload 0 /* this */
            aload 1 /* context */
            invokespecial com.oracle.truffle.tools.profiler.CPUTracer$2.<init>:(Lcom/oracle/truffle/tools/profiler/CPUTracer;Lcom/oracle/truffle/api/instrumentation/EventContext;)V
            invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
            checkcast com.oracle.truffle.tools.profiler.CPUTracer$Payload
            areturn
        end local 2 // com.oracle.truffle.api.source.SourceSection sourceSection
        end local 1 // com.oracle.truffle.api.instrumentation.EventContext context
        end local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    2     0           this  Lcom/oracle/truffle/tools/profiler/CPUTracer;
            0    2     1        context  Lcom/oracle/truffle/api/instrumentation/EventContext;
            1    2     2  sourceSection  Lcom/oracle/truffle/api/source/SourceSection;
    MethodParameters:
         Name  Flags
      context  

  private synchronized void verifyConfigAllowed();
    descriptor: ()V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
         0: .line 170
            getstatic com.oracle.truffle.tools.profiler.CPUTracer.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 171
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.CPUTracer.closed:Z
            ifeq 3
         2: .line 172
            new com.oracle.truffle.tools.profiler.ProfilerException
            dup
            ldc "CPUTracer is already closed."
            invokespecial com.oracle.truffle.tools.profiler.ProfilerException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 173
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.CPUTracer.collecting:Z
            ifeq 5
         4: .line 174
            new com.oracle.truffle.tools.profiler.ProfilerException
            dup
            ldc "Cannot change tracer configuration while collecting. Call setCollecting(false) to disable collection first."
            invokespecial com.oracle.truffle.tools.profiler.ProfilerException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 176
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lcom/oracle/truffle/tools/profiler/CPUTracer;

  private synchronized void resetTracer();
    descriptor: ()V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=6, locals=2, args_size=1
        start local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
         0: .line 179
            getstatic com.oracle.truffle.tools.profiler.CPUTracer.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 180
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.CPUTracer.activeBinding:Lcom/oracle/truffle/api/instrumentation/EventBinding;
            ifnull 4
         2: .line 181
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.CPUTracer.activeBinding:Lcom/oracle/truffle/api/instrumentation/EventBinding;
            invokevirtual com.oracle.truffle.api.instrumentation.EventBinding.dispose:()V
         3: .line 182
            aload 0 /* this */
            aconst_null
            putfield com.oracle.truffle.tools.profiler.CPUTracer.activeBinding:Lcom/oracle/truffle/api/instrumentation/EventBinding;
         4: .line 184
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.CPUTracer.collecting:Z
            ifeq 5
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.CPUTracer.closed:Z
            ifeq 6
         5: .line 185
      StackMap locals:
      StackMap stack:
            return
         6: .line 188
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.CPUTracer.filter:Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
            astore 1 /* f */
        start local 1 // com.oracle.truffle.api.instrumentation.SourceSectionFilter f
         7: .line 189
            aload 1 /* f */
            ifnonnull 9
         8: .line 190
            getstatic com.oracle.truffle.tools.profiler.CPUTracer.DEFAULT_FILTER:Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
            astore 1 /* f */
         9: .line 192
      StackMap locals: com.oracle.truffle.api.instrumentation.SourceSectionFilter
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.CPUTracer.env:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            aload 1 /* f */
            new com.oracle.truffle.tools.profiler.CPUTracer$3
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.tools.profiler.CPUTracer$3.<init>:(Lcom/oracle/truffle/tools/profiler/CPUTracer;)V
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachExecutionEventFactory:(Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Lcom/oracle/truffle/api/instrumentation/ExecutionEventNodeFactory;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            putfield com.oracle.truffle.tools.profiler.CPUTracer.activeBinding:Lcom/oracle/truffle/api/instrumentation/EventBinding;
        10: .line 198
            return
        end local 1 // com.oracle.truffle.api.instrumentation.SourceSectionFilter f
        end local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lcom/oracle/truffle/tools/profiler/CPUTracer;
            7   11     1     f  Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;

  public synchronized void close();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
         0: .line 207
            aload 0 /* this */
            iconst_1
            putfield com.oracle.truffle.tools.profiler.CPUTracer.closed:Z
         1: .line 208
            aload 0 /* this */
            invokevirtual com.oracle.truffle.tools.profiler.CPUTracer.clearData:()V
         2: .line 209
            return
        end local 0 // com.oracle.truffle.tools.profiler.CPUTracer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/tools/profiler/CPUTracer;
}
SourceFile: "CPUTracer.java"
NestMembers:
  com.oracle.truffle.tools.profiler.CPUTracer$1  com.oracle.truffle.tools.profiler.CPUTracer$2  com.oracle.truffle.tools.profiler.CPUTracer$3  com.oracle.truffle.tools.profiler.CPUTracer$CounterNode  com.oracle.truffle.tools.profiler.CPUTracer$Payload
InnerClasses:
  public final Builder = com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder of com.oracle.truffle.api.instrumentation.SourceSectionFilter
  public final RootTag = com.oracle.truffle.api.instrumentation.StandardTags$RootTag of com.oracle.truffle.api.instrumentation.StandardTags
  public final Env = com.oracle.truffle.api.instrumentation.TruffleInstrument$Env of com.oracle.truffle.api.instrumentation.TruffleInstrument
  com.oracle.truffle.tools.profiler.CPUTracer$1
  com.oracle.truffle.tools.profiler.CPUTracer$2
  com.oracle.truffle.tools.profiler.CPUTracer$3
  private CounterNode = com.oracle.truffle.tools.profiler.CPUTracer$CounterNode of com.oracle.truffle.tools.profiler.CPUTracer
  public final Payload = com.oracle.truffle.tools.profiler.CPUTracer$Payload of com.oracle.truffle.tools.profiler.CPUTracer