public final class org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest extends org.graalvm.compiler.replacements.test.MethodSubstitutionTest
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest
super_class: org.graalvm.compiler.replacements.test.MethodSubstitutionTest
{
static final int N;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 100
private static org.graalvm.compiler.hotspot.GraalHotSpotVMConfig config;
descriptor: Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.math.BigInteger bigTwo;
descriptor: Ljava/math/BigInteger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.util.Random rnd;
descriptor: Ljava/util/Random;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/runtime/RuntimeProvider;
invokestatic org.graalvm.compiler.api.test.Graal.getRequiredCapability:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getVMConfig:()Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
putstatic org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest.config:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
1: ldc 2
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
putstatic org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest.bigTwo:Ljava/math/BigInteger;
2: new java.util.Random
dup
ldc 17
invokespecial java.util.Random.<init>:(J)V
putstatic org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest.rnd:Ljava/util/Random;
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 org.graalvm.compiler.replacements.test.MethodSubstitutionTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/BigIntegerIntrinsicsTest;
public void testMultiplyToLen();
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\torg.junit cannot be resolved\n\torg.junit cannot be resolved\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/BigIntegerIntrinsicsTest;
Exceptions:
throws java.lang.ClassNotFoundException
RuntimeInvisibleAnnotations:
Test()
public void testMulAdd();
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\torg.junit cannot be resolved\n\torg.junit cannot be resolved\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/BigIntegerIntrinsicsTest;
Exceptions:
throws java.lang.ClassNotFoundException
RuntimeInvisibleAnnotations:
Test()
public void testMontgomery();
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\torg.junit cannot be resolved\n\torg.junit cannot be resolved\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/BigIntegerIntrinsicsTest;
Exceptions:
throws java.lang.ClassNotFoundException
RuntimeInvisibleAnnotations:
Test()
public static java.math.BigInteger testMultiplyAux(java.math.BigInteger, java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a Ljava/math/BigInteger;
0 1 1 b Ljava/math/BigInteger;
MethodParameters:
Name Flags
a
b
public static java.math.BigInteger testMontgomeryAux(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
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 java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a Ljava/math/BigInteger;
0 1 1 exp Ljava/math/BigInteger;
0 1 2 b Ljava/math/BigInteger;
MethodParameters:
Name Flags
a
exp
b
private static java.math.BigInteger randomBig(int);
descriptor: (I)Ljava/math/BigInteger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.math.BigInteger
dup
getstatic org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest.rnd:Ljava/util/Random;
sipush 4096
invokevirtual java.util.Random.nextInt:(I)I
iload 0
invokestatic org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest.i2sz:(I)I
iadd
getstatic org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest.rnd:Ljava/util/Random;
invokespecial java.math.BigInteger.<init>:(ILjava/util/Random;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
MethodParameters:
Name Flags
i
private static int i2sz(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_3
imul
iconst_1
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
MethodParameters:
Name Flags
i
static jdk.vm.ci.meta.ResolvedJavaMethod access$0(org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest, java.lang.Class, java.lang.String, java.lang.Class[]);
descriptor: (Lorg/graalvm/compiler/hotspot/test/BigIntegerIntrinsicsTest;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
aload 3
invokevirtual org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest.getResolvedJavaMethod:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
areturn
LocalVariableTable:
Start End Slot Name Signature
static jdk.vm.ci.meta.ResolvedJavaMethod access$1(org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest, java.lang.String);
descriptor: (Lorg/graalvm/compiler/hotspot/test/BigIntegerIntrinsicsTest;Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest.getResolvedJavaMethod:(Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
areturn
LocalVariableTable:
Start End Slot Name Signature
static jdk.vm.ci.code.InstalledCode access$2(org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest, jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Lorg/graalvm/compiler/hotspot/test/BigIntegerIntrinsicsTest;Ljdk/vm/ci/meta/ResolvedJavaMethod;)Ljdk/vm/ci/code/InstalledCode;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest.getCode:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Ljdk/vm/ci/code/InstalledCode;
areturn
LocalVariableTable:
Start End Slot Name Signature
static java.lang.Object access$3(org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest, jdk.vm.ci.meta.ResolvedJavaMethod, java.lang.Object, java.lang.Object[]);
descriptor: (Lorg/graalvm/compiler/hotspot/test/BigIntegerIntrinsicsTest;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
aload 3
invokevirtual org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest.invokeSafe:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
static java.lang.Object access$4(jdk.vm.ci.code.InstalledCode, java.lang.Object[]);
descriptor: (Ljdk/vm/ci/code/InstalledCode;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokestatic org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest.executeVarargsSafe:(Ljdk/vm/ci/code/InstalledCode;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "BigIntegerIntrinsicsTest.java"
NestMembers:
org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest$TestIntrinsic
InnerClasses:
private TestIntrinsic = org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest$TestIntrinsic of org.graalvm.compiler.hotspot.test.BigIntegerIntrinsicsTest