public final class jdk.jfr.internal.LongMap<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.LongMap
super_class: java.lang.Object
{
private static final int MAXIMUM_CAPACITY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1073741824
private static final long[] EMPTY_KEYS;
descriptor: [J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.Object[] EMPTY_OBJECTS;
descriptor: [Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int DEFAULT_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 32
private static final java.lang.Object NULL_OBJECT;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final int bitCount;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.BitSet bitSet;
descriptor: Ljava/util/BitSet;
flags: (0x0002) ACC_PRIVATE
private long[] keys;
descriptor: [J
flags: (0x0002) ACC_PRIVATE
private T[] objects;
descriptor: [Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: [TT;
private int count;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int shift;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_0
newarray 11
putstatic jdk.jfr.internal.LongMap.EMPTY_KEYS:[J
1: iconst_0
anewarray java.lang.Object
putstatic jdk.jfr.internal.LongMap.EMPTY_OBJECTS:[Ljava/lang/Object;
2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic jdk.jfr.internal.LongMap.NULL_OBJECT:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic jdk.jfr.internal.LongMap.EMPTY_KEYS:[J
putfield jdk.jfr.internal.LongMap.keys:[J
2: aload 0
getstatic jdk.jfr.internal.LongMap.EMPTY_OBJECTS:[Ljava/lang/Object;
putfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
3: aload 0
iconst_0
putfield jdk.jfr.internal.LongMap.bitCount:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jfr/internal/LongMap<TT;>;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic jdk.jfr.internal.LongMap.EMPTY_KEYS:[J
putfield jdk.jfr.internal.LongMap.keys:[J
2: aload 0
getstatic jdk.jfr.internal.LongMap.EMPTY_OBJECTS:[Ljava/lang/Object;
putfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
3: aload 0
iload 1
putfield jdk.jfr.internal.LongMap.bitCount:I
4: aload 0
new java.util.BitSet
dup
invokespecial java.util.BitSet.<init>:()V
putfield jdk.jfr.internal.LongMap.bitSet:Ljava/util/BitSet;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/LongMap<TT;>;
0 6 1 markBits I
MethodParameters:
Name Flags
markBits
private void initialize(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
newarray 11
putfield jdk.jfr.internal.LongMap.keys:[J
1: aload 0
iload 1
anewarray java.lang.Object
putfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
2: aload 0
bipush 64
bipush 31
iload 1
invokestatic java.lang.Integer.numberOfLeadingZeros:(I)I
isub
isub
putfield jdk.jfr.internal.LongMap.shift:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/LongMap<TT;>;
0 4 1 capacity I
MethodParameters:
Name Flags
capacity
public void claimBits();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
aload 0
getfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
arraylength
iconst_1
isub
aload 0
getfield jdk.jfr.internal.LongMap.bitCount:I
iconst_1
isub
invokevirtual jdk.jfr.internal.LongMap.bitSetIndex:(II)I
istore 1
start local 1 1: aload 0
getfield jdk.jfr.internal.LongMap.bitSet:Ljava/util/BitSet;
iload 1
invokevirtual java.util.BitSet.flip:(I)V
2: aload 0
getfield jdk.jfr.internal.LongMap.bitSet:Ljava/util/BitSet;
iload 1
invokevirtual java.util.BitSet.flip:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/LongMap<TT;>;
1 4 1 lastBit I
public void setId(long, int);
descriptor: (JI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
aload 0
lload 1
invokevirtual jdk.jfr.internal.LongMap.tableIndexOf:(J)I
iload 3
invokevirtual jdk.jfr.internal.LongMap.bitSetIndex:(II)I
istore 4
start local 4 1: aload 0
getfield jdk.jfr.internal.LongMap.bitSet:Ljava/util/BitSet;
iload 4
iconst_1
invokevirtual java.util.BitSet.set:(IZ)V
2: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/LongMap<TT;>;
0 3 1 id J
0 3 3 bitIndex I
1 3 4 bitSetIndex I
MethodParameters:
Name Flags
id
bitIndex
public void clearId(long, int);
descriptor: (JI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
aload 0
lload 1
invokevirtual jdk.jfr.internal.LongMap.tableIndexOf:(J)I
iload 3
invokevirtual jdk.jfr.internal.LongMap.bitSetIndex:(II)I
istore 4
start local 4 1: aload 0
getfield jdk.jfr.internal.LongMap.bitSet:Ljava/util/BitSet;
iload 4
iconst_0
invokevirtual java.util.BitSet.set:(IZ)V
2: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/LongMap<TT;>;
0 3 1 id J
0 3 3 bitIndex I
1 3 4 bitSetIndex I
MethodParameters:
Name Flags
id
bitIndex
public void clearId(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 0
lload 1
invokevirtual jdk.jfr.internal.LongMap.tableIndexOf:(J)I
iconst_0
invokevirtual jdk.jfr.internal.LongMap.bitSetIndex:(II)I
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 5
3: StackMap locals: int int
StackMap stack:
aload 0
getfield jdk.jfr.internal.LongMap.bitSet:Ljava/util/BitSet;
iload 3
iload 4
iadd
iconst_0
invokevirtual java.util.BitSet.set:(IZ)V
4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
aload 0
getfield jdk.jfr.internal.LongMap.bitCount:I
if_icmplt 3
end local 4 6: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/jfr/internal/LongMap<TT;>;
0 7 1 id J
1 7 3 bitSetIndex I
2 6 4 i I
MethodParameters:
Name Flags
id
public boolean isSetId(long, int);
descriptor: (JI)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
aload 0
lload 1
invokevirtual jdk.jfr.internal.LongMap.tableIndexOf:(J)I
iload 3
invokevirtual jdk.jfr.internal.LongMap.bitSetIndex:(II)I
istore 4
start local 4 1: aload 0
getfield jdk.jfr.internal.LongMap.bitSet:Ljava/util/BitSet;
iload 4
invokevirtual java.util.BitSet.get:(I)Z
ireturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/LongMap<TT;>;
0 2 1 id J
0 2 3 bitIndex I
1 2 4 bitSetIndex I
MethodParameters:
Name Flags
id
bitIndex
private int bitSetIndex(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: aload 0
getfield jdk.jfr.internal.LongMap.bitCount:I
iload 1
imul
iload 2
iadd
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/LongMap<TT;>;
0 1 1 tableIndex I
0 1 2 bitIndex I
MethodParameters:
Name Flags
tableIndex
bitIndex
private int tableIndexOf(long);
descriptor: (J)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual jdk.jfr.internal.LongMap.index:(J)I
istore 3
start local 3 1: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
iload 3
aaload
ifnonnull 3
2: new java.lang.InternalError
dup
ldc "Unknown id"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
iload 3
laload
lload 1
lcmp
ifne 5
4: iload 3
ireturn
5: StackMap locals:
StackMap stack:
iinc 3 1
6: iload 3
aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
arraylength
if_icmpne 1
7: iconst_0
istore 3
8: goto 1
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/jfr/internal/LongMap<TT;>;
0 9 1 id J
1 9 3 index I
MethodParameters:
Name Flags
id
public boolean hasKey(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
getstatic jdk.jfr.internal.LongMap.EMPTY_KEYS:[J
if_acmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual jdk.jfr.internal.LongMap.index:(J)I
istore 3
start local 3 3: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
iload 3
aaload
ifnonnull 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
iload 3
laload
lload 1
lcmp
ifne 7
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
iinc 3 1
8: iload 3
aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
arraylength
if_icmpne 3
9: iconst_0
istore 3
10: goto 3
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/jfr/internal/LongMap<TT;>;
0 11 1 id J
3 11 3 index I
MethodParameters:
Name Flags
id
public void expand(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: iconst_4
iload 1
imul
iconst_3
idiv
istore 2
start local 2 1: iload 2
aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
arraylength
if_icmpgt 3
2: return
3: StackMap locals: int
StackMap stack:
iload 2
invokestatic jdk.jfr.internal.LongMap.tableSizeFor:(I)I
istore 3
start local 3 4: new jdk.jfr.internal.LongMap
dup
aload 0
getfield jdk.jfr.internal.LongMap.bitCount:I
invokespecial jdk.jfr.internal.LongMap.<init>:(I)V
astore 4
start local 4 5: aload 4
iload 3
invokevirtual jdk.jfr.internal.LongMap.initialize:(I)V
6: aload 0
getfield jdk.jfr.internal.LongMap.bitCount:I
ifle 9
aload 0
getfield jdk.jfr.internal.LongMap.bitSet:Ljava/util/BitSet;
invokevirtual java.util.BitSet.isEmpty:()Z
ifne 9
7: aload 4
invokevirtual jdk.jfr.internal.LongMap.claimBits:()V
8: aload 0
invokevirtual jdk.jfr.internal.LongMap.claimBits:()V
9: StackMap locals: int jdk.jfr.internal.LongMap
StackMap stack:
iconst_0
istore 5
start local 5 10: goto 24
11: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
iload 5
aaload
astore 6
start local 6 12: aload 6
ifnull 23
13: aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
iload 5
laload
lstore 7
start local 7 14: aload 4
lload 7
aload 6
invokevirtual jdk.jfr.internal.LongMap.put:(JLjava/lang/Object;)V
15: aload 0
getfield jdk.jfr.internal.LongMap.bitCount:I
ifeq 23
16: iconst_0
istore 9
start local 9 17: goto 22
18: StackMap locals: java.lang.Object long int
StackMap stack:
aload 0
lload 7
iload 9
invokevirtual jdk.jfr.internal.LongMap.isSetId:(JI)Z
istore 10
start local 10 19: iload 10
ifeq 21
20: aload 4
lload 7
iload 9
invokevirtual jdk.jfr.internal.LongMap.setId:(JI)V
end local 10 21: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
22: iload 9
aload 0
getfield jdk.jfr.internal.LongMap.bitCount:I
if_icmplt 18
end local 9 end local 7 end local 6 23: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
24: iload 5
aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
arraylength
if_icmplt 11
end local 5 25: aload 0
aload 4
getfield jdk.jfr.internal.LongMap.keys:[J
putfield jdk.jfr.internal.LongMap.keys:[J
26: aload 0
aload 4
getfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
putfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
27: aload 0
aload 4
getfield jdk.jfr.internal.LongMap.shift:I
putfield jdk.jfr.internal.LongMap.shift:I
28: aload 0
aload 4
getfield jdk.jfr.internal.LongMap.bitSet:Ljava/util/BitSet;
putfield jdk.jfr.internal.LongMap.bitSet:Ljava/util/BitSet;
29: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Ljdk/jfr/internal/LongMap<TT;>;
0 30 1 size I
1 30 2 l I
4 30 3 n I
5 30 4 temp Ljdk/jfr/internal/LongMap<TT;>;
10 25 5 tIndex I
12 23 6 o TT;
14 23 7 key J
17 23 9 bIndex I
19 21 10 bitValue Z
MethodParameters:
Name Flags
size
public void put(long, );
descriptor: (JLjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
getstatic jdk.jfr.internal.LongMap.EMPTY_KEYS:[J
if_acmpne 2
1: aload 0
bipush 32
invokevirtual jdk.jfr.internal.LongMap.initialize:(I)V
2: StackMap locals:
StackMap stack:
aload 3
ifnonnull 4
3: getstatic jdk.jfr.internal.LongMap.NULL_OBJECT:Ljava/lang/Object;
astore 3
4: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual jdk.jfr.internal.LongMap.index:(J)I
istore 4
start local 4 5: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
iload 4
aaload
ifnonnull 12
6: aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
iload 4
lload 1
lastore
7: aload 0
getfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
iload 4
aload 3
aastore
8: aload 0
dup
getfield jdk.jfr.internal.LongMap.count:I
iconst_1
iadd
putfield jdk.jfr.internal.LongMap.count:I
9: aload 0
getfield jdk.jfr.internal.LongMap.count:I
iconst_3
aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
arraylength
imul
iconst_4
idiv
if_icmple 11
10: aload 0
iconst_2
aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
arraylength
imul
invokevirtual jdk.jfr.internal.LongMap.expand:(I)V
11: StackMap locals:
StackMap stack:
return
12: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
iload 4
laload
lload 1
lcmp
ifne 15
13: aload 0
getfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
iload 4
aload 3
aastore
14: return
15: StackMap locals:
StackMap stack:
iinc 4 1
16: iload 4
aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
arraylength
if_icmpne 5
17: iconst_0
istore 4
18: goto 5
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/jfr/internal/LongMap<TT;>;
0 19 1 id J
0 19 3 object TT;
5 19 4 index I
Signature: (JTT;)V
MethodParameters:
Name Flags
id
object
public T getAt();
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
iload 1
aaload
astore 2
start local 2 1: aload 2
getstatic jdk.jfr.internal.LongMap.NULL_OBJECT:Ljava/lang/Object;
if_acmpne 2
aconst_null
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: aload 2
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/LongMap<TT;>;
0 4 1 tableIndex I
1 4 2 o TT;
Signature: (I)TT;
MethodParameters:
Name Flags
tableIndex
public T get();
descriptor: (J)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
getstatic jdk.jfr.internal.LongMap.EMPTY_KEYS:[J
if_acmpne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual jdk.jfr.internal.LongMap.index:(J)I
istore 3
start local 3 3: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
iload 3
aaload
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
iload 3
laload
lload 1
lcmp
ifne 7
6: aload 0
iload 3
invokevirtual jdk.jfr.internal.LongMap.getAt:(I)Ljava/lang/Object;
areturn
7: StackMap locals:
StackMap stack:
iinc 3 1
8: iload 3
aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
arraylength
if_icmpne 3
9: iconst_0
istore 3
10: goto 3
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/jfr/internal/LongMap<TT;>;
0 11 1 id J
3 11 3 index I
Signature: (J)TT;
MethodParameters:
Name Flags
id
private int index(long);
descriptor: (J)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
ldc -7046029254386353131
lmul
aload 0
getfield jdk.jfr.internal.LongMap.shift:I
lushr
l2i
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/LongMap<TT;>;
0 1 1 id J
MethodParameters:
Name Flags
id
private static final int tableSizeFor(int);
descriptor: (I)I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=1
start local 0 0: iconst_m1
iload 0
iconst_1
isub
invokestatic java.lang.Integer.numberOfLeadingZeros:(I)I
iushr
istore 1
start local 1 1: iload 1
ifge 2
iconst_1
goto 4
StackMap locals: int
StackMap stack:
2: iload 1
ldc 1073741824
if_icmplt 3
ldc 1073741824
goto 4
StackMap locals:
StackMap stack:
3: iload 1
iconst_1
iadd
StackMap locals:
StackMap stack: int
4: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 cap I
1 5 1 n I
MethodParameters:
Name Flags
cap
public void forEachKey(java.util.function.LongConsumer);
descriptor: (Ljava/util/function/LongConsumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
iload 2
aaload
ifnull 4
3: aload 1
aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
iload 2
laload
invokeinterface java.util.function.LongConsumer.accept:(J)V
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
arraylength
if_icmplt 2
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/jfr/internal/LongMap<TT;>;
0 7 1 keyTraverser Ljava/util/function/LongConsumer;
1 6 2 i I
MethodParameters:
Name Flags
keyTraverser
public void forEach(java.util.function.Consumer<T>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
iload 2
aaload
astore 3
start local 3 3: aload 3
ifnull 5
4: aload 1
aload 3
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
end local 3 5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
arraylength
if_icmplt 2
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jfr/internal/LongMap<TT;>;
0 8 1 consumer Ljava/util/function/Consumer<TT;>;
1 7 2 i I
3 5 3 o TT;
Signature: (Ljava/util/function/Consumer<TT;>;)V
MethodParameters:
Name Flags
consumer
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.LongMap.count:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/LongMap<TT;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 10
3: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
4: aload 1
ldc ": id="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 1
aload 0
getfield jdk.jfr.internal.LongMap.keys:[J
iload 2
laload
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
6: aload 1
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 1
aload 0
getfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
iload 2
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
8: aload 1
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
aload 0
getfield jdk.jfr.internal.LongMap.objects:[Ljava/lang/Object;
arraylength
if_icmplt 3
end local 2 11: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/jfr/internal/LongMap<TT;>;
1 12 1 sb Ljava/lang/StringBuilder;
2 11 2 i I
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "LongMap.java"