final class jdk.incubator.http.internal.websocket.Frame$Masker
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.http.internal.websocket.Frame$Masker
super_class: java.lang.Object
{
private final java.nio.ByteBuffer acc;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int[] maskBytes;
descriptor: [I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int offset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long maskLong;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/incubator/http/internal/websocket/Frame;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.incubator.http.internal.websocket.Frame$Masker.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
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
bipush 8
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield jdk.incubator.http.internal.websocket.Frame$Masker.acc:Ljava/nio/ByteBuffer;
2: aload 0
iconst_4
newarray 10
putfield jdk.incubator.http.internal.websocket.Frame$Masker.maskBytes:[I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/internal/websocket/Frame$Masker;
static void transferMasking(java.nio.ByteBuffer, java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
if_icmple 2
1: new java.lang.IllegalArgumentException
dup
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 1
aastore
invokestatic jdk.incubator.http.internal.common.Utils.dump:([Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new jdk.incubator.http.internal.websocket.Frame$Masker
dup
invokespecial jdk.incubator.http.internal.websocket.Frame$Masker.<init>:()V
iload 2
invokevirtual jdk.incubator.http.internal.websocket.Frame$Masker.mask:(I)Ljdk/incubator/http/internal/websocket/Frame$Masker;
aload 0
aload 1
invokevirtual jdk.incubator.http.internal.websocket.Frame$Masker.transferMasking:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljdk/incubator/http/internal/websocket/Frame$Masker;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 src Ljava/nio/ByteBuffer;
0 4 1 dst Ljava/nio/ByteBuffer;
0 4 2 mask I
MethodParameters:
Name Flags
src
dst
mask
jdk.incubator.http.internal.websocket.Frame$Masker mask(int);
descriptor: (I)Ljdk/incubator/http/internal/websocket/Frame$Masker;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.internal.websocket.Frame$Masker.acc:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.putInt:(I)Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.putInt:(I)Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.websocket.Frame$Masker.maskBytes:[I
iload 2
aload 0
getfield jdk.incubator.http.internal.websocket.Frame$Masker.acc:Ljava/nio/ByteBuffer;
iload 2
invokevirtual java.nio.ByteBuffer.get:(I)B
iastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield jdk.incubator.http.internal.websocket.Frame$Masker.maskBytes:[I
arraylength
if_icmplt 3
end local 2 6: aload 0
iconst_0
putfield jdk.incubator.http.internal.websocket.Frame$Masker.offset:I
7: aload 0
aload 0
getfield jdk.incubator.http.internal.websocket.Frame$Masker.acc:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.ByteBuffer.getLong:(I)J
putfield jdk.incubator.http.internal.websocket.Frame$Masker.maskLong:J
8: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/http/internal/websocket/Frame$Masker;
0 9 1 value I
2 6 2 i I
MethodParameters:
Name Flags
value
jdk.incubator.http.internal.websocket.Frame$Masker transferMasking(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljdk/incubator/http/internal/websocket/Frame$Masker;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual jdk.incubator.http.internal.websocket.Frame$Masker.begin:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)V
1: aload 0
aload 1
aload 2
invokevirtual jdk.incubator.http.internal.websocket.Frame$Masker.loop:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)V
2: aload 0
aload 1
aload 2
invokevirtual jdk.incubator.http.internal.websocket.Frame$Masker.end:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)V
3: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/internal/websocket/Frame$Masker;
0 4 1 src Ljava/nio/ByteBuffer;
0 4 2 dst Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
src
dst
private void begin(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.incubator.http.internal.websocket.Frame$Masker.offset:I
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 3
start local 3 3: aload 2
invokevirtual java.nio.ByteBuffer.position:()I
istore 4
start local 4 4: aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
istore 5
start local 5 5: aload 2
invokevirtual java.nio.ByteBuffer.limit:()I
istore 6
start local 6 6: goto 9
7: StackMap locals: jdk.incubator.http.internal.websocket.Frame$Masker java.nio.ByteBuffer java.nio.ByteBuffer int int int int
StackMap stack:
aload 2
iload 4
aload 1
iload 3
invokevirtual java.nio.ByteBuffer.get:(I)B
aload 0
getfield jdk.incubator.http.internal.websocket.Frame$Masker.maskBytes:[I
aload 0
getfield jdk.incubator.http.internal.websocket.Frame$Masker.offset:I
iaload
ixor
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
8: iinc 3 1
iinc 4 1
aload 0
dup
getfield jdk.incubator.http.internal.websocket.Frame$Masker.offset:I
iconst_1
iadd
putfield jdk.incubator.http.internal.websocket.Frame$Masker.offset:I
StackMap locals:
StackMap stack:
9: aload 0
getfield jdk.incubator.http.internal.websocket.Frame$Masker.offset:I
iconst_4
if_icmpge 10
iload 3
iload 5
if_icmpge 10
iload 4
iload 6
if_icmplt 7
10: StackMap locals:
StackMap stack:
aload 0
dup
getfield jdk.incubator.http.internal.websocket.Frame$Masker.offset:I
iconst_3
iand
putfield jdk.incubator.http.internal.websocket.Frame$Masker.offset:I
11: aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
12: aload 2
iload 4
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
13: return
end local 6 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 14 0 this Ljdk/incubator/http/internal/websocket/Frame$Masker;
0 14 1 src Ljava/nio/ByteBuffer;
0 14 2 dst Ljava/nio/ByteBuffer;
3 14 3 i I
4 14 4 j I
5 14 5 srcLim I
6 14 6 dstLim I
MethodParameters:
Name Flags
src
dst
private void loop(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 3
start local 3 1: aload 2
invokevirtual java.nio.ByteBuffer.position:()I
istore 4
start local 4 2: aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
bipush 7
isub
istore 5
start local 5 3: aload 2
invokevirtual java.nio.ByteBuffer.limit:()I
bipush 7
isub
istore 6
start local 6 4: goto 7
5: StackMap locals: jdk.incubator.http.internal.websocket.Frame$Masker java.nio.ByteBuffer java.nio.ByteBuffer int int int int
StackMap stack:
aload 2
iload 4
aload 1
iload 3
invokevirtual java.nio.ByteBuffer.getLong:(I)J
aload 0
getfield jdk.incubator.http.internal.websocket.Frame$Masker.maskLong:J
lxor
invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
6: iinc 3 8
iinc 4 8
StackMap locals:
StackMap stack:
7: iload 3
iload 5
if_icmpge 8
iload 4
iload 6
if_icmplt 5
8: StackMap locals:
StackMap stack:
iload 3
aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
if_icmple 11
9: aload 1
iload 3
bipush 8
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
10: goto 12
11: StackMap locals:
StackMap stack:
aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
12: StackMap locals:
StackMap stack:
iload 4
aload 2
invokevirtual java.nio.ByteBuffer.limit:()I
if_icmple 15
13: aload 2
iload 4
bipush 8
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
14: goto 16
15: StackMap locals:
StackMap stack:
aload 2
iload 4
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
16: StackMap locals:
StackMap stack:
return
end local 6 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 17 0 this Ljdk/incubator/http/internal/websocket/Frame$Masker;
0 17 1 src Ljava/nio/ByteBuffer;
0 17 2 dst Ljava/nio/ByteBuffer;
1 17 3 i I
2 17 4 j I
3 17 5 srcLongLim I
4 17 6 dstLongLim I
MethodParameters:
Name Flags
src
dst
private void end(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.incubator.http.internal.websocket.Frame$Masker.$assertionsDisabled:Z
ifne 1
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.lang.Math.min:(II)I
bipush 8
if_icmplt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
istore 3
start local 3 2: aload 2
invokevirtual java.nio.ByteBuffer.limit:()I
istore 4
start local 4 3: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 5
start local 5 4: aload 2
invokevirtual java.nio.ByteBuffer.position:()I
istore 6
start local 6 5: goto 8
6: StackMap locals: jdk.incubator.http.internal.websocket.Frame$Masker java.nio.ByteBuffer java.nio.ByteBuffer int int int int
StackMap stack:
aload 2
iload 6
aload 1
iload 5
invokevirtual java.nio.ByteBuffer.get:(I)B
aload 0
getfield jdk.incubator.http.internal.websocket.Frame$Masker.maskBytes:[I
aload 0
getfield jdk.incubator.http.internal.websocket.Frame$Masker.offset:I
iaload
ixor
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
7: iinc 5 1
iinc 6 1
aload 0
aload 0
getfield jdk.incubator.http.internal.websocket.Frame$Masker.offset:I
iconst_1
iadd
iconst_3
iand
putfield jdk.incubator.http.internal.websocket.Frame$Masker.offset:I
8: StackMap locals:
StackMap stack:
iload 5
iload 3
if_icmpge 9
iload 6
iload 4
if_icmplt 6
9: StackMap locals:
StackMap stack:
aload 1
iload 5
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
10: aload 2
iload 6
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
11: return
end local 6 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 12 0 this Ljdk/incubator/http/internal/websocket/Frame$Masker;
0 12 1 src Ljava/nio/ByteBuffer;
0 12 2 dst Ljava/nio/ByteBuffer;
2 12 3 srcLim I
3 12 4 dstLim I
4 12 5 i I
5 12 6 j I
MethodParameters:
Name Flags
src
dst
}
SourceFile: "Frame.java"
NestHost: jdk.incubator.http.internal.websocket.Frame
InnerClasses:
final Masker = jdk.incubator.http.internal.websocket.Frame$Masker of jdk.incubator.http.internal.websocket.Frame