public final class org.graalvm.compiler.core.common.util.BitMap2D
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.core.common.util.BitMap2D
super_class: java.lang.Object
{
private java.util.BitSet map;
descriptor: Ljava/util/BitSet;
flags: (0x0002) ACC_PRIVATE
private final int bitsPerSlot;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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: ldc Lorg/graalvm/compiler/core/common/util/BitMap2D;
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.BitMap2D.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
private int bitIndex(int, int);
descriptor: (II)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield org.graalvm.compiler.core.common.util.BitMap2D.bitsPerSlot:I
imul
iload 2
iadd
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/common/util/BitMap2D;
0 1 1 slotIndex I
0 1 2 bitWithinSlotIndex I
MethodParameters:
Name Flags
slotIndex
bitWithinSlotIndex
private boolean verifyBitWithinSlotIndex(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.core.common.util.BitMap2D.$assertionsDisabled:Z
ifne 1
iload 1
aload 0
getfield org.graalvm.compiler.core.common.util.BitMap2D.bitsPerSlot:I
if_icmplt 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "index "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " is out of bounds "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.core.common.util.BitMap2D.bitsPerSlot:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/common/util/BitMap2D;
0 2 1 index I
MethodParameters:
Name Flags
index
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
i2l
iload 2
i2l
lmul
lstore 3
start local 3 2: lload 3
ldc 2147483647
lcmp
ifle 4
3: new java.lang.OutOfMemoryError
dup
new java.lang.StringBuilder
dup
ldc "Cannot allocate a BitSet for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " bits"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.OutOfMemoryError.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.graalvm.compiler.core.common.util.BitMap2D int int long
StackMap stack:
aload 0
new java.util.BitSet
dup
iload 1
iload 2
imul
invokespecial java.util.BitSet.<init>:(I)V
putfield org.graalvm.compiler.core.common.util.BitMap2D.map:Ljava/util/BitSet;
5: aload 0
iload 2
putfield org.graalvm.compiler.core.common.util.BitMap2D.bitsPerSlot:I
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/core/common/util/BitMap2D;
0 7 1 sizeInSlots I
0 7 2 bitsPerSlot I
2 7 3 nBits J
MethodParameters:
Name Flags
sizeInSlots
bitsPerSlot
public int sizeInBits();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.common.util.BitMap2D.map:Ljava/util/BitSet;
invokevirtual java.util.BitSet.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/common/util/BitMap2D;
public int sizeInSlots();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.common.util.BitMap2D.map:Ljava/util/BitSet;
invokevirtual java.util.BitSet.size:()I
aload 0
getfield org.graalvm.compiler.core.common.util.BitMap2D.bitsPerSlot:I
idiv
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/common/util/BitMap2D;
public boolean isValidIndex(int, int);
descriptor: (II)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.core.common.util.BitMap2D.$assertionsDisabled:Z
ifne 1
aload 0
iload 2
invokevirtual org.graalvm.compiler.core.common.util.BitMap2D.verifyBitWithinSlotIndex:(I)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokevirtual org.graalvm.compiler.core.common.util.BitMap2D.bitIndex:(II)I
aload 0
invokevirtual org.graalvm.compiler.core.common.util.BitMap2D.sizeInBits:()I
if_icmpge 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/common/util/BitMap2D;
0 3 1 slotIndex I
0 3 2 bitWithinSlotIndex I
MethodParameters:
Name Flags
slotIndex
bitWithinSlotIndex
public boolean at(int, int);
descriptor: (II)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.core.common.util.BitMap2D.$assertionsDisabled:Z
ifne 1
aload 0
iload 2
invokevirtual org.graalvm.compiler.core.common.util.BitMap2D.verifyBitWithinSlotIndex:(I)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.common.util.BitMap2D.map:Ljava/util/BitSet;
aload 0
iload 1
iload 2
invokevirtual org.graalvm.compiler.core.common.util.BitMap2D.bitIndex:(II)I
invokevirtual java.util.BitSet.get:(I)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/common/util/BitMap2D;
0 2 1 slotIndex I
0 2 2 bitWithinSlotIndex I
MethodParameters:
Name Flags
slotIndex
bitWithinSlotIndex
public void setBit(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.core.common.util.BitMap2D.$assertionsDisabled:Z
ifne 1
aload 0
iload 2
invokevirtual org.graalvm.compiler.core.common.util.BitMap2D.verifyBitWithinSlotIndex:(I)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.common.util.BitMap2D.map:Ljava/util/BitSet;
aload 0
iload 1
iload 2
invokevirtual org.graalvm.compiler.core.common.util.BitMap2D.bitIndex:(II)I
invokevirtual java.util.BitSet.set:(I)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/common/util/BitMap2D;
0 3 1 slotIndex I
0 3 2 bitWithinSlotIndex I
MethodParameters:
Name Flags
slotIndex
bitWithinSlotIndex
public void clearBit(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.core.common.util.BitMap2D.$assertionsDisabled:Z
ifne 1
aload 0
iload 2
invokevirtual org.graalvm.compiler.core.common.util.BitMap2D.verifyBitWithinSlotIndex:(I)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.common.util.BitMap2D.map:Ljava/util/BitSet;
aload 0
iload 1
iload 2
invokevirtual org.graalvm.compiler.core.common.util.BitMap2D.bitIndex:(II)I
invokevirtual java.util.BitSet.clear:(I)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/common/util/BitMap2D;
0 3 1 slotIndex I
0 3 2 bitWithinSlotIndex I
MethodParameters:
Name Flags
slotIndex
bitWithinSlotIndex
public void atPutGrow(int, int, boolean);
descriptor: (IIZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.graalvm.compiler.core.common.util.BitMap2D.sizeInSlots:()I
istore 4
start local 4 1: iload 4
iload 1
if_icmpgt 8
2: goto 4
3: StackMap locals: int
StackMap stack:
iload 4
iconst_2
imul
istore 4
4: StackMap locals:
StackMap stack:
iload 4
iload 1
if_icmple 3
5: new java.util.BitSet
dup
iload 4
aload 0
getfield org.graalvm.compiler.core.common.util.BitMap2D.bitsPerSlot:I
imul
invokespecial java.util.BitSet.<init>:(I)V
astore 5
start local 5 6: aload 5
aload 0
getfield org.graalvm.compiler.core.common.util.BitMap2D.map:Ljava/util/BitSet;
invokevirtual java.util.BitSet.or:(Ljava/util/BitSet;)V
7: aload 0
aload 5
putfield org.graalvm.compiler.core.common.util.BitMap2D.map:Ljava/util/BitSet;
end local 5 8: StackMap locals:
StackMap stack:
iload 3
ifeq 11
9: aload 0
iload 1
iload 2
invokevirtual org.graalvm.compiler.core.common.util.BitMap2D.setBit:(II)V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokevirtual org.graalvm.compiler.core.common.util.BitMap2D.clearBit:(II)V
12: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/core/common/util/BitMap2D;
0 13 1 slotIndex I
0 13 2 bitWithinSlotIndex I
0 13 3 value Z
1 13 4 size I
6 8 5 newBitMap Ljava/util/BitSet;
MethodParameters:
Name Flags
slotIndex
bitWithinSlotIndex
value
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.common.util.BitMap2D.map:Ljava/util/BitSet;
invokevirtual java.util.BitSet.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/common/util/BitMap2D;
}
SourceFile: "BitMap2D.java"