class org.glassfish.grizzly.http2.AggrCompletionHandler implements org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.grizzly.http2.AggrCompletionHandler
super_class: java.lang.Object
{
private org.glassfish.grizzly.http2.AggrCompletionHandler$Record[] completionHandlerRecords;
descriptor: [Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
flags: (0x0002) ACC_PRIVATE
private int recordsCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_2
anewarray org.glassfish.grizzly.http2.AggrCompletionHandler$Record
putfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http2/AggrCompletionHandler;
public void register(org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult>, );
descriptor: (Lorg/glassfish/grizzly/CompletionHandler;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http2.AggrCompletionHandler.ensureCapacity:()V
1: aload 0
getfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
aload 0
getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
aaload
astore 3
start local 3 2: aload 3
ifnonnull 6
3: new org.glassfish.grizzly.http2.AggrCompletionHandler$Record
dup
aload 1
iload 2
invokespecial org.glassfish.grizzly.http2.AggrCompletionHandler$Record.<init>:(Lorg/glassfish/grizzly/CompletionHandler;I)V
astore 3
4: aload 0
getfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
aload 0
getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
aload 3
aastore
5: goto 7
6: StackMap locals: org.glassfish.grizzly.http2.AggrCompletionHandler$Record
StackMap stack:
aload 3
aload 1
iload 2
invokevirtual org.glassfish.grizzly.http2.AggrCompletionHandler$Record.set:(Lorg/glassfish/grizzly/CompletionHandler;I)V
7: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
iconst_1
iadd
putfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/http2/AggrCompletionHandler;
0 9 1 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
0 9 2 bytesWrittenToReport I
2 9 3 record Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
Signature: (Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;I)V
MethodParameters:
Name Flags
completionHandler final
bytesWrittenToReport final
public void cancelled();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 9
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
iload 1
aaload
astore 2
start local 2 3: aload 2
getfield org.glassfish.grizzly.http2.AggrCompletionHandler$Record.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
astore 3
start local 3 4: aload 2
invokevirtual org.glassfish.grizzly.http2.AggrCompletionHandler$Record.reset:()V
5: aload 3
invokeinterface org.glassfish.grizzly.CompletionHandler.cancelled:()V
end local 3 end local 2 6: goto 8
StackMap locals:
StackMap stack: java.lang.Exception
7: pop
8: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
9: iload 1
aload 0
getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
if_icmplt 2
end local 1 10: aload 0
iconst_0
putfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/glassfish/grizzly/http2/AggrCompletionHandler;
1 10 1 i I
3 6 2 record Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
4 6 3 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
Exception table:
from to target type
2 6 7 Class java.lang.Exception
public void failed(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 9
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
iload 2
aaload
astore 3
start local 3 3: aload 3
getfield org.glassfish.grizzly.http2.AggrCompletionHandler$Record.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
astore 4
start local 4 4: aload 3
invokevirtual org.glassfish.grizzly.http2.AggrCompletionHandler$Record.reset:()V
5: aload 4
aload 1
invokeinterface org.glassfish.grizzly.CompletionHandler.failed:(Ljava/lang/Throwable;)V
end local 4 end local 3 6: goto 8
StackMap locals:
StackMap stack: java.lang.Exception
7: pop
8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 0
getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
if_icmplt 2
end local 2 10: aload 0
iconst_0
putfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/glassfish/grizzly/http2/AggrCompletionHandler;
0 12 1 throwable Ljava/lang/Throwable;
1 10 2 i I
3 6 3 record Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
4 6 4 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
Exception table:
from to target type
2 6 7 Class java.lang.Exception
MethodParameters:
Name Flags
throwable final
public void completed(org.glassfish.grizzly.WriteResult);
descriptor: (Lorg/glassfish/grizzly/WriteResult;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.glassfish.grizzly.WriteResult.getWrittenSize:()J
lstore 2
start local 2 1: iconst_0
istore 4
start local 4 2: goto 12
3: StackMap locals: long int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
iload 4
aaload
astore 5
start local 5 4: aload 5
getfield org.glassfish.grizzly.http2.AggrCompletionHandler$Record.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
astore 6
start local 6 5: aload 5
getfield org.glassfish.grizzly.http2.AggrCompletionHandler$Record.bytesWrittenToReport:I
istore 7
start local 7 6: aload 5
invokevirtual org.glassfish.grizzly.http2.AggrCompletionHandler$Record.reset:()V
7: aload 1
iload 7
i2l
invokevirtual org.glassfish.grizzly.WriteResult.setWrittenSize:(J)V
8: aload 6
aload 1
invokeinterface org.glassfish.grizzly.CompletionHandler.completed:(Ljava/lang/Object;)V
end local 7 end local 6 end local 5 9: goto 11
StackMap locals:
StackMap stack: java.lang.Exception
10: pop
11: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
aload 0
getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
if_icmplt 3
end local 4 13: aload 1
lload 2
invokevirtual org.glassfish.grizzly.WriteResult.setWrittenSize:(J)V
14: aload 0
iconst_0
putfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/glassfish/grizzly/http2/AggrCompletionHandler;
0 16 1 result Lorg/glassfish/grizzly/WriteResult;
1 16 2 originalWrittenSize J
2 13 4 i I
4 9 5 record Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
5 9 6 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
6 9 7 bytesWrittenToReport I
Exception table:
from to target type
3 9 10 Class java.lang.Exception
MethodParameters:
Name Flags
result final
public void updated(org.glassfish.grizzly.WriteResult);
descriptor: (Lorg/glassfish/grizzly/WriteResult;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http2/AggrCompletionHandler;
0 1 1 result Lorg/glassfish/grizzly/WriteResult;
MethodParameters:
Name Flags
result
private void ensureCapacity();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
arraylength
aload 0
getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
if_icmpne 2
1: aload 0
aload 0
getfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
aload 0
getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
aload 0
getfield org.glassfish.grizzly.http2.AggrCompletionHandler.recordsCount:I
iconst_1
ishr
iadd
iconst_1
iadd
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast org.glassfish.grizzly.http2.AggrCompletionHandler$Record[]
putfield org.glassfish.grizzly.http2.AggrCompletionHandler.completionHandlerRecords:[Lorg/glassfish/grizzly/http2/AggrCompletionHandler$Record;
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http2/AggrCompletionHandler;
public void updated(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.glassfish.grizzly.WriteResult
invokevirtual org.glassfish.grizzly.http2.AggrCompletionHandler.updated:(Lorg/glassfish/grizzly/WriteResult;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void completed(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.glassfish.grizzly.WriteResult
invokevirtual org.glassfish.grizzly.http2.AggrCompletionHandler.completed:(Lorg/glassfish/grizzly/WriteResult;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
SourceFile: "AggrCompletionHandler.java"
NestMembers:
org.glassfish.grizzly.http2.AggrCompletionHandler$Record
InnerClasses:
private Record = org.glassfish.grizzly.http2.AggrCompletionHandler$Record of org.glassfish.grizzly.http2.AggrCompletionHandler