final class <E>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer
super_class: java.lang.Object
{
int ;
descriptor: I
flags: (0x0000)
int ;
descriptor: I
flags: (0x0000)
int ;
descriptor: I
flags: (0x0000)
int ;
descriptor: I
flags: (0x0000)
java.lang.Object[] ;
descriptor: [Ljava/lang/Object;
flags: (0x0000)
void (int);
descriptor: (I)V
flags: (0x0000)
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.http2.hpack.HeaderTable$CircularBuffer.capacity:I
2: aload 0
iload 1
anewarray java.lang.Object
putfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http2/hpack/HeaderTable$CircularBuffer<TE;>;
0 4 1 capacity I
MethodParameters:
Name Flags
capacity
void add();
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.size:I
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.capacity:I
if_icmpne 2
1: new java.lang.IllegalStateException
dup
ldc "No room for '%s': capacity=%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.capacity:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.head:I
aload 1
aastore
3: aload 0
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.head:I
iconst_1
iadd
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.capacity:I
irem
putfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.head:I
4: aload 0
dup
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.size:I
iconst_1
iadd
putfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.size:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http2/hpack/HeaderTable$CircularBuffer<TE;>;
0 6 1 elem TE;
Signature: (TE;)V
MethodParameters:
Name Flags
elem
E remove();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.size:I
ifne 2
1: new java.util.NoSuchElementException
dup
ldc "Empty"
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.tail:I
aaload
astore 1
start local 1 3: aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.tail:I
aconst_null
aastore
4: aload 0
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.tail:I
iconst_1
iadd
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.capacity:I
irem
putfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.tail:I
5: aload 0
dup
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.size:I
iconst_1
isub
putfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.size:I
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http2/hpack/HeaderTable$CircularBuffer<TE;>;
3 7 1 elem TE;
Signature: ()TE;
E get();
descriptor: (I)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.size:I
if_icmplt 2
1: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
ldc "0 <= index <= capacity: index=%s, capacity=%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.capacity:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.tail:I
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.size:I
iadd
iload 1
isub
iconst_1
isub
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.capacity:I
irem
istore 2
start local 2 3: aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
iload 2
aaload
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http2/hpack/HeaderTable$CircularBuffer<TE;>;
0 4 1 index I
3 4 2 idx I
Signature: (I)TE;
MethodParameters:
Name Flags
index
public void (int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.size:I
if_icmpge 2
1: new java.lang.IllegalStateException
dup
ldc "newCapacity >= size: newCapacity=%s, size=%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.size:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 1
anewarray java.lang.Object
astore 2
start local 2 3: aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.tail:I
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.head:I
if_icmplt 4
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.size:I
ifne 6
4: StackMap locals: java.lang.Object[]
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.tail:I
aload 2
iconst_0
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.size:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: goto 8
6: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.tail:I
aload 2
iconst_0
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
arraylength
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.tail:I
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
iconst_0
aload 2
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
arraylength
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.tail:I
isub
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.head:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.elements:[Ljava/lang/Object;
9: aload 0
iconst_0
putfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.tail:I
10: aload 0
aload 0
getfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.size:I
putfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.head:I
11: aload 0
iload 1
putfield org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer.capacity:I
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/glassfish/grizzly/http2/hpack/HeaderTable$CircularBuffer<TE;>;
0 13 1 newCapacity I
3 13 2 newElements [Ljava/lang/Object;
MethodParameters:
Name Flags
newCapacity
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "HeaderTable.java"
NestHost: org.glassfish.grizzly.http2.hpack.HeaderTable
InnerClasses:
final CircularBuffer = org.glassfish.grizzly.http2.hpack.HeaderTable$CircularBuffer of org.glassfish.grizzly.http2.hpack.HeaderTable