abstract class sun.nio.cs.ThreadLocalCoders$Cache
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: sun.nio.cs.ThreadLocalCoders$Cache
super_class: java.lang.Object
{
private java.lang.ThreadLocal cache;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0002) ACC_PRIVATE
private final int size;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(int);
descriptor: (I)V
flags: (0x0000)
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
new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putfield sun.nio.cs.ThreadLocalCoders$Cache.cache:Ljava/lang/ThreadLocal;
2: aload 0
iload 1
putfield sun.nio.cs.ThreadLocalCoders$Cache.size:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/cs/ThreadLocalCoders$Cache;
0 4 1 size I
MethodParameters:
Name Flags
size
abstract java.lang.Object create(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
name
private void moveToFront(java.lang.Object[], int);
descriptor: ([Ljava/lang/Object;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
aaload
astore 3
start local 3 1: iload 2
istore 4
start local 4 2: goto 5
3: StackMap locals: java.lang.Object int
StackMap stack:
aload 1
iload 4
aload 1
iload 4
iconst_1
isub
aaload
aastore
4: iinc 4 -1
StackMap locals:
StackMap stack:
5: iload 4
ifgt 3
end local 4 6: aload 1
iconst_0
aload 3
aastore
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/nio/cs/ThreadLocalCoders$Cache;
0 8 1 oa [Ljava/lang/Object;
0 8 2 i I
1 8 3 ob Ljava/lang/Object;
2 6 4 j I
MethodParameters:
Name Flags
oa
i
abstract boolean hasName(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
ob
name
java.lang.Object forName(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.cs.ThreadLocalCoders$Cache.cache:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.lang.Object[]
astore 2
start local 2 1: aload 2
ifnonnull 5
2: aload 0
getfield sun.nio.cs.ThreadLocalCoders$Cache.size:I
anewarray java.lang.Object
astore 2
3: aload 0
getfield sun.nio.cs.ThreadLocalCoders$Cache.cache:Ljava/lang/ThreadLocal;
aload 2
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
4: goto 16
5: StackMap locals: java.lang.Object[]
StackMap stack:
iconst_0
istore 3
start local 3 6: goto 15
7: StackMap locals: int
StackMap stack:
aload 2
iload 3
aaload
astore 4
start local 4 8: aload 4
ifnonnull 10
9: goto 14
10: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 4
aload 1
invokevirtual sun.nio.cs.ThreadLocalCoders$Cache.hasName:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 14
11: iload 3
ifle 13
12: aload 0
aload 2
iload 3
invokevirtual sun.nio.cs.ThreadLocalCoders$Cache.moveToFront:([Ljava/lang/Object;I)V
13: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 14: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
15: iload 3
aload 2
arraylength
if_icmplt 7
end local 3 16: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.nio.cs.ThreadLocalCoders$Cache.create:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 17: aload 2
aload 2
arraylength
iconst_1
isub
aload 3
aastore
18: aload 0
aload 2
aload 2
arraylength
iconst_1
isub
invokevirtual sun.nio.cs.ThreadLocalCoders$Cache.moveToFront:([Ljava/lang/Object;I)V
19: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/nio/cs/ThreadLocalCoders$Cache;
0 20 1 name Ljava/lang/Object;
1 20 2 oa [Ljava/lang/Object;
6 16 3 i I
8 14 4 ob Ljava/lang/Object;
17 20 3 ob Ljava/lang/Object;
MethodParameters:
Name Flags
name
}
SourceFile: "ThreadLocalCoders.java"
NestHost: sun.nio.cs.ThreadLocalCoders
InnerClasses:
private abstract Cache = sun.nio.cs.ThreadLocalCoders$Cache of sun.nio.cs.ThreadLocalCoders