public final class org.graalvm.util.ObjectSizeEstimate
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.graalvm.util.ObjectSizeEstimate
  super_class: java.lang.Object
{
  private static final int UNCOMPRESSED_POINTER_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 8

  private static final int UNCOMPRESSED_HEADER_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 16

  private static final int COMPRESSED_POINTER_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 4

  private static final int COMPRESSED_HEADER_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 12

  private int headerCount;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int pointerCount;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int primitiveByteSize;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  public static org.graalvm.util.ObjectSizeEstimate forObject(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Lorg/graalvm/util/ObjectSizeEstimate;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.Object root
         0: .line 57
            aload 0 /* root */
            ldc 2147483647
            invokestatic org.graalvm.util.ObjectSizeEstimate.forObject:(Ljava/lang/Object;I)Lorg/graalvm/util/ObjectSizeEstimate;
            areturn
        end local 0 // java.lang.Object root
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  root  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      root  

  public static org.graalvm.util.ObjectSizeEstimate forObject(java.lang.Object, int);
    descriptor: (Ljava/lang/Object;I)Lorg/graalvm/util/ObjectSizeEstimate;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.lang.Object root
        start local 1 // int maxDepth
         0: .line 67
            aload 0 /* root */
            iload 1 /* maxDepth */
            invokestatic org.graalvm.util.ObjectSizeEstimate.forObjectHelper:(Ljava/lang/Object;I)Lorg/graalvm/util/ObjectSizeEstimate;
            areturn
        end local 1 // int maxDepth
        end local 0 // java.lang.Object root
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      root  Ljava/lang/Object;
            0    1     1  maxDepth  I
    MethodParameters:
          Name  Flags
      root      
      maxDepth  

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.util.ObjectSizeEstimate this
         0: .line 74
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 75
            return
        end local 0 // org.graalvm.util.ObjectSizeEstimate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/graalvm/util/ObjectSizeEstimate;

  public org.graalvm.util.ObjectSizeEstimate add(org.graalvm.util.ObjectSizeEstimate);
    descriptor: (Lorg/graalvm/util/ObjectSizeEstimate;)Lorg/graalvm/util/ObjectSizeEstimate;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.graalvm.util.ObjectSizeEstimate this
        start local 1 // org.graalvm.util.ObjectSizeEstimate other
         0: .line 78
            new org.graalvm.util.ObjectSizeEstimate
            dup
            invokespecial org.graalvm.util.ObjectSizeEstimate.<init>:()V
            astore 2 /* result */
        start local 2 // org.graalvm.util.ObjectSizeEstimate result
         1: .line 79
            aload 2 /* result */
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.headerCount:I
            aload 1 /* other */
            getfield org.graalvm.util.ObjectSizeEstimate.headerCount:I
            iadd
            putfield org.graalvm.util.ObjectSizeEstimate.headerCount:I
         2: .line 80
            aload 2 /* result */
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.primitiveByteSize:I
            aload 1 /* other */
            getfield org.graalvm.util.ObjectSizeEstimate.primitiveByteSize:I
            iadd
            putfield org.graalvm.util.ObjectSizeEstimate.primitiveByteSize:I
         3: .line 81
            aload 2 /* result */
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.pointerCount:I
            aload 1 /* other */
            getfield org.graalvm.util.ObjectSizeEstimate.pointerCount:I
            iadd
            putfield org.graalvm.util.ObjectSizeEstimate.pointerCount:I
         4: .line 82
            aload 2 /* result */
            areturn
        end local 2 // org.graalvm.util.ObjectSizeEstimate result
        end local 1 // org.graalvm.util.ObjectSizeEstimate other
        end local 0 // org.graalvm.util.ObjectSizeEstimate this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Lorg/graalvm/util/ObjectSizeEstimate;
            0    5     1   other  Lorg/graalvm/util/ObjectSizeEstimate;
            1    5     2  result  Lorg/graalvm/util/ObjectSizeEstimate;
    MethodParameters:
       Name  Flags
      other  

  public org.graalvm.util.ObjectSizeEstimate subtract(org.graalvm.util.ObjectSizeEstimate);
    descriptor: (Lorg/graalvm/util/ObjectSizeEstimate;)Lorg/graalvm/util/ObjectSizeEstimate;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.graalvm.util.ObjectSizeEstimate this
        start local 1 // org.graalvm.util.ObjectSizeEstimate other
         0: .line 86
            new org.graalvm.util.ObjectSizeEstimate
            dup
            invokespecial org.graalvm.util.ObjectSizeEstimate.<init>:()V
            astore 2 /* result */
        start local 2 // org.graalvm.util.ObjectSizeEstimate result
         1: .line 87
            aload 2 /* result */
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.headerCount:I
            aload 1 /* other */
            getfield org.graalvm.util.ObjectSizeEstimate.headerCount:I
            isub
            putfield org.graalvm.util.ObjectSizeEstimate.headerCount:I
         2: .line 88
            aload 2 /* result */
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.primitiveByteSize:I
            aload 1 /* other */
            getfield org.graalvm.util.ObjectSizeEstimate.primitiveByteSize:I
            isub
            putfield org.graalvm.util.ObjectSizeEstimate.primitiveByteSize:I
         3: .line 89
            aload 2 /* result */
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.pointerCount:I
            aload 1 /* other */
            getfield org.graalvm.util.ObjectSizeEstimate.pointerCount:I
            isub
            putfield org.graalvm.util.ObjectSizeEstimate.pointerCount:I
         4: .line 90
            aload 2 /* result */
            areturn
        end local 2 // org.graalvm.util.ObjectSizeEstimate result
        end local 1 // org.graalvm.util.ObjectSizeEstimate other
        end local 0 // org.graalvm.util.ObjectSizeEstimate this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Lorg/graalvm/util/ObjectSizeEstimate;
            0    5     1   other  Lorg/graalvm/util/ObjectSizeEstimate;
            1    5     2  result  Lorg/graalvm/util/ObjectSizeEstimate;
    MethodParameters:
       Name  Flags
      other  

  public int getHeaderCount();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.util.ObjectSizeEstimate this
         0: .line 94
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.headerCount:I
            ireturn
        end local 0 // org.graalvm.util.ObjectSizeEstimate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/util/ObjectSizeEstimate;

  public int getPointerCount();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.util.ObjectSizeEstimate this
         0: .line 98
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.pointerCount:I
            ireturn
        end local 0 // org.graalvm.util.ObjectSizeEstimate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/util/ObjectSizeEstimate;

  public int getPrimitiveByteSize();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.util.ObjectSizeEstimate this
         0: .line 102
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.primitiveByteSize:I
            ireturn
        end local 0 // org.graalvm.util.ObjectSizeEstimate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/util/ObjectSizeEstimate;

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // org.graalvm.util.ObjectSizeEstimate this
         0: .line 107
            ldc "(#headers=%s, #pointers=%s, #primitiveBytes=%s, totalCompressed=%s, totalNonCompressed=%s)"
            iconst_5
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.headerCount:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.pointerCount:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.primitiveByteSize:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_3
         1: .line 108
            aload 0 /* this */
            invokevirtual org.graalvm.util.ObjectSizeEstimate.getCompressedTotalBytes:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_4
            aload 0 /* this */
            invokevirtual org.graalvm.util.ObjectSizeEstimate.getTotalBytes:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
         2: .line 107
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            areturn
        end local 0 // org.graalvm.util.ObjectSizeEstimate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/graalvm/util/ObjectSizeEstimate;

  public int getCompressedTotalBytes();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.util.ObjectSizeEstimate this
         0: .line 112
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.headerCount:I
            bipush 12
            imul
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.pointerCount:I
            iconst_4
            imul
            iadd
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.primitiveByteSize:I
            iadd
            ireturn
        end local 0 // org.graalvm.util.ObjectSizeEstimate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/util/ObjectSizeEstimate;

  public int getTotalBytes();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.util.ObjectSizeEstimate this
         0: .line 116
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.headerCount:I
            bipush 16
            imul
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.pointerCount:I
            bipush 8
            imul
            iadd
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.primitiveByteSize:I
            iadd
            ireturn
        end local 0 // org.graalvm.util.ObjectSizeEstimate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/util/ObjectSizeEstimate;

  private void recordHeader();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.util.ObjectSizeEstimate this
         0: .line 120
            aload 0 /* this */
            dup
            getfield org.graalvm.util.ObjectSizeEstimate.headerCount:I
            iconst_1
            iadd
            putfield org.graalvm.util.ObjectSizeEstimate.headerCount:I
         1: .line 121
            return
        end local 0 // org.graalvm.util.ObjectSizeEstimate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/graalvm/util/ObjectSizeEstimate;

  private void recordPointer();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.util.ObjectSizeEstimate this
         0: .line 124
            aload 0 /* this */
            dup
            getfield org.graalvm.util.ObjectSizeEstimate.pointerCount:I
            iconst_1
            iadd
            putfield org.graalvm.util.ObjectSizeEstimate.pointerCount:I
         1: .line 125
            return
        end local 0 // org.graalvm.util.ObjectSizeEstimate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/graalvm/util/ObjectSizeEstimate;

  private void recordPrimitiveBytes(int);
    descriptor: (I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.graalvm.util.ObjectSizeEstimate this
        start local 1 // int size
         0: .line 128
            aload 0 /* this */
            dup
            getfield org.graalvm.util.ObjectSizeEstimate.primitiveByteSize:I
            iload 1 /* size */
            iadd
            putfield org.graalvm.util.ObjectSizeEstimate.primitiveByteSize:I
         1: .line 129
            return
        end local 1 // int size
        end local 0 // org.graalvm.util.ObjectSizeEstimate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/graalvm/util/ObjectSizeEstimate;
            0    2     1  size  I
    MethodParameters:
      Name  Flags
      size  

  private static org.graalvm.util.ObjectSizeEstimate forObjectHelper(java.lang.Object, int);
    descriptor: (Ljava/lang/Object;I)Lorg/graalvm/util/ObjectSizeEstimate;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=16, args_size=2
        start local 0 // java.lang.Object object
        start local 1 // int maxDepth
         0: .line 132
            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;
            astore 2 /* identityHashMap */
        start local 2 // jdk.internal.vm.compiler.collections.EconomicMap identityHashMap
         1: .line 133
            new org.graalvm.util.ObjectSizeEstimate
            dup
            invokespecial org.graalvm.util.ObjectSizeEstimate.<init>:()V
            astore 3 /* size */
        start local 3 // org.graalvm.util.ObjectSizeEstimate size
         2: .line 135
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 4 /* stack */
        start local 4 // java.util.ArrayList stack
         3: .line 136
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 5 /* depthStack */
        start local 5 // java.util.ArrayList depthStack
         4: .line 137
            aload 4 /* stack */
            aload 0 /* object */
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
         5: .line 138
            aload 5 /* depthStack */
            iconst_0
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
         6: .line 139
            aload 2 /* identityHashMap */
            aload 0 /* object */
            aload 0 /* object */
            invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         7: .line 141
            goto 98
         8: .line 142
      StackMap locals: java.lang.Object int jdk.internal.vm.compiler.collections.EconomicMap org.graalvm.util.ObjectSizeEstimate java.util.ArrayList java.util.ArrayList
      StackMap stack:
            aload 4 /* stack */
            aload 4 /* stack */
            invokevirtual java.util.ArrayList.size:()I
            iconst_1
            isub
            invokevirtual java.util.ArrayList.remove:(I)Ljava/lang/Object;
            astore 6 /* o */
        start local 6 // java.lang.Object o
         9: .line 143
            aload 5 /* depthStack */
            aload 5 /* depthStack */
            invokevirtual java.util.ArrayList.size:()I
            iconst_1
            isub
            invokevirtual java.util.ArrayList.remove:(I)Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            istore 7 /* depth */
        start local 7 // int depth
        10: .line 144
            aload 3 /* size */
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordHeader:()V
        11: .line 145
            aload 6 /* o */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            astore 8 /* c */
        start local 8 // java.lang.Class c
        12: .line 146
            aload 8 /* c */
            invokevirtual java.lang.Class.isArray:()Z
            ifeq 97
        13: .line 147
            aload 3 /* size */
            iconst_4
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        14: .line 148
            aload 6 /* o */
            instanceof byte[]
            ifeq 17
        15: .line 149
            aload 3 /* size */
            iconst_1
            aload 6 /* o */
            checkcast byte[]
            arraylength
            imul
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        16: .line 150
            goto 98
      StackMap locals: java.lang.Object int java.lang.Class
      StackMap stack:
        17: aload 6 /* o */
            instanceof boolean[]
            ifeq 20
        18: .line 151
            aload 3 /* size */
            iconst_1
            aload 6 /* o */
            checkcast boolean[]
            arraylength
            imul
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        19: .line 152
            goto 98
      StackMap locals:
      StackMap stack:
        20: aload 6 /* o */
            instanceof char[]
            ifeq 23
        21: .line 153
            aload 3 /* size */
            iconst_2
            aload 6 /* o */
            checkcast char[]
            arraylength
            imul
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        22: .line 154
            goto 98
      StackMap locals:
      StackMap stack:
        23: aload 6 /* o */
            instanceof short[]
            ifeq 26
        24: .line 155
            aload 3 /* size */
            iconst_2
            aload 6 /* o */
            checkcast short[]
            arraylength
            imul
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        25: .line 156
            goto 98
      StackMap locals:
      StackMap stack:
        26: aload 6 /* o */
            instanceof int[]
            ifeq 29
        27: .line 157
            aload 3 /* size */
            iconst_4
            aload 6 /* o */
            checkcast int[]
            arraylength
            imul
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        28: .line 158
            goto 98
      StackMap locals:
      StackMap stack:
        29: aload 6 /* o */
            instanceof long[]
            ifeq 32
        30: .line 159
            aload 3 /* size */
            bipush 8
            aload 6 /* o */
            checkcast long[]
            arraylength
            imul
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        31: .line 160
            goto 98
      StackMap locals:
      StackMap stack:
        32: aload 6 /* o */
            instanceof float[]
            ifeq 35
        33: .line 161
            aload 3 /* size */
            iconst_4
            aload 6 /* o */
            checkcast float[]
            arraylength
            imul
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        34: .line 162
            goto 98
      StackMap locals:
      StackMap stack:
        35: aload 6 /* o */
            instanceof double[]
            ifeq 38
        36: .line 163
            aload 3 /* size */
            iconst_1
            aload 6 /* o */
            checkcast double[]
            arraylength
            imul
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        37: .line 164
            goto 98
        38: .line 165
      StackMap locals:
      StackMap stack:
            aload 6 /* o */
            checkcast java.lang.Object[]
            dup
            astore 12
            arraylength
            istore 11
            iconst_0
            istore 10
            goto 47
      StackMap locals: java.lang.Object int jdk.internal.vm.compiler.collections.EconomicMap org.graalvm.util.ObjectSizeEstimate java.util.ArrayList java.util.ArrayList java.lang.Object int java.lang.Class top int int java.lang.Object[]
      StackMap stack:
        39: aload 12
            iload 10
            aaload
            astore 9 /* element */
        start local 9 // java.lang.Object element
        40: .line 166
            aload 3 /* size */
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPointer:()V
        41: .line 167
            aload 9 /* element */
            ifnull 46
        42: .line 168
            iload 7 /* depth */
            iload 1 /* maxDepth */
            if_icmpge 46
            aload 2 /* identityHashMap */
            aload 9 /* element */
            invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.containsKey:(Ljava/lang/Object;)Z
            ifne 46
        43: .line 169
            aload 2 /* identityHashMap */
            aload 9 /* element */
            aconst_null
            invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        44: .line 170
            aload 4 /* stack */
            aload 9 /* element */
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        45: .line 171
            aload 5 /* depthStack */
            iload 7 /* depth */
            iconst_1
            iadd
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        end local 9 // java.lang.Object element
        46: .line 165
      StackMap locals:
      StackMap stack:
            iinc 10 1
      StackMap locals:
      StackMap stack:
        47: iload 10
            iload 11
            if_icmplt 39
        48: .line 176
            goto 98
        49: .line 178
      StackMap locals: java.lang.Object int jdk.internal.vm.compiler.collections.EconomicMap org.graalvm.util.ObjectSizeEstimate java.util.ArrayList java.util.ArrayList java.lang.Object int java.lang.Class
      StackMap stack:
            aload 8 /* c */
            invokevirtual java.lang.Class.getDeclaredFields:()[Ljava/lang/reflect/Field;
            astore 9 /* fields */
        start local 9 // java.lang.reflect.Field[] fields
        50: .line 179
            aload 9 /* fields */
            dup
            astore 13
            arraylength
            istore 12
            iconst_0
            istore 11
            goto 95
      StackMap locals: java.lang.Object int jdk.internal.vm.compiler.collections.EconomicMap org.graalvm.util.ObjectSizeEstimate java.util.ArrayList java.util.ArrayList java.lang.Object int java.lang.Class java.lang.reflect.Field[] top int int java.lang.reflect.Field[]
      StackMap stack:
        51: aload 13
            iload 11
            aaload
            astore 10 /* f */
        start local 10 // java.lang.reflect.Field f
        52: .line 180
            aload 10 /* f */
            invokevirtual java.lang.reflect.Field.getModifiers:()I
            invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
            ifne 94
        53: .line 181
            aload 10 /* f */
            invokevirtual java.lang.reflect.Field.getType:()Ljava/lang/Class;
            astore 14 /* type */
        start local 14 // java.lang.Class type
        54: .line 182
            aload 14 /* type */
            getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
            if_acmpne 57
        55: .line 183
            aload 3 /* size */
            iconst_1
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        56: .line 184
            goto 94
      StackMap locals: java.lang.Object int jdk.internal.vm.compiler.collections.EconomicMap org.graalvm.util.ObjectSizeEstimate java.util.ArrayList java.util.ArrayList java.lang.Object int java.lang.Class java.lang.reflect.Field[] java.lang.reflect.Field int int java.lang.reflect.Field[] java.lang.Class
      StackMap stack:
        57: aload 14 /* type */
            getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
            if_acmpne 60
        58: .line 185
            aload 3 /* size */
            iconst_1
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        59: .line 186
            goto 94
      StackMap locals:
      StackMap stack:
        60: aload 14 /* type */
            getstatic java.lang.Character.TYPE:Ljava/lang/Class;
            if_acmpne 63
        61: .line 187
            aload 3 /* size */
            iconst_2
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        62: .line 188
            goto 94
      StackMap locals:
      StackMap stack:
        63: aload 14 /* type */
            getstatic java.lang.Short.TYPE:Ljava/lang/Class;
            if_acmpne 66
        64: .line 189
            aload 3 /* size */
            iconst_2
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        65: .line 190
            goto 94
      StackMap locals:
      StackMap stack:
        66: aload 14 /* type */
            getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
            if_acmpne 69
        67: .line 191
            aload 3 /* size */
            iconst_4
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        68: .line 192
            goto 94
      StackMap locals:
      StackMap stack:
        69: aload 14 /* type */
            getstatic java.lang.Long.TYPE:Ljava/lang/Class;
            if_acmpne 72
        70: .line 193
            aload 3 /* size */
            bipush 8
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        71: .line 194
            goto 94
      StackMap locals:
      StackMap stack:
        72: aload 14 /* type */
            getstatic java.lang.Float.TYPE:Ljava/lang/Class;
            if_acmpne 75
        73: .line 195
            aload 3 /* size */
            iconst_4
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        74: .line 196
            goto 94
      StackMap locals:
      StackMap stack:
        75: aload 14 /* type */
            getstatic java.lang.Double.TYPE:Ljava/lang/Class;
            if_acmpne 78
        76: .line 197
            aload 3 /* size */
            bipush 8
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        77: .line 198
            goto 94
        78: .line 199
      StackMap locals:
      StackMap stack:
            aload 3 /* size */
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPointer:()V
        79: .line 200
            iload 1 /* maxDepth */
            iconst_1
            if_icmple 94
        80: .line 202
            aload 10 /* f */
            iconst_1
            invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
        81: .line 203
            aload 10 /* f */
            aload 6 /* o */
            invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
            astore 15 /* inner */
        start local 15 // java.lang.Object inner
        82: .line 204
            aload 15 /* inner */
            ifnull 94
        83: .line 205
            iload 7 /* depth */
            iload 1 /* maxDepth */
            if_icmpge 94
            aload 2 /* identityHashMap */
            aload 15 /* inner */
            invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.containsKey:(Ljava/lang/Object;)Z
            ifne 94
        84: .line 206
            aload 2 /* identityHashMap */
            aload 15 /* inner */
            aconst_null
            invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        85: .line 207
            aload 4 /* stack */
            aload 15 /* inner */
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        86: .line 208
            aload 5 /* depthStack */
            iload 7 /* depth */
            iconst_1
            iadd
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        end local 15 // java.lang.Object inner
        87: .line 211
            goto 94
      StackMap locals:
      StackMap stack: java.lang.Exception
        88: pop
        89: .line 212
            new java.lang.UnsupportedOperationException
            dup
            ldc "Must have access privileges to traverse object graph"
            invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
            athrow
        90: .line 213
      StackMap locals:
      StackMap stack: java.lang.RuntimeException
            astore 15 /* e */
        start local 15 // java.lang.RuntimeException e
        91: .line 214
            ldc "java.lang.reflect.InaccessibleObjectException"
            aload 15 /* e */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 93
        92: .line 217
            new java.lang.UnsupportedOperationException
            dup
            ldc "Target class is not exported to the current module."
            aload 15 /* e */
            invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        93: .line 219
      StackMap locals: java.lang.RuntimeException
      StackMap stack:
            aload 15 /* e */
            athrow
        end local 15 // java.lang.RuntimeException e
        end local 14 // java.lang.Class type
        end local 10 // java.lang.reflect.Field f
        94: .line 179
      StackMap locals: java.lang.Object int jdk.internal.vm.compiler.collections.EconomicMap org.graalvm.util.ObjectSizeEstimate java.util.ArrayList java.util.ArrayList java.lang.Object int java.lang.Class java.lang.reflect.Field[] top int int java.lang.reflect.Field[]
      StackMap stack:
            iinc 11 1
      StackMap locals:
      StackMap stack:
        95: iload 11
            iload 12
            if_icmplt 51
        96: .line 226
            aload 8 /* c */
            invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
            astore 8 /* c */
        end local 9 // java.lang.reflect.Field[] fields
        97: .line 177
      StackMap locals: java.lang.Object int jdk.internal.vm.compiler.collections.EconomicMap org.graalvm.util.ObjectSizeEstimate java.util.ArrayList java.util.ArrayList java.lang.Object int java.lang.Class
      StackMap stack:
            aload 8 /* c */
            ifnonnull 49
        end local 8 // java.lang.Class c
        end local 7 // int depth
        end local 6 // java.lang.Object o
        98: .line 141
      StackMap locals:
      StackMap stack:
            aload 4 /* stack */
            invokevirtual java.util.ArrayList.isEmpty:()Z
            ifeq 8
        99: .line 230
            aload 3 /* size */
            areturn
        end local 5 // java.util.ArrayList depthStack
        end local 4 // java.util.ArrayList stack
        end local 3 // org.graalvm.util.ObjectSizeEstimate size
        end local 2 // jdk.internal.vm.compiler.collections.EconomicMap identityHashMap
        end local 1 // int maxDepth
        end local 0 // java.lang.Object object
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0  100     0           object  Ljava/lang/Object;
            0  100     1         maxDepth  I
            1  100     2  identityHashMap  Ljdk/internal/vm/compiler/collections/EconomicMap<Ljava/lang/Object;Ljava/lang/Object;>;
            2  100     3             size  Lorg/graalvm/util/ObjectSizeEstimate;
            3  100     4            stack  Ljava/util/ArrayList<Ljava/lang/Object;>;
            4  100     5       depthStack  Ljava/util/ArrayList<Ljava/lang/Integer;>;
            9   98     6                o  Ljava/lang/Object;
           10   98     7            depth  I
           12   98     8                c  Ljava/lang/Class<*>;
           40   46     9          element  Ljava/lang/Object;
           50   97     9           fields  [Ljava/lang/reflect/Field;
           52   94    10                f  Ljava/lang/reflect/Field;
           54   94    14             type  Ljava/lang/Class<*>;
           82   87    15            inner  Ljava/lang/Object;
           91   94    15                e  Ljava/lang/RuntimeException;
      Exception table:
        from    to  target  type
          80    87      88  Class java.lang.IllegalArgumentException
          80    87      88  Class java.lang.IllegalAccessException
          80    87      90  Class java.lang.RuntimeException
    MethodParameters:
          Name  Flags
      object    
      maxDepth  

  public static org.graalvm.util.ObjectSizeEstimate zero();
    descriptor: ()Lorg/graalvm/util/ObjectSizeEstimate;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 234
            new org.graalvm.util.ObjectSizeEstimate
            dup
            invokespecial org.graalvm.util.ObjectSizeEstimate.<init>:()V
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public int hashCode();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // org.graalvm.util.ObjectSizeEstimate this
         0: .line 240
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.headerCount:I
            bipush 31
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.pointerCount:I
            bipush 31
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.primitiveByteSize:I
            imul
            iadd
            imul
            iadd
            ireturn
        end local 0 // org.graalvm.util.ObjectSizeEstimate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/util/ObjectSizeEstimate;

  public boolean equals(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.graalvm.util.ObjectSizeEstimate this
        start local 1 // java.lang.Object obj
         0: .line 245
            aload 0 /* this */
            aload 1 /* obj */
            if_acmpne 2
         1: .line 246
            iconst_1
            ireturn
         2: .line 247
      StackMap locals:
      StackMap stack:
            aload 1 /* obj */
            instanceof org.graalvm.util.ObjectSizeEstimate
            ifeq 6
         3: .line 248
            aload 1 /* obj */
            checkcast org.graalvm.util.ObjectSizeEstimate
            astore 2 /* other */
        start local 2 // org.graalvm.util.ObjectSizeEstimate other
         4: .line 249
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.headerCount:I
            aload 2 /* other */
            getfield org.graalvm.util.ObjectSizeEstimate.headerCount:I
            if_icmpne 5
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.pointerCount:I
            aload 2 /* other */
            getfield org.graalvm.util.ObjectSizeEstimate.pointerCount:I
            if_icmpne 5
            aload 0 /* this */
            getfield org.graalvm.util.ObjectSizeEstimate.primitiveByteSize:I
            aload 2 /* other */
            getfield org.graalvm.util.ObjectSizeEstimate.primitiveByteSize:I
            if_icmpne 5
            iconst_1
            ireturn
      StackMap locals: org.graalvm.util.ObjectSizeEstimate
      StackMap stack:
         5: iconst_0
            ireturn
        end local 2 // org.graalvm.util.ObjectSizeEstimate other
         6: .line 251
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // java.lang.Object obj
        end local 0 // org.graalvm.util.ObjectSizeEstimate this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    7     0   this  Lorg/graalvm/util/ObjectSizeEstimate;
            0    7     1    obj  Ljava/lang/Object;
            4    6     2  other  Lorg/graalvm/util/ObjectSizeEstimate;
    MethodParameters:
      Name  Flags
      obj   
}
SourceFile: "ObjectSizeEstimate.java"