public final class org.glassfish.grizzly.ThreadCache$ObjectCache
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.ThreadCache$ObjectCache
super_class: java.lang.Object
{
private org.glassfish.grizzly.ThreadCache$ObjectCacheElement[] objectCacheElements;
descriptor: [Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/ThreadCache$ObjectCache;
public boolean put(org.glassfish.grizzly.ThreadCache$CachedTypeIndex, java.lang.Object);
descriptor: (Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCache.objectCacheElements:[Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
ifnull 7
1: aload 1
invokevirtual org.glassfish.grizzly.ThreadCache$CachedTypeIndex.getIndex:()I
aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCache.objectCacheElements:[Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
arraylength
if_icmpge 7
2: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCache.objectCacheElements:[Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
aload 1
invokevirtual org.glassfish.grizzly.ThreadCache$CachedTypeIndex.getIndex:()I
aaload
astore 3
start local 3 3: aload 3
ifnonnull 6
4: new org.glassfish.grizzly.ThreadCache$ObjectCacheElement
dup
aload 1
getfield org.glassfish.grizzly.ThreadCache$CachedTypeIndex.size:I
invokespecial org.glassfish.grizzly.ThreadCache$ObjectCacheElement.<init>:(I)V
astore 3
5: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCache.objectCacheElements:[Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
aload 1
invokevirtual org.glassfish.grizzly.ThreadCache$CachedTypeIndex.getIndex:()I
aload 3
aastore
6: StackMap locals: org.glassfish.grizzly.ThreadCache$ObjectCacheElement
StackMap stack:
aload 3
aload 2
invokevirtual org.glassfish.grizzly.ThreadCache$ObjectCacheElement.put:(Ljava/lang/Object;)Z
ireturn
end local 3 7: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCache.objectCacheElements:[Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
ifnull 9
8: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCache.objectCacheElements:[Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
goto 10
StackMap locals:
StackMap stack:
9: getstatic org.glassfish.grizzly.ThreadCache.INITIAL_OBJECT_ARRAY:[Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
10: StackMap locals:
StackMap stack: org.glassfish.grizzly.ThreadCache$ObjectCacheElement[]
astore 3
start local 3 11: aload 1
invokevirtual org.glassfish.grizzly.ThreadCache$CachedTypeIndex.getIndex:()I
iconst_1
iadd
12: aload 3
arraylength
iconst_3
imul
iconst_2
idiv
iconst_1
iadd
13: invokestatic java.lang.Math.max:(II)I
istore 4
start local 4 14: aload 0
aload 3
iload 4
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast org.glassfish.grizzly.ThreadCache$ObjectCacheElement[]
putfield org.glassfish.grizzly.ThreadCache$ObjectCache.objectCacheElements:[Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
15: new org.glassfish.grizzly.ThreadCache$ObjectCacheElement
dup
aload 1
invokevirtual org.glassfish.grizzly.ThreadCache$CachedTypeIndex.getSize:()I
invokespecial org.glassfish.grizzly.ThreadCache$ObjectCacheElement.<init>:(I)V
astore 5
start local 5 16: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCache.objectCacheElements:[Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
aload 1
invokevirtual org.glassfish.grizzly.ThreadCache$CachedTypeIndex.getIndex:()I
aload 5
aastore
17: aload 5
aload 2
invokevirtual org.glassfish.grizzly.ThreadCache$ObjectCacheElement.put:(Ljava/lang/Object;)Z
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 18 0 this Lorg/glassfish/grizzly/ThreadCache$ObjectCache;
0 18 1 index Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
0 18 2 o Ljava/lang/Object;
3 7 3 objectCache Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
11 18 3 arrayToGrow [Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
14 18 4 newSize I
16 18 5 objectCache Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
MethodParameters:
Name Flags
index final
o final
public <E> E get(org.glassfish.grizzly.ThreadCache$CachedTypeIndex<E>);
descriptor: (Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCache.objectCacheElements:[Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
ifnull 6
1: aload 1
invokevirtual org.glassfish.grizzly.ThreadCache$CachedTypeIndex.getIndex:()I
dup
istore 2
start local 2 2: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCache.objectCacheElements:[Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
arraylength
if_icmpge 6
3: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCache.objectCacheElements:[Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
iload 2
aaload
astore 3
start local 3 4: aload 3
ifnonnull 5
aconst_null
areturn
5: StackMap locals: int org.glassfish.grizzly.ThreadCache$ObjectCacheElement
StackMap stack:
aload 3
invokevirtual org.glassfish.grizzly.ThreadCache$ObjectCacheElement.get:()Ljava/lang/Object;
areturn
end local 3 end local 2 6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/ThreadCache$ObjectCache;
0 7 1 index Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex<TE;>;
2 6 2 idx I
4 6 3 objectCache Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
Signature: <E:Ljava/lang/Object;>(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex<TE;>;)TE;
MethodParameters:
Name Flags
index final
public <E> E take(org.glassfish.grizzly.ThreadCache$CachedTypeIndex<E>);
descriptor: (Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCache.objectCacheElements:[Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
ifnull 6
1: aload 1
invokevirtual org.glassfish.grizzly.ThreadCache$CachedTypeIndex.getIndex:()I
dup
istore 2
start local 2 2: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCache.objectCacheElements:[Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
arraylength
if_icmpge 6
3: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCache.objectCacheElements:[Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
iload 2
aaload
astore 3
start local 3 4: aload 3
ifnonnull 5
aconst_null
areturn
5: StackMap locals: int org.glassfish.grizzly.ThreadCache$ObjectCacheElement
StackMap stack:
aload 3
invokevirtual org.glassfish.grizzly.ThreadCache$ObjectCacheElement.take:()Ljava/lang/Object;
areturn
end local 3 end local 2 6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/ThreadCache$ObjectCache;
0 7 1 index Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex<TE;>;
2 6 2 idx I
4 6 3 objectCache Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
Signature: <E:Ljava/lang/Object;>(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex<TE;>;)TE;
MethodParameters:
Name Flags
index final
}
SourceFile: "ThreadCache.java"
NestHost: org.glassfish.grizzly.ThreadCache
InnerClasses:
public final CachedTypeIndex = org.glassfish.grizzly.ThreadCache$CachedTypeIndex of org.glassfish.grizzly.ThreadCache
public final ObjectCache = org.glassfish.grizzly.ThreadCache$ObjectCache of org.glassfish.grizzly.ThreadCache
public final ObjectCacheElement = org.glassfish.grizzly.ThreadCache$ObjectCacheElement of org.glassfish.grizzly.ThreadCache