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 52
            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 62
            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 69
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 70
            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 73
            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 74
            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 75
            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 76
            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 77
            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 81
            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 82
            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 83
            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 84
            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 85
            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 89
            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 93
            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 97
            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 102
            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 103
            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 102
            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 107
            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 111
            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 115
            aload 0 /* this */
            dup
            getfield org.graalvm.util.ObjectSizeEstimate.headerCount:I
            iconst_1
            iadd
            putfield org.graalvm.util.ObjectSizeEstimate.headerCount:I
         1: .line 116
            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 119
            aload 0 /* this */
            dup
            getfield org.graalvm.util.ObjectSizeEstimate.pointerCount:I
            iconst_1
            iadd
            putfield org.graalvm.util.ObjectSizeEstimate.pointerCount:I
         1: .line 120
            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 123
            aload 0 /* this */
            dup
            getfield org.graalvm.util.ObjectSizeEstimate.primitiveByteSize:I
            iload 1 /* size */
            iadd
            putfield org.graalvm.util.ObjectSizeEstimate.primitiveByteSize:I
         1: .line 124
            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=3, locals=16, args_size=2
        start local 0 // java.lang.Object object
        start local 1 // int maxDepth
         0: .line 127
            getstatic org.graalvm.util.Equivalence.IDENTITY_WITH_SYSTEM_HASHCODE:Lorg/graalvm/util/Equivalence;
            invokestatic org.graalvm.util.EconomicMap.create:(Lorg/graalvm/util/Equivalence;)Lorg/graalvm/util/EconomicMap;
            astore 2 /* identityHashMap */
        start local 2 // org.graalvm.util.EconomicMap identityHashMap
         1: .line 128
            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 130
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 4 /* stack */
        start local 4 // java.util.ArrayList stack
         3: .line 131
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 5 /* depthStack */
        start local 5 // java.util.ArrayList depthStack
         4: .line 132
            aload 4 /* stack */
            aload 0 /* object */
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
         5: .line 133
            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 134
            aload 2 /* identityHashMap */
            aload 0 /* object */
            aload 0 /* object */
            invokeinterface org.graalvm.util.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         7: .line 136
            goto 94
         8: .line 137
      StackMap locals: java.lang.Object int org.graalvm.util.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 138
            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 139
            aload 3 /* size */
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordHeader:()V
        11: .line 140
            aload 6 /* o */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            astore 8 /* c */
        start local 8 // java.lang.Class c
        12: .line 141
            aload 8 /* c */
            invokevirtual java.lang.Class.isArray:()Z
            ifeq 93
        13: .line 142
            aload 3 /* size */
            iconst_4
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        14: .line 143
            aload 6 /* o */
            instanceof byte[]
            ifeq 17
        15: .line 144
            aload 3 /* size */
            iconst_1
            aload 6 /* o */
            checkcast byte[]
            arraylength
            imul
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        16: .line 145
            goto 94
      StackMap locals: java.lang.Object int java.lang.Class
      StackMap stack:
        17: aload 6 /* o */
            instanceof boolean[]
            ifeq 20
        18: .line 146
            aload 3 /* size */
            iconst_1
            aload 6 /* o */
            checkcast boolean[]
            arraylength
            imul
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        19: .line 147
            goto 94
      StackMap locals:
      StackMap stack:
        20: aload 6 /* o */
            instanceof char[]
            ifeq 23
        21: .line 148
            aload 3 /* size */
            iconst_2
            aload 6 /* o */
            checkcast char[]
            arraylength
            imul
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        22: .line 149
            goto 94
      StackMap locals:
      StackMap stack:
        23: aload 6 /* o */
            instanceof short[]
            ifeq 26
        24: .line 150
            aload 3 /* size */
            iconst_2
            aload 6 /* o */
            checkcast short[]
            arraylength
            imul
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        25: .line 151
            goto 94
      StackMap locals:
      StackMap stack:
        26: aload 6 /* o */
            instanceof int[]
            ifeq 29
        27: .line 152
            aload 3 /* size */
            iconst_4
            aload 6 /* o */
            checkcast int[]
            arraylength
            imul
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        28: .line 153
            goto 94
      StackMap locals:
      StackMap stack:
        29: aload 6 /* o */
            instanceof long[]
            ifeq 32
        30: .line 154
            aload 3 /* size */
            bipush 8
            aload 6 /* o */
            checkcast long[]
            arraylength
            imul
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        31: .line 155
            goto 94
      StackMap locals:
      StackMap stack:
        32: aload 6 /* o */
            instanceof float[]
            ifeq 35
        33: .line 156
            aload 3 /* size */
            iconst_4
            aload 6 /* o */
            checkcast float[]
            arraylength
            imul
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        34: .line 157
            goto 94
      StackMap locals:
      StackMap stack:
        35: aload 6 /* o */
            instanceof double[]
            ifeq 38
        36: .line 158
            aload 3 /* size */
            iconst_1
            aload 6 /* o */
            checkcast double[]
            arraylength
            imul
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        37: .line 159
            goto 94
        38: .line 160
      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 org.graalvm.util.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 161
            aload 3 /* size */
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPointer:()V
        41: .line 162
            aload 9 /* element */
            ifnull 46
        42: .line 163
            iload 7 /* depth */
            iload 1 /* maxDepth */
            if_icmpge 46
            aload 2 /* identityHashMap */
            aload 9 /* element */
            invokeinterface org.graalvm.util.EconomicMap.containsKey:(Ljava/lang/Object;)Z
            ifne 46
        43: .line 164
            aload 2 /* identityHashMap */
            aload 9 /* element */
            aconst_null
            invokeinterface org.graalvm.util.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        44: .line 165
            aload 4 /* stack */
            aload 9 /* element */
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        45: .line 166
            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 160
      StackMap locals:
      StackMap stack:
            iinc 10 1
      StackMap locals:
      StackMap stack:
        47: iload 10
            iload 11
            if_icmplt 39
        48: .line 171
            goto 94
        49: .line 173
      StackMap locals: java.lang.Object int org.graalvm.util.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 174
            aload 9 /* fields */
            dup
            astore 13
            arraylength
            istore 12
            iconst_0
            istore 11
            goto 91
      StackMap locals: java.lang.Object int org.graalvm.util.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 175
            aload 10 /* f */
            invokevirtual java.lang.reflect.Field.getModifiers:()I
            invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
            ifne 90
        53: .line 176
            aload 10 /* f */
            invokevirtual java.lang.reflect.Field.getType:()Ljava/lang/Class;
            astore 14 /* type */
        start local 14 // java.lang.Class type
        54: .line 177
            aload 14 /* type */
            getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
            if_acmpne 57
        55: .line 178
            aload 3 /* size */
            iconst_1
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        56: .line 179
            goto 90
      StackMap locals: java.lang.Object int org.graalvm.util.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 180
            aload 3 /* size */
            iconst_1
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        59: .line 181
            goto 90
      StackMap locals:
      StackMap stack:
        60: aload 14 /* type */
            getstatic java.lang.Character.TYPE:Ljava/lang/Class;
            if_acmpne 63
        61: .line 182
            aload 3 /* size */
            iconst_2
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        62: .line 183
            goto 90
      StackMap locals:
      StackMap stack:
        63: aload 14 /* type */
            getstatic java.lang.Short.TYPE:Ljava/lang/Class;
            if_acmpne 66
        64: .line 184
            aload 3 /* size */
            iconst_2
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        65: .line 185
            goto 90
      StackMap locals:
      StackMap stack:
        66: aload 14 /* type */
            getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
            if_acmpne 69
        67: .line 186
            aload 3 /* size */
            iconst_4
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        68: .line 187
            goto 90
      StackMap locals:
      StackMap stack:
        69: aload 14 /* type */
            getstatic java.lang.Long.TYPE:Ljava/lang/Class;
            if_acmpne 72
        70: .line 188
            aload 3 /* size */
            bipush 8
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        71: .line 189
            goto 90
      StackMap locals:
      StackMap stack:
        72: aload 14 /* type */
            getstatic java.lang.Float.TYPE:Ljava/lang/Class;
            if_acmpne 75
        73: .line 190
            aload 3 /* size */
            iconst_4
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        74: .line 191
            goto 90
      StackMap locals:
      StackMap stack:
        75: aload 14 /* type */
            getstatic java.lang.Double.TYPE:Ljava/lang/Class;
            if_acmpne 78
        76: .line 192
            aload 3 /* size */
            bipush 8
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPrimitiveBytes:(I)V
        77: .line 193
            goto 90
        78: .line 194
      StackMap locals:
      StackMap stack:
            aload 3 /* size */
            invokevirtual org.graalvm.util.ObjectSizeEstimate.recordPointer:()V
        79: .line 195
            iload 1 /* maxDepth */
            iconst_1
            if_icmple 90
        80: .line 196
            aload 10 /* f */
            iconst_1
            invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
        81: .line 198
            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 199
            aload 15 /* inner */
            ifnull 90
        83: .line 200
            iload 7 /* depth */
            iload 1 /* maxDepth */
            if_icmpge 90
            aload 2 /* identityHashMap */
            aload 15 /* inner */
            invokeinterface org.graalvm.util.EconomicMap.containsKey:(Ljava/lang/Object;)Z
            ifne 90
        84: .line 201
            aload 2 /* identityHashMap */
            aload 15 /* inner */
            aconst_null
            invokeinterface org.graalvm.util.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        85: .line 202
            aload 4 /* stack */
            aload 15 /* inner */
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        86: .line 203
            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 206
            goto 90
      StackMap locals:
      StackMap stack: java.lang.Exception
        88: pop
        89: .line 207
            new java.lang.UnsupportedOperationException
            dup
            ldc "Must have access privileges to traverse object graph"
            invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
            athrow
        end local 14 // java.lang.Class type
        end local 10 // java.lang.reflect.Field f
        90: .line 174
      StackMap locals: java.lang.Object int org.graalvm.util.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:
        91: iload 11
            iload 12
            if_icmplt 51
        92: .line 213
            aload 8 /* c */
            invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
            astore 8 /* c */
        end local 9 // java.lang.reflect.Field[] fields
        93: .line 172
      StackMap locals: java.lang.Object int org.graalvm.util.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
        94: .line 136
      StackMap locals:
      StackMap stack:
            aload 4 /* stack */
            invokevirtual java.util.ArrayList.isEmpty:()Z
            ifeq 8
        95: .line 217
            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 // org.graalvm.util.EconomicMap identityHashMap
        end local 1 // int maxDepth
        end local 0 // java.lang.Object object
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   96     0           object  Ljava/lang/Object;
            0   96     1         maxDepth  I
            1   96     2  identityHashMap  Lorg/graalvm/util/EconomicMap<Ljava/lang/Object;Ljava/lang/Object;>;
            2   96     3             size  Lorg/graalvm/util/ObjectSizeEstimate;
            3   96     4            stack  Ljava/util/ArrayList<Ljava/lang/Object;>;
            4   96     5       depthStack  Ljava/util/ArrayList<Ljava/lang/Integer;>;
            9   94     6                o  Ljava/lang/Object;
           10   94     7            depth  I
           12   94     8                c  Ljava/lang/Class<*>;
           40   46     9          element  Ljava/lang/Object;
           50   93     9           fields  [Ljava/lang/reflect/Field;
           52   90    10                f  Ljava/lang/reflect/Field;
           54   90    14             type  Ljava/lang/Class<*>;
           82   87    15            inner  Ljava/lang/Object;
      Exception table:
        from    to  target  type
          81    87      88  Class java.lang.IllegalArgumentException
          81    87      88  Class java.lang.IllegalAccessException
    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 221
            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 227
            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 232
            aload 0 /* this */
            aload 1 /* obj */
            if_acmpne 2
         1: .line 233
            iconst_1
            ireturn
         2: .line 234
      StackMap locals:
      StackMap stack:
            aload 1 /* obj */
            instanceof org.graalvm.util.ObjectSizeEstimate
            ifeq 6
         3: .line 235
            aload 1 /* obj */
            checkcast org.graalvm.util.ObjectSizeEstimate
            astore 2 /* other */
        start local 2 // org.graalvm.util.ObjectSizeEstimate other
         4: .line 236
            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 238
      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"