final class com.oracle.truffle.tools.profiler.ShadowStack
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.oracle.truffle.tools.profiler.ShadowStack
  super_class: java.lang.Object
{
  private final java.util.concurrent.ConcurrentHashMap<java.lang.Thread, com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack> stacks;
    descriptor: Ljava/util/concurrent/ConcurrentHashMap;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/ConcurrentHashMap<Ljava/lang/Thread;Lcom/oracle/truffle/tools/profiler/ShadowStack$ThreadLocalStack;>;

  private final int stackLimit;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final com.oracle.truffle.api.instrumentation.SourceSectionFilter sourceSectionFilter;
    descriptor: Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final com.oracle.truffle.api.instrumentation.Instrumenter initInstrumenter;
    descriptor: Lcom/oracle/truffle/api/instrumentation/Instrumenter;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final com.oracle.truffle.api.TruffleLogger logger;
    descriptor: Lcom/oracle/truffle/api/TruffleLogger;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>(int, com.oracle.truffle.api.instrumentation.SourceSectionFilter, com.oracle.truffle.api.instrumentation.Instrumenter, com.oracle.truffle.api.TruffleLogger);
    descriptor: (ILcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Lcom/oracle/truffle/api/instrumentation/Instrumenter;Lcom/oracle/truffle/api/TruffleLogger;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=5, args_size=5
        start local 0 // com.oracle.truffle.tools.profiler.ShadowStack this
        start local 1 // int stackLimit
        start local 2 // com.oracle.truffle.api.instrumentation.SourceSectionFilter sourceSectionFilter
        start local 3 // com.oracle.truffle.api.instrumentation.Instrumenter instrumenter
        start local 4 // com.oracle.truffle.api.TruffleLogger logger
         0: .line 64
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 58
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putfield com.oracle.truffle.tools.profiler.ShadowStack.stacks:Ljava/util/concurrent/ConcurrentHashMap;
         2: .line 65
            aload 0 /* this */
            iload 1 /* stackLimit */
            putfield com.oracle.truffle.tools.profiler.ShadowStack.stackLimit:I
         3: .line 66
            aload 0 /* this */
            aload 2 /* sourceSectionFilter */
            putfield com.oracle.truffle.tools.profiler.ShadowStack.sourceSectionFilter:Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
         4: .line 67
            aload 0 /* this */
            aload 3 /* instrumenter */
            putfield com.oracle.truffle.tools.profiler.ShadowStack.initInstrumenter:Lcom/oracle/truffle/api/instrumentation/Instrumenter;
         5: .line 68
            aload 0 /* this */
            aload 4 /* logger */
            putfield com.oracle.truffle.tools.profiler.ShadowStack.logger:Lcom/oracle/truffle/api/TruffleLogger;
         6: .line 69
            return
        end local 4 // com.oracle.truffle.api.TruffleLogger logger
        end local 3 // com.oracle.truffle.api.instrumentation.Instrumenter instrumenter
        end local 2 // com.oracle.truffle.api.instrumentation.SourceSectionFilter sourceSectionFilter
        end local 1 // int stackLimit
        end local 0 // com.oracle.truffle.tools.profiler.ShadowStack this
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0    7     0                 this  Lcom/oracle/truffle/tools/profiler/ShadowStack;
            0    7     1           stackLimit  I
            0    7     2  sourceSectionFilter  Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
            0    7     3         instrumenter  Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            0    7     4               logger  Lcom/oracle/truffle/api/TruffleLogger;
    MethodParameters:
                     Name  Flags
      stackLimit           
      sourceSectionFilter  
      instrumenter         
      logger               

  com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack getStack(java.lang.Thread);
    descriptor: (Ljava/lang/Thread;)Lcom/oracle/truffle/tools/profiler/ShadowStack$ThreadLocalStack;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.truffle.tools.profiler.ShadowStack this
        start local 1 // java.lang.Thread thread
         0: .line 72
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.ShadowStack.stacks:Ljava/util/concurrent/ConcurrentHashMap;
            aload 1 /* thread */
            invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack
            areturn
        end local 1 // java.lang.Thread thread
        end local 0 // com.oracle.truffle.tools.profiler.ShadowStack this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lcom/oracle/truffle/tools/profiler/ShadowStack;
            0    1     1  thread  Ljava/lang/Thread;
    MethodParameters:
        Name  Flags
      thread  

  java.util.Collection<com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack> getStacks();
    descriptor: ()Ljava/util/Collection;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.tools.profiler.ShadowStack this
         0: .line 76
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.ShadowStack.stacks:Ljava/util/concurrent/ConcurrentHashMap;
            invokevirtual java.util.concurrent.ConcurrentHashMap.values:()Ljava/util/Collection;
            areturn
        end local 0 // com.oracle.truffle.tools.profiler.ShadowStack this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/tools/profiler/ShadowStack;
    Signature: ()Ljava/util/Collection<Lcom/oracle/truffle/tools/profiler/ShadowStack$ThreadLocalStack;>;

  com.oracle.truffle.api.instrumentation.EventBinding<?> install(com.oracle.truffle.api.instrumentation.Instrumenter, com.oracle.truffle.api.instrumentation.SourceSectionFilter, boolean);
    descriptor: (Lcom/oracle/truffle/api/instrumentation/Instrumenter;Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Z)Lcom/oracle/truffle/api/instrumentation/EventBinding;
    flags: (0x0000) 
    Code:
      stack=7, locals=4, args_size=4
        start local 0 // com.oracle.truffle.tools.profiler.ShadowStack this
        start local 1 // com.oracle.truffle.api.instrumentation.Instrumenter instrumenter
        start local 2 // com.oracle.truffle.api.instrumentation.SourceSectionFilter filter
        start local 3 // boolean compiledOnly
         0: .line 80
            aload 1 /* instrumenter */
            aload 2 /* filter */
            new com.oracle.truffle.tools.profiler.ShadowStack$1
            dup
            aload 0 /* this */
            aload 1 /* instrumenter */
            iload 3 /* compiledOnly */
            invokespecial com.oracle.truffle.tools.profiler.ShadowStack$1.<init>:(Lcom/oracle/truffle/tools/profiler/ShadowStack;Lcom/oracle/truffle/api/instrumentation/Instrumenter;Z)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;
            areturn
        end local 3 // boolean compiledOnly
        end local 2 // com.oracle.truffle.api.instrumentation.SourceSectionFilter filter
        end local 1 // com.oracle.truffle.api.instrumentation.Instrumenter instrumenter
        end local 0 // com.oracle.truffle.tools.profiler.ShadowStack this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    1     0          this  Lcom/oracle/truffle/tools/profiler/ShadowStack;
            0    1     1  instrumenter  Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            0    1     2        filter  Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
            0    1     3  compiledOnly  Z
    Signature: (Lcom/oracle/truffle/api/instrumentation/Instrumenter;Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Z)Lcom/oracle/truffle/api/instrumentation/EventBinding<*>;
    MethodParameters:
              Name  Flags
      instrumenter  
      filter        
      compiledOnly  

  java.util.ArrayList<com.oracle.truffle.tools.profiler.StackTraceEntry> getInitialStack(com.oracle.truffle.api.nodes.Node);
    descriptor: (Lcom/oracle/truffle/api/nodes/Node;)Ljava/util/ArrayList;
    flags: (0x0000) 
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // com.oracle.truffle.tools.profiler.ShadowStack this
        start local 1 // com.oracle.truffle.api.nodes.Node instrumentedNode
         0: .line 93
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 2 /* sourceLocations */
        start local 2 // java.util.ArrayList sourceLocations
         1: .line 94
            aload 2 /* sourceLocations */
            aload 1 /* instrumentedNode */
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.ShadowStack.sourceSectionFilter:Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.ShadowStack.initInstrumenter:Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            invokestatic com.oracle.truffle.tools.profiler.ShadowStack.reconstructStack:(Ljava/util/ArrayList;Lcom/oracle/truffle/api/nodes/Node;Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Lcom/oracle/truffle/api/instrumentation/Instrumenter;)V
         2: .line 95
            invokestatic com.oracle.truffle.api.Truffle.getRuntime:()Lcom/oracle/truffle/api/TruffleRuntime;
            aload 0 /* this */
            aload 2 /* sourceLocations */
            invokedynamic visitFrame(Lcom/oracle/truffle/tools/profiler/ShadowStack;Ljava/util/ArrayList;)Lcom/oracle/truffle/api/frame/FrameInstanceVisitor;
              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:
                  (Lcom/oracle/truffle/api/frame/FrameInstance;)Ljava/lang/Object;
                  com/oracle/truffle/tools/profiler/ShadowStack.lambda$0(Ljava/util/ArrayList;Lcom/oracle/truffle/api/frame/FrameInstance;)Ljava/lang/Object; (7)
                  (Lcom/oracle/truffle/api/frame/FrameInstance;)Ljava/lang/Object;
            invokeinterface com.oracle.truffle.api.TruffleRuntime.iterateFrames:(Lcom/oracle/truffle/api/frame/FrameInstanceVisitor;)Ljava/lang/Object;
            pop
         3: .line 102
            aload 2 /* sourceLocations */
            invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
         4: .line 103
            aload 2 /* sourceLocations */
            areturn
        end local 2 // java.util.ArrayList sourceLocations
        end local 1 // com.oracle.truffle.api.nodes.Node instrumentedNode
        end local 0 // com.oracle.truffle.tools.profiler.ShadowStack this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    5     0              this  Lcom/oracle/truffle/tools/profiler/ShadowStack;
            0    5     1  instrumentedNode  Lcom/oracle/truffle/api/nodes/Node;
            1    5     2   sourceLocations  Ljava/util/ArrayList<Lcom/oracle/truffle/tools/profiler/StackTraceEntry;>;
    Signature: (Lcom/oracle/truffle/api/nodes/Node;)Ljava/util/ArrayList<Lcom/oracle/truffle/tools/profiler/StackTraceEntry;>;
    MethodParameters:
                  Name  Flags
      instrumentedNode  

  private static void reconstructStack(java.util.ArrayList<com.oracle.truffle.tools.profiler.StackTraceEntry>, com.oracle.truffle.api.nodes.Node, com.oracle.truffle.api.instrumentation.SourceSectionFilter, com.oracle.truffle.api.instrumentation.Instrumenter);
    descriptor: (Ljava/util/ArrayList;Lcom/oracle/truffle/api/nodes/Node;Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Lcom/oracle/truffle/api/instrumentation/Instrumenter;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=6, locals=5, args_size=4
        start local 0 // java.util.ArrayList sourceLocations
        start local 1 // com.oracle.truffle.api.nodes.Node node
        start local 2 // com.oracle.truffle.api.instrumentation.SourceSectionFilter sourceSectionFilter
        start local 3 // com.oracle.truffle.api.instrumentation.Instrumenter instrumenter
         0: .line 107
            aload 1 /* node */
            ifnull 1
            aload 2 /* sourceSectionFilter */
            ifnonnull 2
         1: .line 108
      StackMap locals:
      StackMap stack:
            return
         2: .line 111
      StackMap locals:
      StackMap stack:
            aload 1 /* node */
            invokevirtual com.oracle.truffle.api.nodes.Node.getParent:()Lcom/oracle/truffle/api/nodes/Node;
            astore 4 /* current */
        start local 4 // com.oracle.truffle.api.nodes.Node current
         3: .line 112
            goto 7
         4: .line 113
      StackMap locals: com.oracle.truffle.api.nodes.Node
      StackMap stack:
            aload 2 /* sourceSectionFilter */
            aload 4 /* current */
            invokevirtual com.oracle.truffle.api.instrumentation.SourceSectionFilter.includes:(Lcom/oracle/truffle/api/nodes/Node;)Z
            ifeq 6
            aload 4 /* current */
            invokevirtual com.oracle.truffle.api.nodes.Node.getSourceSection:()Lcom/oracle/truffle/api/source/SourceSection;
            ifnull 6
         5: .line 114
            aload 0 /* sourceLocations */
            new com.oracle.truffle.tools.profiler.StackTraceEntry
            dup
            aload 3 /* instrumenter */
            aload 4 /* current */
            iconst_1
            invokespecial com.oracle.truffle.tools.profiler.StackTraceEntry.<init>:(Lcom/oracle/truffle/api/instrumentation/Instrumenter;Lcom/oracle/truffle/api/nodes/Node;B)V
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
         6: .line 116
      StackMap locals:
      StackMap stack:
            aload 4 /* current */
            invokevirtual com.oracle.truffle.api.nodes.Node.getParent:()Lcom/oracle/truffle/api/nodes/Node;
            astore 4 /* current */
         7: .line 112
      StackMap locals:
      StackMap stack:
            aload 4 /* current */
            ifnonnull 4
         8: .line 118
            return
        end local 4 // com.oracle.truffle.api.nodes.Node current
        end local 3 // com.oracle.truffle.api.instrumentation.Instrumenter instrumenter
        end local 2 // com.oracle.truffle.api.instrumentation.SourceSectionFilter sourceSectionFilter
        end local 1 // com.oracle.truffle.api.nodes.Node node
        end local 0 // java.util.ArrayList sourceLocations
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0    9     0      sourceLocations  Ljava/util/ArrayList<Lcom/oracle/truffle/tools/profiler/StackTraceEntry;>;
            0    9     1                 node  Lcom/oracle/truffle/api/nodes/Node;
            0    9     2  sourceSectionFilter  Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
            0    9     3         instrumenter  Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            3    9     4              current  Lcom/oracle/truffle/api/nodes/Node;
    Signature: (Ljava/util/ArrayList<Lcom/oracle/truffle/tools/profiler/StackTraceEntry;>;Lcom/oracle/truffle/api/nodes/Node;Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Lcom/oracle/truffle/api/instrumentation/Instrumenter;)V
    MethodParameters:
                     Name  Flags
      sourceLocations      
      node                 
      sourceSectionFilter  
      instrumenter         

  private java.lang.Object lambda$0(java.util.ArrayList, com.oracle.truffle.api.frame.FrameInstance);
    descriptor: (Ljava/util/ArrayList;Lcom/oracle/truffle/api/frame/FrameInstance;)Ljava/lang/Object;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // com.oracle.truffle.tools.profiler.ShadowStack this
        start local 2 // com.oracle.truffle.api.frame.FrameInstance frame
         0: .line 96
            aload 2 /* frame */
            invokeinterface com.oracle.truffle.api.frame.FrameInstance.getCallNode:()Lcom/oracle/truffle/api/nodes/Node;
            astore 3 /* node */
        start local 3 // com.oracle.truffle.api.nodes.Node node
         1: .line 97
            aload 3 /* node */
            ifnull 3
         2: .line 98
            aload 1
            aload 3 /* node */
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.ShadowStack.sourceSectionFilter:Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
            aload 0 /* this */
            getfield com.oracle.truffle.tools.profiler.ShadowStack.initInstrumenter:Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            invokestatic com.oracle.truffle.tools.profiler.ShadowStack.reconstructStack:(Ljava/util/ArrayList;Lcom/oracle/truffle/api/nodes/Node;Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Lcom/oracle/truffle/api/instrumentation/Instrumenter;)V
         3: .line 100
      StackMap locals: com.oracle.truffle.api.nodes.Node
      StackMap stack:
            aconst_null
            areturn
        end local 3 // com.oracle.truffle.api.nodes.Node node
        end local 2 // com.oracle.truffle.api.frame.FrameInstance frame
        end local 0 // com.oracle.truffle.tools.profiler.ShadowStack this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lcom/oracle/truffle/tools/profiler/ShadowStack;
            0    4     2  frame  Lcom/oracle/truffle/api/frame/FrameInstance;
            1    4     3   node  Lcom/oracle/truffle/api/nodes/Node;
}
SourceFile: "ShadowStack.java"
NestMembers:
  com.oracle.truffle.tools.profiler.ShadowStack$1  com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode  com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack
InnerClasses:
  com.oracle.truffle.tools.profiler.ShadowStack$1
  private StackPushPopNode = com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode of com.oracle.truffle.tools.profiler.ShadowStack
  final ThreadLocalStack = com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack of com.oracle.truffle.tools.profiler.ShadowStack
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles