public class org.graalvm.compiler.hotspot.test.CRC32CSubstitutionsTest extends org.graalvm.compiler.core.test.GraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.test.CRC32CSubstitutionsTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/CRC32CSubstitutionsTest;
public static long updateBytes(byte[], int, int);
descriptor: ([BII)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: ldc "java.util.zip.CRC32C"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
start local 3 1: invokestatic java.lang.invoke.MethodHandles.publicLookup:()Ljava/lang/invoke/MethodHandles$Lookup;
aload 3
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodHandles$Lookup.findConstructor:(Ljava/lang/Class;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
astore 4
start local 4 2: aload 4
invokevirtual java.lang.invoke.MethodHandle.invoke:()Ljava/util/zip/Checksum;
astore 5
start local 5 3: aload 5
aload 0
iload 1
iload 2
invokeinterface java.util.zip.Checksum.update:([BII)V
4: aload 5
invokeinterface java.util.zip.Checksum.getValue:()J
lreturn
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 5 0 input [B
0 5 1 offset I
0 5 2 end I
1 5 3 crcClass Ljava/lang/Class<*>;
2 5 4 newMH Ljava/lang/invoke/MethodHandle;
3 5 5 crc Ljava/util/zip/Checksum;
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
input
offset
end
public void test1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tThe method assumeFalse(boolean) is undefined for the type CRC32CSubstitutionsTest\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/CRC32CSubstitutionsTest;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
public static long updateByteBuffer(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: ldc "java.util.zip.CRC32C"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
start local 1 1: invokestatic java.lang.invoke.MethodHandles.publicLookup:()Ljava/lang/invoke/MethodHandles$Lookup;
aload 1
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodHandles$Lookup.findConstructor:(Ljava/lang/Class;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
astore 2
start local 2 2: invokestatic java.lang.invoke.MethodHandles.publicLookup:()Ljava/lang/invoke/MethodHandles$Lookup;
aload 1
ldc "update"
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
ldc Ljava/nio/ByteBuffer;
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodHandles$Lookup.findVirtual:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
astore 3
start local 3 3: aload 2
invokevirtual java.lang.invoke.MethodHandle.invoke:()Ljava/util/zip/Checksum;
astore 4
start local 4 4: aload 0
invokevirtual java.nio.ByteBuffer.rewind:()Ljava/nio/ByteBuffer;
pop
5: aload 3
aload 4
aload 0
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/util/zip/Checksum;Ljava/nio/ByteBuffer;)V
6: aload 4
invokeinterface java.util.zip.Checksum.getValue:()J
lreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 buffer Ljava/nio/ByteBuffer;
1 7 1 crcClass Ljava/lang/Class<*>;
2 7 2 newMH Ljava/lang/invoke/MethodHandle;
3 7 3 updateMH Ljava/lang/invoke/MethodHandle;
4 7 4 crc Ljava/util/zip/Checksum;
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
buffer
public void test2();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tThe method assumeFalse(boolean) is undefined for the type CRC32CSubstitutionsTest\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/CRC32CSubstitutionsTest;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "CRC32CSubstitutionsTest.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles