public class org.eclipse.jdt.internal.compiler.codegen.LongCache
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jdt.internal.compiler.codegen.LongCache
super_class: java.lang.Object
{
public long[] keyTable;
descriptor: [J
flags: (0x0001) ACC_PUBLIC
public int[] valueTable;
descriptor: [I
flags: (0x0001) ACC_PUBLIC
int elementSize;
descriptor: I
flags: (0x0000)
int threshold;
descriptor: I
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 13
invokespecial org.eclipse.jdt.internal.compiler.codegen.LongCache.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jdt/internal/compiler/codegen/LongCache;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.eclipse.jdt.internal.compiler.codegen.LongCache.elementSize:I
2: aload 0
iload 1
i2d
ldc 0.66
dmul
d2i
putfield org.eclipse.jdt.internal.compiler.codegen.LongCache.threshold:I
3: aload 0
iload 1
newarray 11
putfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
4: aload 0
iload 1
newarray 10
putfield org.eclipse.jdt.internal.compiler.codegen.LongCache.valueTable:[I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jdt/internal/compiler/codegen/LongCache;
0 6 1 initialCapacity I
MethodParameters:
Name Flags
initialCapacity
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
arraylength
istore 1
start local 1 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
iload 1
lconst_0
lastore
3: aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.valueTable:[I
iload 1
iconst_0
iastore
4: StackMap locals:
StackMap stack:
iinc 1 -1
iload 1
ifge 2
end local 1 5: aload 0
iconst_0
putfield org.eclipse.jdt.internal.compiler.codegen.LongCache.elementSize:I
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jdt/internal/compiler/codegen/LongCache;
1 5 1 i I
public boolean containsKey(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual org.eclipse.jdt.internal.compiler.codegen.LongCache.hash:(J)I
istore 3
start local 3 1: aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
arraylength
istore 4
start local 4 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
iload 3
laload
lload 1
lcmp
ifne 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iinc 3 1
iload 3
iload 4
if_icmpne 7
6: iconst_0
istore 3
7: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
iload 3
laload
lconst_0
lcmp
ifne 3
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
iload 3
laload
lconst_0
lcmp
ifne 8
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.valueTable:[I
iload 3
iaload
ifne 3
8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jdt/internal/compiler/codegen/LongCache;
0 9 1 key J
1 9 3 index I
2 9 4 length I
MethodParameters:
Name Flags
key
public int hash(long);
descriptor: (J)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: lload 1
l2i
ldc 2147483647
iand
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
arraylength
irem
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jdt/internal/compiler/codegen/LongCache;
0 1 1 key J
MethodParameters:
Name Flags
key
public int put(long, int);
descriptor: (JI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
invokevirtual org.eclipse.jdt.internal.compiler.codegen.LongCache.hash:(J)I
istore 4
start local 4 1: aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
arraylength
istore 5
start local 5 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
iload 4
laload
lload 1
lcmp
ifne 5
4: aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.valueTable:[I
iload 4
iload 3
dup_x2
iastore
ireturn
5: StackMap locals:
StackMap stack:
iinc 4 1
iload 4
iload 5
if_icmpne 7
6: iconst_0
istore 4
7: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
iload 4
laload
lconst_0
lcmp
ifne 3
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
iload 4
laload
lconst_0
lcmp
ifne 8
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.valueTable:[I
iload 4
iaload
ifne 3
8: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
iload 4
lload 1
lastore
9: aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.valueTable:[I
iload 4
iload 3
iastore
10: aload 0
dup
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.elementSize:I
iconst_1
iadd
dup_x1
putfield org.eclipse.jdt.internal.compiler.codegen.LongCache.elementSize:I
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.threshold:I
if_icmple 12
11: aload 0
invokevirtual org.eclipse.jdt.internal.compiler.codegen.LongCache.rehash:()V
12: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/jdt/internal/compiler/codegen/LongCache;
0 13 1 key J
0 13 3 value I
1 13 4 index I
2 13 5 length I
MethodParameters:
Name Flags
key
value
public int putIfAbsent(long, int);
descriptor: (JI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
invokevirtual org.eclipse.jdt.internal.compiler.codegen.LongCache.hash:(J)I
istore 4
start local 4 1: aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
arraylength
istore 5
start local 5 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
iload 4
laload
lload 1
lcmp
ifne 5
4: aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.valueTable:[I
iload 4
iaload
ireturn
5: StackMap locals:
StackMap stack:
iinc 4 1
iload 4
iload 5
if_icmpne 7
6: iconst_0
istore 4
7: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
iload 4
laload
lconst_0
lcmp
ifne 3
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
iload 4
laload
lconst_0
lcmp
ifne 8
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.valueTable:[I
iload 4
iaload
ifne 3
8: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
iload 4
lload 1
lastore
9: aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.valueTable:[I
iload 4
iload 3
iastore
10: aload 0
dup
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.elementSize:I
iconst_1
iadd
dup_x1
putfield org.eclipse.jdt.internal.compiler.codegen.LongCache.elementSize:I
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.threshold:I
if_icmple 12
11: aload 0
invokevirtual org.eclipse.jdt.internal.compiler.codegen.LongCache.rehash:()V
12: StackMap locals:
StackMap stack:
iload 3
ineg
ireturn
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/jdt/internal/compiler/codegen/LongCache;
0 13 1 key J
0 13 3 value I
1 13 4 index I
2 13 5 length I
MethodParameters:
Name Flags
key
value
private void rehash();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=1
start local 0 0: new org.eclipse.jdt.internal.compiler.codegen.LongCache
dup
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
arraylength
iconst_2
imul
invokespecial org.eclipse.jdt.internal.compiler.codegen.LongCache.<init>:(I)V
astore 1
start local 1 1: aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
arraylength
istore 2
start local 2 2: goto 7
3: StackMap locals: org.eclipse.jdt.internal.compiler.codegen.LongCache int
StackMap stack:
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
iload 2
laload
lstore 3
start local 3 4: aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.valueTable:[I
iload 2
iaload
istore 5
start local 5 5: lload 3
lconst_0
lcmp
ifne 6
lload 3
lconst_0
lcmp
ifne 7
iload 5
ifeq 7
6: StackMap locals: long int
StackMap stack:
aload 1
lload 3
iload 5
invokevirtual org.eclipse.jdt.internal.compiler.codegen.LongCache.put:(JI)I
pop
end local 5 end local 3 7: StackMap locals:
StackMap stack:
iinc 2 -1
iload 2
ifge 3
end local 2 8: aload 0
aload 1
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
putfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
9: aload 0
aload 1
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.valueTable:[I
putfield org.eclipse.jdt.internal.compiler.codegen.LongCache.valueTable:[I
10: aload 0
aload 1
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.threshold:I
putfield org.eclipse.jdt.internal.compiler.codegen.LongCache.threshold:I
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jdt/internal/compiler/codegen/LongCache;
1 12 1 newHashtable Lorg/eclipse/jdt/internal/compiler/codegen/LongCache;
2 8 2 i I
4 7 3 key J
5 7 5 value I
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.elementSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jdt/internal/compiler/codegen/LongCache;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jdt.internal.compiler.codegen.LongCache.size:()I
istore 1
start local 1 1: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 2
start local 2 2: aload 2
ldc "{"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
3: iconst_0
istore 3
start local 3 4: goto 10
5: StackMap locals: int java.lang.StringBuffer int
StackMap stack:
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
iload 3
laload
lconst_0
lcmp
ifne 6
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
iload 3
laload
lconst_0
lcmp
ifne 7
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.valueTable:[I
iload 3
iaload
ifeq 7
6: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.keyTable:[J
iload 3
laload
invokevirtual java.lang.StringBuffer.append:(J)Ljava/lang/StringBuffer;
ldc "->"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
aload 0
getfield org.eclipse.jdt.internal.compiler.codegen.LongCache.valueTable:[I
iload 3
iaload
invokevirtual java.lang.StringBuffer.append:(I)Ljava/lang/StringBuffer;
pop
7: StackMap locals:
StackMap stack:
iload 3
iload 1
if_icmpge 9
8: aload 2
ldc ", "
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 1
if_icmplt 5
end local 3 11: aload 2
ldc "}"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
12: aload 2
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/jdt/internal/compiler/codegen/LongCache;
1 13 1 max I
2 13 2 buf Ljava/lang/StringBuffer;
4 11 3 i I
}
SourceFile: "LongCache.java"