public class java.util.zip.CRC32 implements java.util.zip.Checksum
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.util.zip.CRC32
super_class: java.lang.Object
{
private int crc;
descriptor: I
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 Ljava/util/zip/CRC32;
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 java.util.zip.CRC32.$assertionsDisabled:Z
3: invokestatic java.util.zip.ZipUtils.loadLibrary:()V
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/zip/CRC32;
public void update(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield java.util.zip.CRC32.crc:I
iload 1
invokestatic java.util.zip.CRC32.update:(II)I
putfield java.util.zip.CRC32.crc:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/zip/CRC32;
0 2 1 b I
MethodParameters:
Name Flags
b
public void update(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iload 2
iflt 3
iload 3
iflt 3
iload 2
aload 1
arraylength
iload 3
isub
if_icmple 4
3: StackMap locals:
StackMap stack:
new java.lang.ArrayIndexOutOfBoundsException
dup
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.util.zip.CRC32.crc:I
aload 1
iload 2
iload 3
invokestatic java.util.zip.CRC32.updateBytes:(I[BII)I
putfield java.util.zip.CRC32.crc:I
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/zip/CRC32;
0 6 1 b [B
0 6 2 off I
0 6 3 len I
MethodParameters:
Name Flags
b
off
len
public void update(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 2
start local 2 1: aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
istore 3
start local 3 2: getstatic java.util.zip.CRC32.$assertionsDisabled:Z
ifne 3
iload 2
iload 3
if_icmple 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: int int
StackMap stack:
iload 3
iload 2
isub
istore 4
start local 4 4: iload 4
ifgt 6
5: return
6: StackMap locals: int
StackMap stack:
aload 1
instanceof sun.nio.ch.DirectBuffer
ifeq 9
7: aload 0
aload 0
getfield java.util.zip.CRC32.crc:I
aload 1
checkcast sun.nio.ch.DirectBuffer
invokeinterface sun.nio.ch.DirectBuffer.address:()J
iload 2
iload 4
invokestatic java.util.zip.CRC32.updateByteBuffer:(IJII)I
putfield java.util.zip.CRC32.crc:I
8: goto 18
StackMap locals:
StackMap stack:
9: aload 1
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 12
10: aload 0
aload 0
getfield java.util.zip.CRC32.crc:I
aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
iload 2
aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iadd
iload 4
invokestatic java.util.zip.CRC32.updateBytes:(I[BII)I
putfield java.util.zip.CRC32.crc:I
11: goto 18
12: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
sipush 4096
invokestatic java.lang.Math.min:(II)I
newarray 8
astore 5
start local 5 13: goto 17
14: StackMap locals: byte[]
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 5
arraylength
invokestatic java.lang.Math.min:(II)I
istore 6
start local 6 15: aload 1
aload 5
iconst_0
iload 6
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
16: aload 0
aload 5
iconst_0
iload 6
invokevirtual java.util.zip.CRC32.update:([BII)V
end local 6 17: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 14
end local 5 18: StackMap locals:
StackMap stack:
aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
19: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljava/util/zip/CRC32;
0 20 1 buffer Ljava/nio/ByteBuffer;
1 20 2 pos I
2 20 3 limit I
4 20 4 rem I
13 18 5 b [B
15 17 6 length I
MethodParameters:
Name Flags
buffer
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield java.util.zip.CRC32.crc:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/zip/CRC32;
public long getValue();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.zip.CRC32.crc:I
i2l
ldc 4294967295
land
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/zip/CRC32;
private static native int update(int, int);
descriptor: (II)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
jdk.internal.HotSpotIntrinsicCandidate()
MethodParameters:
Name Flags
crc
b
private static int updateBytes(int, byte[], int, int);
descriptor: (I[BII)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iload 2
iload 3
invokestatic java.util.zip.CRC32.updateBytesCheck:([BII)V
1: iload 0
aload 1
iload 2
iload 3
invokestatic java.util.zip.CRC32.updateBytes0:(I[BII)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 crc I
0 2 1 b [B
0 2 2 off I
0 2 3 len I
MethodParameters:
Name Flags
crc
b
off
len
private static native int updateBytes0(int, byte[], int, int);
descriptor: (I[BII)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
jdk.internal.HotSpotIntrinsicCandidate()
MethodParameters:
Name Flags
crc
b
off
len
private static void updateBytesCheck(byte[], int, int);
descriptor: ([BII)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifgt 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: iload 1
iflt 4
iload 1
aload 0
arraylength
if_icmplt 5
4: StackMap locals:
StackMap stack:
new java.lang.ArrayIndexOutOfBoundsException
dup
iload 1
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:(I)V
athrow
5: StackMap locals:
StackMap stack:
iload 1
iload 2
iadd
iconst_1
isub
istore 3
start local 3 6: iload 3
iflt 7
iload 3
aload 0
arraylength
if_icmplt 8
7: StackMap locals: int
StackMap stack:
new java.lang.ArrayIndexOutOfBoundsException
dup
iload 3
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:(I)V
athrow
8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 b [B
0 9 1 off I
0 9 2 len I
6 9 3 endIndex I
MethodParameters:
Name Flags
b
off
len
private static int updateByteBuffer(int, long, int, int);
descriptor: (IJII)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 3 start local 4 0: lload 1
invokestatic java.util.zip.CRC32.updateByteBufferCheck:(J)V
1: iload 0
lload 1
iload 3
iload 4
invokestatic java.util.zip.CRC32.updateByteBuffer0:(IJII)I
ireturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 alder I
0 2 1 addr J
0 2 3 off I
0 2 4 len I
MethodParameters:
Name Flags
alder
addr
off
len
private static native int updateByteBuffer0(int, long, int, int);
descriptor: (IJII)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
jdk.internal.HotSpotIntrinsicCandidate()
MethodParameters:
Name Flags
alder
addr
off
len
private static void updateByteBufferCheck(long);
descriptor: (J)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
lconst_0
lcmp
ifne 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 addr J
MethodParameters:
Name Flags
addr
}
SourceFile: "CRC32.java"