final class jdk.internal.net.http.hpack.QuickHuffman$Writer implements jdk.internal.net.http.hpack.Huffman$Writer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.net.http.hpack.QuickHuffman$Writer
super_class: java.lang.Object
{
private final jdk.internal.net.http.hpack.HPACK$BufferUpdateConsumer UPDATER;
descriptor: Ljdk/internal/net/http/hpack/HPACK$BufferUpdateConsumer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.CharSequence source;
descriptor: Ljava/lang/CharSequence;
flags: (0x0002) ACC_PRIVATE
private boolean padded;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int end;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long buffer;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int bufferLen;
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
2: aload 0
invokedynamic accept(Ljdk/internal/net/http/hpack/QuickHuffman$Writer;)Ljdk/internal/net/http/hpack/HPACK$BufferUpdateConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(JI)V
jdk/internal/net/http/hpack/QuickHuffman$Writer.lambda$0(JI)V (7)
(JI)V
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.UPDATER:Ljdk/internal/net/http/hpack/HPACK$BufferUpdateConsumer;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/hpack/QuickHuffman$Writer;
public jdk.internal.net.http.hpack.QuickHuffman$Writer from(java.lang.CharSequence, int, int);
descriptor: (Ljava/lang/CharSequence;II)Ljdk/internal/net/http/hpack/QuickHuffman$Writer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iload 3
aload 1
invokeinterface java.lang.CharSequence.length:()I
invokestatic java.util.Objects.checkFromToIndex:(III)I
pop
1: aload 0
iload 2
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.pos:I
2: aload 0
iload 3
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.end:I
3: aload 0
aload 1
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.source:Ljava/lang/CharSequence;
4: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/net/http/hpack/QuickHuffman$Writer;
0 5 1 input Ljava/lang/CharSequence;
0 5 2 start I
0 5 3 end I
MethodParameters:
Name Flags
input
start
end
public boolean write(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.pos:I
aload 0
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.end:I
if_icmplt 2
1: goto 11
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.source:Ljava/lang/CharSequence;
aload 0
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.pos:I
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 2
start local 2 3: iload 2
sipush 255
if_icmple 5
4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "char="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
iload 2
invokestatic jdk.internal.net.http.hpack.QuickHuffman.codeLengthOf:(C)J
lstore 3
start local 3 6: aload 0
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.bufferLen:I
i2l
lload 3
ladd
ldc 64
lcmp
ifgt 11
7: aload 0
dup
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.buffer:J
iload 2
invokestatic jdk.internal.net.http.hpack.QuickHuffman.codeValueOf:(C)J
aload 0
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.bufferLen:I
lushr
lor
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.buffer:J
8: aload 0
dup
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.bufferLen:I
i2l
lload 3
ladd
l2i
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.bufferLen:I
9: aload 0
dup
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.pos:I
iconst_1
iadd
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.pos:I
end local 3 end local 2 10: goto 0
11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.bufferLen:I
ifne 13
12: iconst_1
ireturn
13: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.pos:I
aload 0
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.end:I
if_icmplt 18
aload 0
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.padded:Z
ifne 18
14: aload 0
iconst_1
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.padded:Z
15: aload 0
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.bufferLen:I
bipush 64
if_icmpeq 18
16: aload 0
dup
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.buffer:J
ldc -17179869184
aload 0
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.bufferLen:I
lushr
lor
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.buffer:J
17: aload 0
aload 0
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.bufferLen:I
invokestatic jdk.internal.net.http.hpack.HPACK.bytesForBits:(I)I
iconst_3
ishl
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.bufferLen:I
18: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.buffer:J
aload 0
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.bufferLen:I
aload 0
getfield jdk.internal.net.http.hpack.QuickHuffman$Writer.UPDATER:Ljdk/internal/net/http/hpack/HPACK$BufferUpdateConsumer;
aload 1
invokestatic jdk.internal.net.http.hpack.HPACK.write:(JILjdk/internal/net/http/hpack/HPACK$BufferUpdateConsumer;Ljava/nio/ByteBuffer;)I
istore 2
start local 2 19: iload 2
ifne 0
20: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljdk/internal/net/http/hpack/QuickHuffman$Writer;
0 21 1 destination Ljava/nio/ByteBuffer;
3 10 2 c C
6 10 3 len J
19 21 2 nBytes I
MethodParameters:
Name Flags
destination
public jdk.internal.net.http.hpack.QuickHuffman$Writer reset();
descriptor: ()Ljdk/internal/net/http/hpack/QuickHuffman$Writer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.source:Ljava/lang/CharSequence;
1: aload 0
lconst_0
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.buffer:J
2: aload 0
iconst_0
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.bufferLen:I
3: aload 0
iconst_0
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.end:I
4: aload 0
iconst_0
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.pos:I
5: aload 0
iconst_0
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.padded:Z
6: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/net/http/hpack/QuickHuffman$Writer;
public int lengthOf(java.lang.CharSequence, int, int);
descriptor: (Ljava/lang/CharSequence;II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: iload 2
istore 5
start local 5 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 1
iload 5
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 6
start local 6 4: iload 4
i2l
iload 6
invokestatic jdk.internal.net.http.hpack.QuickHuffman.codeLengthOf:(C)J
ladd
l2i
istore 4
end local 6 5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
iload 3
if_icmplt 3
end local 5 7: iload 4
invokestatic jdk.internal.net.http.hpack.HPACK.bytesForBits:(I)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/net/http/hpack/QuickHuffman$Writer;
0 8 1 value Ljava/lang/CharSequence;
0 8 2 start I
0 8 3 end I
1 8 4 len I
2 7 5 i I
4 5 6 c C
MethodParameters:
Name Flags
value
start
end
public jdk.internal.net.http.hpack.Huffman$Writer from(java.lang.CharSequence, int, int);
descriptor: (Ljava/lang/CharSequence;II)Ljdk/internal/net/http/hpack/Huffman$Writer;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
iload 2
iload 3
invokevirtual jdk.internal.net.http.hpack.QuickHuffman$Writer.from:(Ljava/lang/CharSequence;II)Ljdk/internal/net/http/hpack/QuickHuffman$Writer;
areturn
LocalVariableTable:
Start End Slot Name Signature
public jdk.internal.net.http.hpack.Huffman$Writer reset();
descriptor: ()Ljdk/internal/net/http/hpack/Huffman$Writer;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual jdk.internal.net.http.hpack.QuickHuffman$Writer.reset:()Ljdk/internal/net/http/hpack/QuickHuffman$Writer;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(long, int);
descriptor: (JI)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.buffer:J
1: aload 0
iload 3
putfield jdk.internal.net.http.hpack.QuickHuffman$Writer.bufferLen:I
2: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/hpack/QuickHuffman$Writer;
0 3 1 buf J
0 3 3 bufLen I
}
SourceFile: "QuickHuffman.java"
NestHost: jdk.internal.net.http.hpack.QuickHuffman
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
abstract BufferUpdateConsumer = jdk.internal.net.http.hpack.HPACK$BufferUpdateConsumer of jdk.internal.net.http.hpack.HPACK
public abstract Writer = jdk.internal.net.http.hpack.Huffman$Writer of jdk.internal.net.http.hpack.Huffman
final Writer = jdk.internal.net.http.hpack.QuickHuffman$Writer of jdk.internal.net.http.hpack.QuickHuffman