class java.lang.ThreadLocal$ThreadLocalMap
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: java.lang.ThreadLocal$ThreadLocalMap
super_class: java.lang.Object
{
private static final int INITIAL_CAPACITY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
private java.lang.ThreadLocal$ThreadLocalMap$Entry[] table;
descriptor: [Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
flags: (0x0002) ACC_PRIVATE
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int threshold;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private void setThreshold(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_2
imul
iconst_3
idiv
putfield java.lang.ThreadLocal$ThreadLocalMap.threshold:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/ThreadLocal$ThreadLocalMap;
0 2 1 len I
MethodParameters:
Name Flags
len
private static int nextIndex(int, int);
descriptor: (II)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iconst_1
iadd
iload 1
if_icmpge 1
iload 0
iconst_1
iadd
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 i I
0 3 1 len I
MethodParameters:
Name Flags
i
len
private static int prevIndex(int, int);
descriptor: (II)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iconst_1
isub
iflt 1
iload 0
iconst_1
isub
goto 2
StackMap locals:
StackMap stack:
1: iload 1
iconst_1
isub
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 i I
0 3 1 len I
MethodParameters:
Name Flags
i
len
void <init>(java.lang.ThreadLocal<?>, );
descriptor: (Ljava/lang/ThreadLocal;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield java.lang.ThreadLocal$ThreadLocalMap.size:I
2: aload 0
bipush 16
anewarray java.lang.ThreadLocal$ThreadLocalMap$Entry
putfield java.lang.ThreadLocal$ThreadLocalMap.table:[Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
3: aload 1
getfield java.lang.ThreadLocal.threadLocalHashCode:I
bipush 15
iand
istore 3
start local 3 4: aload 0
getfield java.lang.ThreadLocal$ThreadLocalMap.table:[Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
iload 3
new java.lang.ThreadLocal$ThreadLocalMap$Entry
dup
aload 1
aload 2
invokespecial java.lang.ThreadLocal$ThreadLocalMap$Entry.<init>:(Ljava/lang/ThreadLocal;Ljava/lang/Object;)V
aastore
5: aload 0
iconst_1
putfield java.lang.ThreadLocal$ThreadLocalMap.size:I
6: aload 0
bipush 16
invokevirtual java.lang.ThreadLocal$ThreadLocalMap.setThreshold:(I)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/lang/ThreadLocal$ThreadLocalMap;
0 8 1 firstKey Ljava/lang/ThreadLocal<*>;
0 8 2 firstValue Ljava/lang/Object;
4 8 3 i I
Signature: (Ljava/lang/ThreadLocal<*>;Ljava/lang/Object;)V
MethodParameters:
Name Flags
firstKey
firstValue
private void <init>(java.lang.ThreadLocal$ThreadLocalMap);
descriptor: (Ljava/lang/ThreadLocal$ThreadLocalMap;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=12, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield java.lang.ThreadLocal$ThreadLocalMap.size:I
2: aload 1
getfield java.lang.ThreadLocal$ThreadLocalMap.table:[Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
astore 2
start local 2 3: aload 2
arraylength
istore 3
start local 3 4: aload 0
iload 3
invokevirtual java.lang.ThreadLocal$ThreadLocalMap.setThreshold:(I)V
5: aload 0
iload 3
anewarray java.lang.ThreadLocal$ThreadLocalMap$Entry
putfield java.lang.ThreadLocal$ThreadLocalMap.table:[Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
6: aload 2
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 20
StackMap locals: java.lang.ThreadLocal$ThreadLocalMap java.lang.ThreadLocal$ThreadLocalMap java.lang.ThreadLocal$ThreadLocalMap$Entry[] int top int int java.lang.ThreadLocal$ThreadLocalMap$Entry[]
StackMap stack:
7: aload 7
iload 5
aaload
astore 4
start local 4 8: aload 4
ifnull 19
9: aload 4
invokevirtual java.lang.ThreadLocal$ThreadLocalMap$Entry.get:()Ljava/lang/Object;
checkcast java.lang.ThreadLocal
astore 8
start local 8 10: aload 8
ifnull 19
11: aload 8
aload 4
getfield java.lang.ThreadLocal$ThreadLocalMap$Entry.value:Ljava/lang/Object;
invokevirtual java.lang.ThreadLocal.childValue:(Ljava/lang/Object;)Ljava/lang/Object;
astore 9
start local 9 12: new java.lang.ThreadLocal$ThreadLocalMap$Entry
dup
aload 8
aload 9
invokespecial java.lang.ThreadLocal$ThreadLocalMap$Entry.<init>:(Ljava/lang/ThreadLocal;Ljava/lang/Object;)V
astore 10
start local 10 13: aload 8
getfield java.lang.ThreadLocal.threadLocalHashCode:I
iload 3
iconst_1
isub
iand
istore 11
start local 11 14: goto 16
15: StackMap locals: java.lang.ThreadLocal$ThreadLocalMap java.lang.ThreadLocal$ThreadLocalMap java.lang.ThreadLocal$ThreadLocalMap$Entry[] int java.lang.ThreadLocal$ThreadLocalMap$Entry int int java.lang.ThreadLocal$ThreadLocalMap$Entry[] java.lang.ThreadLocal java.lang.Object java.lang.ThreadLocal$ThreadLocalMap$Entry int
StackMap stack:
iload 11
iload 3
invokestatic java.lang.ThreadLocal$ThreadLocalMap.nextIndex:(II)I
istore 11
16: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.ThreadLocal$ThreadLocalMap.table:[Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
iload 11
aaload
ifnonnull 15
17: aload 0
getfield java.lang.ThreadLocal$ThreadLocalMap.table:[Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
iload 11
aload 10
aastore
18: aload 0
dup
getfield java.lang.ThreadLocal$ThreadLocalMap.size:I
iconst_1
iadd
putfield java.lang.ThreadLocal$ThreadLocalMap.size:I
end local 11 end local 10 end local 9 end local 8 end local 4 19: StackMap locals: java.lang.ThreadLocal$ThreadLocalMap java.lang.ThreadLocal$ThreadLocalMap java.lang.ThreadLocal$ThreadLocalMap$Entry[] int top int int java.lang.ThreadLocal$ThreadLocalMap$Entry[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
20: iload 5
iload 6
if_icmplt 7
21: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljava/lang/ThreadLocal$ThreadLocalMap;
0 22 1 parentMap Ljava/lang/ThreadLocal$ThreadLocalMap;
3 22 2 parentTable [Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
4 22 3 len I
8 19 4 e Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
10 19 8 key Ljava/lang/ThreadLocal<Ljava/lang/Object;>;
12 19 9 value Ljava/lang/Object;
13 19 10 c Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
14 19 11 h I
MethodParameters:
Name Flags
parentMap
private java.lang.ThreadLocal$ThreadLocalMap$Entry getEntry(java.lang.ThreadLocal<?>);
descriptor: (Ljava/lang/ThreadLocal;)Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield java.lang.ThreadLocal.threadLocalHashCode:I
aload 0
getfield java.lang.ThreadLocal$ThreadLocalMap.table:[Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
arraylength
iconst_1
isub
iand
istore 2
start local 2 1: aload 0
getfield java.lang.ThreadLocal$ThreadLocalMap.table:[Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
iload 2
aaload
astore 3
start local 3 2: aload 3
ifnull 4
aload 3
invokevirtual java.lang.ThreadLocal$ThreadLocalMap$Entry.get:()Ljava/lang/Object;
aload 1
if_acmpne 4
3: aload 3
areturn
4: StackMap locals: int java.lang.ThreadLocal$ThreadLocalMap$Entry
StackMap stack:
aload 0
aload 1
iload 2
aload 3
invokevirtual java.lang.ThreadLocal$ThreadLocalMap.getEntryAfterMiss:(Ljava/lang/ThreadLocal;ILjava/lang/ThreadLocal$ThreadLocalMap$Entry;)Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/lang/ThreadLocal$ThreadLocalMap;
0 5 1 key Ljava/lang/ThreadLocal<*>;
1 5 2 i I
2 5 3 e Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
Signature: (Ljava/lang/ThreadLocal<*>;)Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
MethodParameters:
Name Flags
key
private java.lang.ThreadLocal$ThreadLocalMap$Entry getEntryAfterMiss(java.lang.ThreadLocal<?>, int, java.lang.ThreadLocal$ThreadLocalMap$Entry);
descriptor: (Ljava/lang/ThreadLocal;ILjava/lang/ThreadLocal$ThreadLocalMap$Entry;)Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield java.lang.ThreadLocal$ThreadLocalMap.table:[Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
astore 4
start local 4 1: aload 4
arraylength
istore 5
start local 5 2: goto 10
3: StackMap locals: java.lang.ThreadLocal$ThreadLocalMap$Entry[] int
StackMap stack:
aload 3
invokevirtual java.lang.ThreadLocal$ThreadLocalMap$Entry.get:()Ljava/lang/Object;
checkcast java.lang.ThreadLocal
astore 6
start local 6 4: aload 6
aload 1
if_acmpne 6
5: aload 3
areturn
6: StackMap locals: java.lang.ThreadLocal
StackMap stack:
aload 6
ifnonnull 8
7: aload 0
iload 2
invokevirtual java.lang.ThreadLocal$ThreadLocalMap.expungeStaleEntry:(I)I
pop
goto 9
8: StackMap locals:
StackMap stack:
iload 2
iload 5
invokestatic java.lang.ThreadLocal$ThreadLocalMap.nextIndex:(II)I
istore 2
9: StackMap locals:
StackMap stack:
aload 4
iload 2
aaload
astore 3
end local 6 10: StackMap locals:
StackMap stack:
aload 3
ifnonnull 3
11: aconst_null
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/lang/ThreadLocal$ThreadLocalMap;
0 12 1 key Ljava/lang/ThreadLocal<*>;
0 12 2 i I
0 12 3 e Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
1 12 4 tab [Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
2 12 5 len I
4 10 6 k Ljava/lang/ThreadLocal<*>;
Signature: (Ljava/lang/ThreadLocal<*>;ILjava/lang/ThreadLocal$ThreadLocalMap$Entry;)Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
MethodParameters:
Name Flags
key
i
e
private void set(java.lang.ThreadLocal<?>, );
descriptor: (Ljava/lang/ThreadLocal;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield java.lang.ThreadLocal$ThreadLocalMap.table:[Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
astore 3
start local 3 1: aload 3
arraylength
istore 4
start local 4 2: aload 1
getfield java.lang.ThreadLocal.threadLocalHashCode:I
iload 4
iconst_1
isub
iand
istore 5
start local 5 3: aload 3
iload 5
aaload
astore 6
start local 6 4: goto 13
5: StackMap locals: java.lang.ThreadLocal$ThreadLocalMap java.lang.ThreadLocal java.lang.Object java.lang.ThreadLocal$ThreadLocalMap$Entry[] int int java.lang.ThreadLocal$ThreadLocalMap$Entry
StackMap stack:
aload 6
invokevirtual java.lang.ThreadLocal$ThreadLocalMap$Entry.get:()Ljava/lang/Object;
checkcast java.lang.ThreadLocal
astore 7
start local 7 6: aload 7
aload 1
if_acmpne 9
7: aload 6
aload 2
putfield java.lang.ThreadLocal$ThreadLocalMap$Entry.value:Ljava/lang/Object;
8: return
9: StackMap locals: java.lang.ThreadLocal
StackMap stack:
aload 7
ifnonnull 12
10: aload 0
aload 1
aload 2
iload 5
invokevirtual java.lang.ThreadLocal$ThreadLocalMap.replaceStaleEntry:(Ljava/lang/ThreadLocal;Ljava/lang/Object;I)V
11: return
end local 7 12: StackMap locals:
StackMap stack:
aload 3
iload 5
iload 4
invokestatic java.lang.ThreadLocal$ThreadLocalMap.nextIndex:(II)I
dup
istore 5
aaload
astore 6
13: StackMap locals:
StackMap stack:
aload 6
ifnonnull 5
end local 6 14: aload 3
iload 5
new java.lang.ThreadLocal$ThreadLocalMap$Entry
dup
aload 1
aload 2
invokespecial java.lang.ThreadLocal$ThreadLocalMap$Entry.<init>:(Ljava/lang/ThreadLocal;Ljava/lang/Object;)V
aastore
15: aload 0
dup
getfield java.lang.ThreadLocal$ThreadLocalMap.size:I
iconst_1
iadd
dup_x1
putfield java.lang.ThreadLocal$ThreadLocalMap.size:I
istore 6
start local 6 16: aload 0
iload 5
iload 6
invokevirtual java.lang.ThreadLocal$ThreadLocalMap.cleanSomeSlots:(II)Z
ifne 18
iload 6
aload 0
getfield java.lang.ThreadLocal$ThreadLocalMap.threshold:I
if_icmplt 18
17: aload 0
invokevirtual java.lang.ThreadLocal$ThreadLocalMap.rehash:()V
18: StackMap locals: java.lang.ThreadLocal$ThreadLocalMap java.lang.ThreadLocal java.lang.Object java.lang.ThreadLocal$ThreadLocalMap$Entry[] int int int
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljava/lang/ThreadLocal$ThreadLocalMap;
0 19 1 key Ljava/lang/ThreadLocal<*>;
0 19 2 value Ljava/lang/Object;
1 19 3 tab [Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
2 19 4 len I
3 19 5 i I
4 14 6 e Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
6 12 7 k Ljava/lang/ThreadLocal<*>;
16 19 6 sz I
Signature: (Ljava/lang/ThreadLocal<*>;Ljava/lang/Object;)V
MethodParameters:
Name Flags
key
value
private void remove(java.lang.ThreadLocal<?>);
descriptor: (Ljava/lang/ThreadLocal;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield java.lang.ThreadLocal$ThreadLocalMap.table:[Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
astore 2
start local 2 1: aload 2
arraylength
istore 3
start local 3 2: aload 1
getfield java.lang.ThreadLocal.threadLocalHashCode:I
iload 3
iconst_1
isub
iand
istore 4
start local 4 3: aload 2
iload 4
aaload
astore 5
start local 5 4: goto 10
5: StackMap locals: java.lang.ThreadLocal$ThreadLocalMap java.lang.ThreadLocal java.lang.ThreadLocal$ThreadLocalMap$Entry[] int int java.lang.ThreadLocal$ThreadLocalMap$Entry
StackMap stack:
aload 5
invokevirtual java.lang.ThreadLocal$ThreadLocalMap$Entry.get:()Ljava/lang/Object;
aload 1
if_acmpne 9
6: aload 5
invokevirtual java.lang.ThreadLocal$ThreadLocalMap$Entry.clear:()V
7: aload 0
iload 4
invokevirtual java.lang.ThreadLocal$ThreadLocalMap.expungeStaleEntry:(I)I
pop
8: return
9: StackMap locals:
StackMap stack:
aload 2
iload 4
iload 3
invokestatic java.lang.ThreadLocal$ThreadLocalMap.nextIndex:(II)I
dup
istore 4
aaload
astore 5
10: StackMap locals:
StackMap stack:
aload 5
ifnonnull 5
end local 5 11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/lang/ThreadLocal$ThreadLocalMap;
0 12 1 key Ljava/lang/ThreadLocal<*>;
1 12 2 tab [Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
2 12 3 len I
3 12 4 i I
4 11 5 e Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
Signature: (Ljava/lang/ThreadLocal<*>;)V
MethodParameters:
Name Flags
key
private void replaceStaleEntry(java.lang.ThreadLocal<?>, , );
descriptor: (Ljava/lang/ThreadLocal;Ljava/lang/Object;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield java.lang.ThreadLocal$ThreadLocalMap.table:[Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
astore 4
start local 4 1: aload 4
arraylength
istore 5
start local 5 2: iload 3
istore 7
start local 7 3: iload 3
iload 5
invokestatic java.lang.ThreadLocal$ThreadLocalMap.prevIndex:(II)I
istore 8
start local 8 4: goto 8
start local 6 5: StackMap locals: java.lang.ThreadLocal$ThreadLocalMap java.lang.ThreadLocal java.lang.Object int java.lang.ThreadLocal$ThreadLocalMap$Entry[] int java.lang.ThreadLocal$ThreadLocalMap$Entry int int
StackMap stack:
aload 6
invokevirtual java.lang.ThreadLocal$ThreadLocalMap$Entry.get:()Ljava/lang/Object;
ifnonnull 7
6: iload 8
istore 7
7: StackMap locals:
StackMap stack:
iload 8
iload 5
invokestatic java.lang.ThreadLocal$ThreadLocalMap.prevIndex:(II)I
istore 8
end local 6 8: StackMap locals: java.lang.ThreadLocal$ThreadLocalMap java.lang.ThreadLocal java.lang.Object int java.lang.ThreadLocal$ThreadLocalMap$Entry[] int top int int
StackMap stack:
aload 4
iload 8
aaload
dup
astore 6
start local 6 9: ifnonnull 5
end local 8 10: iload 3
iload 5
invokestatic java.lang.ThreadLocal$ThreadLocalMap.nextIndex:(II)I
istore 8
start local 8 11: goto 24
12: StackMap locals: java.lang.ThreadLocal$ThreadLocalMap java.lang.ThreadLocal java.lang.Object int java.lang.ThreadLocal$ThreadLocalMap$Entry[] int java.lang.ThreadLocal$ThreadLocalMap$Entry int int
StackMap stack:
aload 6
invokevirtual java.lang.ThreadLocal$ThreadLocalMap$Entry.get:()Ljava/lang/Object;
checkcast java.lang.ThreadLocal
astore 9
start local 9 13: aload 9
aload 1
if_acmpne 21
14: aload 6
aload 2
putfield java.lang.ThreadLocal$ThreadLocalMap$Entry.value:Ljava/lang/Object;
15: aload 4
iload 8
aload 4
iload 3
aaload
aastore
16: aload 4
iload 3
aload 6
aastore
17: iload 7
iload 3
if_icmpne 19
18: iload 8
istore 7
19: StackMap locals: java.lang.ThreadLocal
StackMap stack:
aload 0
aload 0
iload 7
invokevirtual java.lang.ThreadLocal$ThreadLocalMap.expungeStaleEntry:(I)I
iload 5
invokevirtual java.lang.ThreadLocal$ThreadLocalMap.cleanSomeSlots:(II)Z
pop
20: return
21: StackMap locals:
StackMap stack:
aload 9
ifnonnull 23
iload 7
iload 3
if_icmpne 23
22: iload 8
istore 7
end local 9 23: StackMap locals:
StackMap stack:
iload 8
iload 5
invokestatic java.lang.ThreadLocal$ThreadLocalMap.nextIndex:(II)I
istore 8
24: StackMap locals:
StackMap stack:
aload 4
iload 8
aaload
dup
astore 6
ifnonnull 12
end local 8 25: aload 4
iload 3
aaload
aconst_null
putfield java.lang.ThreadLocal$ThreadLocalMap$Entry.value:Ljava/lang/Object;
26: aload 4
iload 3
new java.lang.ThreadLocal$ThreadLocalMap$Entry
dup
aload 1
aload 2
invokespecial java.lang.ThreadLocal$ThreadLocalMap$Entry.<init>:(Ljava/lang/ThreadLocal;Ljava/lang/Object;)V
aastore
27: iload 7
iload 3
if_icmpeq 29
28: aload 0
aload 0
iload 7
invokevirtual java.lang.ThreadLocal$ThreadLocalMap.expungeStaleEntry:(I)I
iload 5
invokevirtual java.lang.ThreadLocal$ThreadLocalMap.cleanSomeSlots:(II)Z
pop
29: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 5 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 Ljava/lang/ThreadLocal$ThreadLocalMap;
0 30 1 key Ljava/lang/ThreadLocal<*>;
0 30 2 value Ljava/lang/Object;
0 30 3 staleSlot I
1 30 4 tab [Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
2 30 5 len I
5 8 6 e Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
9 30 6 e Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
3 30 7 slotToExpunge I
4 10 8 i I
11 25 8 i I
13 23 9 k Ljava/lang/ThreadLocal<*>;
Signature: (Ljava/lang/ThreadLocal<*>;Ljava/lang/Object;I)V
MethodParameters:
Name Flags
key
value
staleSlot
private int expungeStaleEntry(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield java.lang.ThreadLocal$ThreadLocalMap.table:[Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
astore 2
start local 2 1: aload 2
arraylength
istore 3
start local 3 2: aload 2
iload 1
aaload
aconst_null
putfield java.lang.ThreadLocal$ThreadLocalMap$Entry.value:Ljava/lang/Object;
3: aload 2
iload 1
aconst_null
aastore
4: aload 0
dup
getfield java.lang.ThreadLocal$ThreadLocalMap.size:I
iconst_1
isub
putfield java.lang.ThreadLocal$ThreadLocalMap.size:I
5: iload 1
iload 3
invokestatic java.lang.ThreadLocal$ThreadLocalMap.nextIndex:(II)I
istore 5
start local 5 6: goto 21
start local 4 7: StackMap locals: java.lang.ThreadLocal$ThreadLocalMap int java.lang.ThreadLocal$ThreadLocalMap$Entry[] int java.lang.ThreadLocal$ThreadLocalMap$Entry int
StackMap stack:
aload 4
invokevirtual java.lang.ThreadLocal$ThreadLocalMap$Entry.get:()Ljava/lang/Object;
checkcast java.lang.ThreadLocal
astore 6
start local 6 8: aload 6
ifnonnull 13
9: aload 4
aconst_null
putfield java.lang.ThreadLocal$ThreadLocalMap$Entry.value:Ljava/lang/Object;
10: aload 2
iload 5
aconst_null
aastore
11: aload 0
dup
getfield java.lang.ThreadLocal$ThreadLocalMap.size:I
iconst_1
isub
putfield java.lang.ThreadLocal$ThreadLocalMap.size:I
12: goto 20
13: StackMap locals: java.lang.ThreadLocal
StackMap stack:
aload 6
getfield java.lang.ThreadLocal.threadLocalHashCode:I
iload 3
iconst_1
isub
iand
istore 7
start local 7 14: iload 7
iload 5
if_icmpeq 20
15: aload 2
iload 5
aconst_null
aastore
16: goto 18
17: StackMap locals: int
StackMap stack:
iload 7
iload 3
invokestatic java.lang.ThreadLocal$ThreadLocalMap.nextIndex:(II)I
istore 7
18: StackMap locals:
StackMap stack:
aload 2
iload 7
aaload
ifnonnull 17
19: aload 2
iload 7
aload 4
aastore
end local 7 end local 6 20: StackMap locals:
StackMap stack:
iload 5
iload 3
invokestatic java.lang.ThreadLocal$ThreadLocalMap.nextIndex:(II)I
istore 5
end local 4 21: StackMap locals: java.lang.ThreadLocal$ThreadLocalMap int java.lang.ThreadLocal$ThreadLocalMap$Entry[] int top int
StackMap stack:
aload 2
iload 5
aaload
dup
astore 4
start local 4 22: ifnonnull 7
23: iload 5
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljava/lang/ThreadLocal$ThreadLocalMap;
0 24 1 staleSlot I
1 24 2 tab [Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
2 24 3 len I
7 21 4 e Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
22 24 4 e Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
6 24 5 i I
8 20 6 k Ljava/lang/ThreadLocal<*>;
14 20 7 h I
MethodParameters:
Name Flags
staleSlot
private boolean cleanSomeSlots(int, int);
descriptor: (II)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 0
getfield java.lang.ThreadLocal$ThreadLocalMap.table:[Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
astore 4
start local 4 2: aload 4
arraylength
istore 5
start local 5 3: StackMap locals: int java.lang.ThreadLocal$ThreadLocalMap$Entry[] int
StackMap stack:
iload 1
iload 5
invokestatic java.lang.ThreadLocal$ThreadLocalMap.nextIndex:(II)I
istore 1
4: aload 4
iload 1
aaload
astore 6
start local 6 5: aload 6
ifnull 9
aload 6
invokevirtual java.lang.ThreadLocal$ThreadLocalMap$Entry.get:()Ljava/lang/Object;
ifnonnull 9
6: iload 5
istore 2
7: iconst_1
istore 3
8: aload 0
iload 1
invokevirtual java.lang.ThreadLocal$ThreadLocalMap.expungeStaleEntry:(I)I
istore 1
end local 6 9: StackMap locals:
StackMap stack:
iload 2
iconst_1
iushr
dup
istore 2
ifne 3
10: iload 3
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/lang/ThreadLocal$ThreadLocalMap;
0 11 1 i I
0 11 2 n I
1 11 3 removed Z
2 11 4 tab [Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
3 11 5 len I
5 9 6 e Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
MethodParameters:
Name Flags
i
n
private void rehash();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.ThreadLocal$ThreadLocalMap.expungeStaleEntries:()V
1: aload 0
getfield java.lang.ThreadLocal$ThreadLocalMap.size:I
aload 0
getfield java.lang.ThreadLocal$ThreadLocalMap.threshold:I
aload 0
getfield java.lang.ThreadLocal$ThreadLocalMap.threshold:I
iconst_4
idiv
isub
if_icmplt 3
2: aload 0
invokevirtual java.lang.ThreadLocal$ThreadLocalMap.resize:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/ThreadLocal$ThreadLocalMap;
private void resize();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=12, args_size=1
start local 0 0: aload 0
getfield java.lang.ThreadLocal$ThreadLocalMap.table:[Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
astore 1
start local 1 1: aload 1
arraylength
istore 2
start local 2 2: iload 2
iconst_2
imul
istore 3
start local 3 3: iload 3
anewarray java.lang.ThreadLocal$ThreadLocalMap$Entry
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: aload 1
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 19
StackMap locals: java.lang.ThreadLocal$ThreadLocalMap java.lang.ThreadLocal$ThreadLocalMap$Entry[] int int java.lang.ThreadLocal$ThreadLocalMap$Entry[] int top int int java.lang.ThreadLocal$ThreadLocalMap$Entry[]
StackMap stack:
6: aload 9
iload 7
aaload
astore 6
start local 6 7: aload 6
ifnull 18
8: aload 6
invokevirtual java.lang.ThreadLocal$ThreadLocalMap$Entry.get:()Ljava/lang/Object;
checkcast java.lang.ThreadLocal
astore 10
start local 10 9: aload 10
ifnonnull 12
10: aload 6
aconst_null
putfield java.lang.ThreadLocal$ThreadLocalMap$Entry.value:Ljava/lang/Object;
11: goto 18
12: StackMap locals: java.lang.ThreadLocal$ThreadLocalMap java.lang.ThreadLocal$ThreadLocalMap$Entry[] int int java.lang.ThreadLocal$ThreadLocalMap$Entry[] int java.lang.ThreadLocal$ThreadLocalMap$Entry int int java.lang.ThreadLocal$ThreadLocalMap$Entry[] java.lang.ThreadLocal
StackMap stack:
aload 10
getfield java.lang.ThreadLocal.threadLocalHashCode:I
iload 3
iconst_1
isub
iand
istore 11
start local 11 13: goto 15
14: StackMap locals: int
StackMap stack:
iload 11
iload 3
invokestatic java.lang.ThreadLocal$ThreadLocalMap.nextIndex:(II)I
istore 11
15: StackMap locals:
StackMap stack:
aload 4
iload 11
aaload
ifnonnull 14
16: aload 4
iload 11
aload 6
aastore
17: iinc 5 1
end local 11 end local 10 end local 6 18: StackMap locals: java.lang.ThreadLocal$ThreadLocalMap java.lang.ThreadLocal$ThreadLocalMap$Entry[] int int java.lang.ThreadLocal$ThreadLocalMap$Entry[] int top int int java.lang.ThreadLocal$ThreadLocalMap$Entry[]
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
19: iload 7
iload 8
if_icmplt 6
20: aload 0
iload 3
invokevirtual java.lang.ThreadLocal$ThreadLocalMap.setThreshold:(I)V
21: aload 0
iload 5
putfield java.lang.ThreadLocal$ThreadLocalMap.size:I
22: aload 0
aload 4
putfield java.lang.ThreadLocal$ThreadLocalMap.table:[Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
23: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljava/lang/ThreadLocal$ThreadLocalMap;
1 24 1 oldTab [Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
2 24 2 oldLen I
3 24 3 newLen I
4 24 4 newTab [Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
5 24 5 count I
7 18 6 e Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
9 18 10 k Ljava/lang/ThreadLocal<*>;
13 18 11 h I
private void expungeStaleEntries();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield java.lang.ThreadLocal$ThreadLocalMap.table:[Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
astore 1
start local 1 1: aload 1
arraylength
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 8
4: StackMap locals: java.lang.ThreadLocal$ThreadLocalMap$Entry[] int int
StackMap stack:
aload 1
iload 3
aaload
astore 4
start local 4 5: aload 4
ifnull 7
aload 4
invokevirtual java.lang.ThreadLocal$ThreadLocalMap$Entry.get:()Ljava/lang/Object;
ifnonnull 7
6: aload 0
iload 3
invokevirtual java.lang.ThreadLocal$ThreadLocalMap.expungeStaleEntry:(I)I
pop
end local 4 7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 2
if_icmplt 4
end local 3 9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/lang/ThreadLocal$ThreadLocalMap;
1 10 1 tab [Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
2 10 2 len I
3 9 3 j I
5 7 4 e Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
}
SourceFile: "ThreadLocal.java"
NestHost: java.lang.ThreadLocal
InnerClasses:
ThreadLocalMap = java.lang.ThreadLocal$ThreadLocalMap of java.lang.ThreadLocal
Entry = java.lang.ThreadLocal$ThreadLocalMap$Entry of java.lang.ThreadLocal$ThreadLocalMap