public class org.graalvm.compiler.hotspot.replacements.CRC32CSubstitutions
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.replacements.CRC32CSubstitutions
super_class: java.lang.Object
{
public static final org.graalvm.compiler.core.common.spi.ForeignCallDescriptor UPDATE_BYTES_CRC32C;
descriptor: Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=0, args_size=0
0: new org.graalvm.compiler.core.common.spi.ForeignCallDescriptor
dup
ldc "updateBytesCRC32C"
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
iconst_3
anewarray java.lang.Class
dup
iconst_0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
dup
iconst_1
ldc Lorg/graalvm/word/WordBase;
aastore
dup
iconst_2
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
invokespecial org.graalvm.compiler.core.common.spi.ForeignCallDescriptor.<init>:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.hotspot.replacements.CRC32CSubstitutions.UPDATE_BYTES_CRC32C:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/CRC32CSubstitutions;
static int updateBytes(int, byte[], int, int);
descriptor: (I[BII)I
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.arrayBaseOffset:(Ljdk/vm/ci/meta/JavaKind;)I
iload 2
iadd
i2l
invokestatic org.graalvm.compiler.hotspot.nodes.ComputeObjectAddressNode.get:(Ljava/lang/Object;J)J
invokestatic org.graalvm.word.WordFactory.unsigned:(J)Lorg/graalvm/word/UnsignedWord;
checkcast org.graalvm.compiler.word.Word
astore 4
start local 4 1: getstatic org.graalvm.compiler.hotspot.replacements.CRC32CSubstitutions.UPDATE_BYTES_CRC32C:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
iload 0
aload 4
iload 3
iload 2
isub
invokestatic org.graalvm.compiler.hotspot.replacements.CRC32CSubstitutions.updateBytesCRC32:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;ILorg/graalvm/word/WordBase;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 2 0 crc I
0 2 1 b [B
0 2 2 off I
0 2 3 end I
1 2 4 bufAddr Lorg/graalvm/compiler/word/Word;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
crc
b
off
end
static int updateDirectByteBuffer(int, long, int, int);
descriptor: (IJII)I
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 4 0: lload 1
invokestatic org.graalvm.word.WordFactory.unsigned:(J)Lorg/graalvm/word/UnsignedWord;
iload 3
invokeinterface org.graalvm.word.UnsignedWord.add:(I)Lorg/graalvm/word/UnsignedWord;
astore 5
start local 5 1: getstatic org.graalvm.compiler.hotspot.replacements.CRC32CSubstitutions.UPDATE_BYTES_CRC32C:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
iload 0
aload 5
iload 4
iload 3
isub
invokestatic org.graalvm.compiler.hotspot.replacements.CRC32CSubstitutions.updateBytesCRC32:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;ILorg/graalvm/word/WordBase;I)I
ireturn
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 crc I
0 2 1 addr J
0 2 3 off I
0 2 4 end I
1 2 5 bufAddr Lorg/graalvm/word/WordBase;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
crc
addr
off
end
public static native int updateBytesCRC32(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, int, org.graalvm.word.WordBase, int);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;ILorg/graalvm/word/WordBase;I)I
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
2:
3:
MethodParameters:
Name Flags
descriptor
crc
buf
length
}
SourceFile: "CRC32CSubstitutions.java"
InnerClasses:
public abstract ConstantNodeParameter = org.graalvm.compiler.graph.Node$ConstantNodeParameter of org.graalvm.compiler.graph.Node
public abstract NodeIntrinsic = org.graalvm.compiler.graph.Node$NodeIntrinsic of org.graalvm.compiler.graph.Node
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.ClassSubstitution(className = {"java.util.zip.CRC32C"}, optional = true)