public final class org.glassfish.grizzly.ThreadCache$ObjectCacheElement
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.ThreadCache$ObjectCacheElement
super_class: java.lang.Object
{
private final int size;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object[] cache;
descriptor: [Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield org.glassfish.grizzly.ThreadCache$ObjectCacheElement.size:I
2: aload 0
iload 1
anewarray java.lang.Object
putfield org.glassfish.grizzly.ThreadCache$ObjectCacheElement.cache:[Ljava/lang/Object;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
0 4 1 size I
MethodParameters:
Name Flags
size
public boolean put(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCacheElement.index:I
aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCacheElement.size:I
if_icmpge 3
1: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCacheElement.cache:[Ljava/lang/Object;
aload 0
dup
getfield org.glassfish.grizzly.ThreadCache$ObjectCacheElement.index:I
dup_x1
iconst_1
iadd
putfield org.glassfish.grizzly.ThreadCache$ObjectCacheElement.index:I
aload 1
aastore
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
0 4 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public java.lang.Object get();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCacheElement.index:I
ifle 3
1: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCacheElement.cache:[Ljava/lang/Object;
aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCacheElement.index:I
iconst_1
isub
aaload
astore 1
start local 1 2: aload 1
areturn
end local 1 3: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
2 3 1 o Ljava/lang/Object;
public java.lang.Object take();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCacheElement.index:I
ifle 5
1: aload 0
dup
getfield org.glassfish.grizzly.ThreadCache$ObjectCacheElement.index:I
iconst_1
isub
putfield org.glassfish.grizzly.ThreadCache$ObjectCacheElement.index:I
2: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCacheElement.cache:[Ljava/lang/Object;
aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCacheElement.index:I
aaload
astore 1
start local 1 3: aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCacheElement.cache:[Ljava/lang/Object;
aload 0
getfield org.glassfish.grizzly.ThreadCache$ObjectCacheElement.index:I
aconst_null
aastore
4: aload 1
areturn
end local 1 5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/ThreadCache$ObjectCacheElement;
3 5 1 o Ljava/lang/Object;
}
SourceFile: "ThreadCache.java"
NestHost: org.glassfish.grizzly.ThreadCache
InnerClasses:
public final ObjectCacheElement = org.glassfish.grizzly.ThreadCache$ObjectCacheElement of org.glassfish.grizzly.ThreadCache