class org.graalvm.compiler.hotspot.CompilationCounters
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.graalvm.compiler.hotspot.CompilationCounters
  super_class: java.lang.Object
{
  private final org.graalvm.compiler.options.OptionValues options;
    descriptor: Lorg/graalvm/compiler/options/OptionValues;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.Map<jdk.vm.ci.meta.ResolvedJavaMethod, java.lang.Integer> counters;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Integer;>;

  void <init>(org.graalvm.compiler.options.OptionValues);
    descriptor: (Lorg/graalvm/compiler/options/OptionValues;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.hotspot.CompilationCounters this
        start local 1 // org.graalvm.compiler.options.OptionValues options
         0: .line 58
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 63
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield org.graalvm.compiler.hotspot.CompilationCounters.counters:Ljava/util/Map;
         2: .line 59
            ldc "Warning: Compilation counters enabled, excessive recompilation of a method will cause a failure!"
            invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;)V
         3: .line 60
            aload 0 /* this */
            aload 1 /* options */
            putfield org.graalvm.compiler.hotspot.CompilationCounters.options:Lorg/graalvm/compiler/options/OptionValues;
         4: .line 61
            return
        end local 1 // org.graalvm.compiler.options.OptionValues options
        end local 0 // org.graalvm.compiler.hotspot.CompilationCounters this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Lorg/graalvm/compiler/hotspot/CompilationCounters;
            0    5     1  options  Lorg/graalvm/compiler/options/OptionValues;
    MethodParameters:
         Name  Flags
      options  

  synchronized void countCompilation(jdk.vm.ci.meta.ResolvedJavaMethod);
    descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;)V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=6, locals=6, args_size=2
        start local 0 // org.graalvm.compiler.hotspot.CompilationCounters this
        start local 1 // jdk.vm.ci.meta.ResolvedJavaMethod method
         0: .line 73
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.CompilationCounters.counters:Ljava/util/Map;
            aload 1 /* method */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Integer
            astore 2 /* val */
        start local 2 // java.lang.Integer val
         1: .line 74
            aload 2 /* val */
            ifnull 2
            aload 2 /* val */
            invokevirtual java.lang.Integer.intValue:()I
            iconst_1
            iadd
            goto 3
      StackMap locals: java.lang.Integer
      StackMap stack:
         2: iconst_1
      StackMap locals:
      StackMap stack: int
         3: invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            astore 2 /* val */
         4: .line 75
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.CompilationCounters.counters:Ljava/util/Map;
            aload 1 /* method */
            aload 2 /* val */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         5: .line 76
            aload 2 /* val */
            invokevirtual java.lang.Integer.intValue:()I
            getstatic org.graalvm.compiler.hotspot.CompilationCounters$Options.CompilationCountLimit:Lorg/graalvm/compiler/options/OptionKey;
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.CompilationCounters.options:Lorg/graalvm/compiler/options/OptionValues;
            invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            if_icmple 22
         6: .line 77
            ldc "Error. Method %s was compiled too many times. Number of compilations: %d\n"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* method */
            invokestatic org.graalvm.compiler.hotspot.HotSpotGraalCompiler.fmt:(Ljava/lang/Object;)Ljava/util/Formattable;
            aastore
            dup
            iconst_1
         7: .line 78
            getstatic org.graalvm.compiler.hotspot.CompilationCounters$Options.CompilationCountLimit:Lorg/graalvm/compiler/options/OptionKey;
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.CompilationCounters.options:Lorg/graalvm/compiler/options/OptionValues;
            invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
            aastore
         8: .line 77
            invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
         9: .line 79
            ldc "==================================== High compilation counters ===================================="
            invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;)V
        10: .line 80
            new java.util.TreeSet
            dup
            new org.graalvm.compiler.hotspot.CompilationCounters$CounterComparator
            dup
            invokespecial org.graalvm.compiler.hotspot.CompilationCounters$CounterComparator.<init>:()V
            invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
            astore 3 /* sortedCounters */
        start local 3 // java.util.SortedSet sortedCounters
        11: .line 81
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.CompilationCounters.counters:Ljava/util/Map;
            invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 5
            goto 14
      StackMap locals: org.graalvm.compiler.hotspot.CompilationCounters jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Integer java.util.SortedSet top java.util.Iterator
      StackMap stack:
        12: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 4 /* e */
        start local 4 // java.util.Map$Entry e
        13: .line 82
            aload 3 /* sortedCounters */
            aload 4 /* e */
            invokeinterface java.util.SortedSet.add:(Ljava/lang/Object;)Z
            pop
        end local 4 // java.util.Map$Entry e
        14: .line 81
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 12
        15: .line 84
            aload 3 /* sortedCounters */
            invokeinterface java.util.SortedSet.iterator:()Ljava/util/Iterator;
            astore 5
            goto 19
      StackMap locals:
      StackMap stack:
        16: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 4 /* entry */
        start local 4 // java.util.Map$Entry entry
        17: .line 85
            aload 4 /* entry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            getstatic org.graalvm.compiler.hotspot.CompilationCounters$Options.CompilationCountLimit:Lorg/graalvm/compiler/options/OptionKey;
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.CompilationCounters.options:Lorg/graalvm/compiler/options/OptionValues;
            invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            iconst_2
            idiv
            if_icmplt 19
        18: .line 86
            getstatic org.graalvm.compiler.debug.TTY.out:Ljava/io/PrintStream;
            ldc "%d\t%s%n"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 4 /* entry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            aastore
            dup
            iconst_1
            aload 4 /* entry */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            checkcast jdk.vm.ci.meta.JavaMethod
            invokestatic org.graalvm.compiler.hotspot.HotSpotGraalCompiler.str:(Ljdk/vm/ci/meta/JavaMethod;)Ljava/lang/String;
            aastore
            invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
            pop
        end local 4 // java.util.Map$Entry entry
        19: .line 84
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 16
        20: .line 89
            invokestatic org.graalvm.compiler.debug.TTY.flush:()V
        21: .line 90
            iconst_m1
            invokestatic org.graalvm.compiler.hotspot.HotSpotGraalServices.exit:(I)V
        end local 3 // java.util.SortedSet sortedCounters
        22: .line 92
      StackMap locals: org.graalvm.compiler.hotspot.CompilationCounters jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Integer
      StackMap stack:
            return
        end local 2 // java.lang.Integer val
        end local 1 // jdk.vm.ci.meta.ResolvedJavaMethod method
        end local 0 // org.graalvm.compiler.hotspot.CompilationCounters this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   23     0            this  Lorg/graalvm/compiler/hotspot/CompilationCounters;
            0   23     1          method  Ljdk/vm/ci/meta/ResolvedJavaMethod;
            1   23     2             val  Ljava/lang/Integer;
           11   22     3  sortedCounters  Ljava/util/SortedSet<Ljava/util/Map$Entry<Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Integer;>;>;
           13   14     4               e  Ljava/util/Map$Entry<Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Integer;>;
           17   19     4           entry  Ljava/util/Map$Entry<Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Integer;>;
    MethodParameters:
        Name  Flags
      method  
}
SourceFile: "CompilationCounters.java"
NestMembers:
  org.graalvm.compiler.hotspot.CompilationCounters$CounterComparator  org.graalvm.compiler.hotspot.CompilationCounters$Options
InnerClasses:
  public abstract Entry = java.util.Map$Entry of java.util.Map
  final CounterComparator = org.graalvm.compiler.hotspot.CompilationCounters$CounterComparator of org.graalvm.compiler.hotspot.CompilationCounters
  public Options = org.graalvm.compiler.hotspot.CompilationCounters$Options of org.graalvm.compiler.hotspot.CompilationCounters