public class org.graalvm.compiler.core.common.util.FrequencyEncoder<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.core.common.util.FrequencyEncoder
  super_class: java.lang.Object
{
  protected final jdk.internal.vm.compiler.collections.EconomicMap<T, org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry<T>> map;
    descriptor: Ljdk/internal/vm/compiler/collections/EconomicMap;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Signature: Ljdk/internal/vm/compiler/collections/EconomicMap<TT;Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;>;

  protected boolean containsNull;
    descriptor: Z
    flags: (0x0004) ACC_PROTECTED

  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=1, locals=0, args_size=0
         0: .line 41
            ldc Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
            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 org.graalvm.compiler.core.common.util.FrequencyEncoder.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static <T> org.graalvm.compiler.core.common.util.FrequencyEncoder<T> createIdentityEncoder();
    descriptor: ()Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 61
            new org.graalvm.compiler.core.common.util.FrequencyEncoder
            dup
            getstatic jdk.internal.vm.compiler.collections.Equivalence.IDENTITY_WITH_SYSTEM_HASHCODE:Ljdk/internal/vm/compiler/collections/Equivalence;
            invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:(Ljdk/internal/vm/compiler/collections/Equivalence;)Ljdk/internal/vm/compiler/collections/EconomicMap;
            invokespecial org.graalvm.compiler.core.common.util.FrequencyEncoder.<init>:(Ljdk/internal/vm/compiler/collections/EconomicMap;)V
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Signature: <T:Ljava/lang/Object;>()Lorg/graalvm/compiler/core/common/util/FrequencyEncoder<TT;>;

  public static <T> org.graalvm.compiler.core.common.util.FrequencyEncoder<T> createEqualityEncoder();
    descriptor: ()Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 68
            new org.graalvm.compiler.core.common.util.FrequencyEncoder
            dup
            getstatic jdk.internal.vm.compiler.collections.Equivalence.DEFAULT:Ljdk/internal/vm/compiler/collections/Equivalence;
            invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:(Ljdk/internal/vm/compiler/collections/Equivalence;)Ljdk/internal/vm/compiler/collections/EconomicMap;
            invokespecial org.graalvm.compiler.core.common.util.FrequencyEncoder.<init>:(Ljdk/internal/vm/compiler/collections/EconomicMap;)V
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Signature: <T:Ljava/lang/Object;>()Lorg/graalvm/compiler/core/common/util/FrequencyEncoder<TT;>;

  protected void <init>(jdk.internal.vm.compiler.collections.EconomicMap<T, org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry<T>>);
    descriptor: (Ljdk/internal/vm/compiler/collections/EconomicMap;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
        start local 1 // jdk.internal.vm.compiler.collections.EconomicMap map
         0: .line 71
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 72
            aload 0 /* this */
            aload 1 /* map */
            putfield org.graalvm.compiler.core.common.util.FrequencyEncoder.map:Ljdk/internal/vm/compiler/collections/EconomicMap;
         2: .line 73
            return
        end local 1 // jdk.internal.vm.compiler.collections.EconomicMap map
        end local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder<TT;>;
            0    3     1   map  Ljdk/internal/vm/compiler/collections/EconomicMap<TT;Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;>;
    Signature: (Ljdk/internal/vm/compiler/collections/EconomicMap<TT;Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;>;)V
    MethodParameters:
      Name  Flags
      map   

  public void addObject();
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
        start local 1 // java.lang.Object object
         0: .line 79
            aload 1 /* object */
            ifnonnull 3
         1: .line 80
            aload 0 /* this */
            iconst_1
            putfield org.graalvm.compiler.core.common.util.FrequencyEncoder.containsNull:Z
         2: .line 81
            return
         3: .line 84
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder.map:Ljdk/internal/vm/compiler/collections/EconomicMap;
            aload 1 /* object */
            invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry
            astore 2 /* entry */
        start local 2 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry entry
         4: .line 85
            aload 2 /* entry */
            ifnonnull 7
         5: .line 86
            new org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry
            dup
            aload 1 /* object */
            invokespecial org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.<init>:(Ljava/lang/Object;)V
            astore 2 /* entry */
         6: .line 87
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder.map:Ljdk/internal/vm/compiler/collections/EconomicMap;
            aload 1 /* object */
            aload 2 /* entry */
            invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         7: .line 89
      StackMap locals: org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry
      StackMap stack:
            aload 2 /* entry */
            dup
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.frequency:I
            iconst_1
            iadd
            putfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.frequency:I
         8: .line 90
            return
        end local 2 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry entry
        end local 1 // java.lang.Object object
        end local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    this  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder<TT;>;
            0    9     1  object  TT;
            4    9     2   entry  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;
    Signature: (TT;)V
    MethodParameters:
        Name  Flags
      object  

  public int getIndex();
    descriptor: (Ljava/lang/Object;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
        start local 1 // java.lang.Object object
         0: .line 97
            aload 1 /* object */
            ifnonnull 3
         1: .line 98
            getstatic org.graalvm.compiler.core.common.util.FrequencyEncoder.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder.containsNull:Z
            ifne 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 99
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
         3: .line 101
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder.map:Ljdk/internal/vm/compiler/collections/EconomicMap;
            aload 1 /* object */
            invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry
            astore 2 /* entry */
        start local 2 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry entry
         4: .line 102
            getstatic org.graalvm.compiler.core.common.util.FrequencyEncoder.$assertionsDisabled:Z
            ifne 6
            aload 2 /* entry */
            ifnull 5
            aload 2 /* entry */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.index:I
            ifge 6
      StackMap locals: org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry
      StackMap stack:
         5: new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         6: .line 103
      StackMap locals:
      StackMap stack:
            aload 2 /* entry */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.index:I
            ireturn
        end local 2 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry entry
        end local 1 // java.lang.Object object
        end local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder<TT;>;
            0    7     1  object  TT;
            4    7     2   entry  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;
    Signature: (TT;)I
    MethodParameters:
        Name  Flags
      object  

  public int getLength();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
         0: .line 110
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder.map:Ljdk/internal/vm/compiler/collections/EconomicMap;
            invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.size:()I
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder.containsNull:Z
            ifeq 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack: int
         1: iconst_0
      StackMap locals: org.graalvm.compiler.core.common.util.FrequencyEncoder
      StackMap stack: int int
         2: iadd
            ireturn
        end local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder<TT;>;

  public T[] encodeAll();
    descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=7, args_size=2
        start local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
        start local 1 // java.lang.Object[] allObjects
         0: .line 118
            getstatic org.graalvm.compiler.core.common.util.FrequencyEncoder.$assertionsDisabled:Z
            ifne 1
            aload 1 /* allObjects */
            arraylength
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.core.common.util.FrequencyEncoder.getLength:()I
            if_icmpeq 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 119
      StackMap locals:
      StackMap stack:
            new java.util.ArrayList
            dup
            aload 1 /* allObjects */
            arraylength
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 2 /* sortedEntries */
        start local 2 // java.util.List sortedEntries
         2: .line 120
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder.map:Ljdk/internal/vm/compiler/collections/EconomicMap;
            invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.getValues:()Ljava/lang/Iterable;
            invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
            astore 4
            goto 5
      StackMap locals: org.graalvm.compiler.core.common.util.FrequencyEncoder java.lang.Object[] java.util.List top java.util.Iterator
      StackMap stack:
         3: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry
            astore 3 /* value */
        start local 3 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry value
         4: .line 121
            aload 2 /* sortedEntries */
            aload 3 /* value */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 3 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry value
         5: .line 120
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         6: .line 123
            aload 2 /* sortedEntries */
            invokedynamic compare()Ljava/util/Comparator;
              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:
                  (Ljava/lang/Object;Ljava/lang/Object;)I
                  org/graalvm/compiler/core/common/util/FrequencyEncoder.lambda$0(Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry;Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry;)I (6)
                  (Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry;Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry;)I
            invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
         7: .line 125
            iconst_0
            istore 3 /* offset */
        start local 3 // int offset
         8: .line 126
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder.containsNull:Z
            ifeq 11
         9: .line 127
            aload 1 /* allObjects */
            iconst_0
            aconst_null
            aastore
        10: .line 128
            iconst_1
            istore 3 /* offset */
        11: .line 130
      StackMap locals: org.graalvm.compiler.core.common.util.FrequencyEncoder java.lang.Object[] java.util.List int
      StackMap stack:
            iconst_0
            istore 4 /* i */
        start local 4 // int i
        12: goto 19
        13: .line 131
      StackMap locals: int
      StackMap stack:
            aload 2 /* sortedEntries */
            iload 4 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry
            astore 5 /* entry */
        start local 5 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry entry
        14: .line 132
            iload 4 /* i */
            iload 3 /* offset */
            iadd
            istore 6 /* index */
        start local 6 // int index
        15: .line 133
            aload 5 /* entry */
            iload 6 /* index */
            putfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.index:I
        16: .line 134
            aload 1 /* allObjects */
            iload 6 /* index */
            aload 5 /* entry */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.object:Ljava/lang/Object;
            aastore
        17: .line 135
            getstatic org.graalvm.compiler.core.common.util.FrequencyEncoder.$assertionsDisabled:Z
            ifne 18
            aload 5 /* entry */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.object:Ljava/lang/Object;
            ifnonnull 18
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        end local 6 // int index
        end local 5 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry entry
        18: .line 130
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        19: iload 4 /* i */
            aload 2 /* sortedEntries */
            invokeinterface java.util.List.size:()I
            if_icmplt 13
        end local 4 // int i
        20: .line 137
            aload 1 /* allObjects */
            areturn
        end local 3 // int offset
        end local 2 // java.util.List sortedEntries
        end local 1 // java.lang.Object[] allObjects
        end local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   21     0           this  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder<TT;>;
            0   21     1     allObjects  [Ljava/lang/Object;
            2   21     2  sortedEntries  Ljava/util/List<Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;>;
            4    5     3          value  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;
            8   21     3         offset  I
           12   20     4              i  I
           14   18     5          entry  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;
           15   18     6          index  I
    Signature: ([TT;)[TT;
    MethodParameters:
            Name  Flags
      allObjects  

  private static int lambda$0(org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry, org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry);
    descriptor: (Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry;Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry;)I
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry e1
        start local 1 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry e2
         0: .line 123
            aload 0 /* e1 */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.frequency:I
            aload 1 /* e2 */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.frequency:I
            invokestatic java.lang.Integer.compare:(II)I
            ineg
            ireturn
        end local 1 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry e2
        end local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry e1
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0    e1  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;
            0    1     1    e2  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "FrequencyEncoder.java"
NestMembers:
  org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  Entry = org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry of org.graalvm.compiler.core.common.util.FrequencyEncoder