public class org.graalvm.compiler.replacements.test.ReplacementsParseTest extends org.graalvm.compiler.replacements.test.ReplacementsTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.test.ReplacementsParseTest
super_class: org.graalvm.compiler.replacements.test.ReplacementsTest
{
private static final java.lang.String IN_COMPILED_HANDLER_MARKER;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "*** in compiled handler ***"
private static final java.lang.String IN_INTERPRETED_HANDLER_MARKER;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "*** in interpreted handler ***"
private org.graalvm.compiler.nodes.graphbuilderconf.InlineInvokePlugin$InlineInfo inlineInvokeDecision;
descriptor: Lorg/graalvm/compiler/nodes/graphbuilderconf/InlineInvokePlugin$InlineInfo;
flags: (0x0002) ACC_PRIVATE
private java.lang.String inlineInvokeMethodName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
static final java.lang.Object THROW_EXCEPTION_MARKER;
descriptor: Ljava/lang/Object;
flags: (0x0018) ACC_STATIC, ACC_FINAL
boolean forceCompileOverride;
descriptor: Z
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.graalvm.compiler.replacements.test.ReplacementsParseTest$1
dup
invokespecial org.graalvm.compiler.replacements.test.ReplacementsParseTest$1.<init>:()V
putstatic org.graalvm.compiler.replacements.test.ReplacementsParseTest.THROW_EXCEPTION_MARKER:Ljava/lang/Object;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.replacements.test.ReplacementsTest.<init>:()V
1: aload 0
aconst_null
putfield org.graalvm.compiler.replacements.test.ReplacementsParseTest.inlineInvokeMethodName:Ljava/lang/String;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/replacements/test/ReplacementsParseTest;
static int copyFirstBody(byte[], byte[], boolean);
descriptor: ([B[BZ)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 4
1: aload 0
iconst_0
baload
istore 3
start local 3 2: aload 1
iconst_0
iload 3
bastore
3: iload 3
ireturn
end local 3 4: StackMap locals:
StackMap stack:
aload 1
iconst_0
baload
istore 3
start local 3 5: aload 0
iconst_0
iload 3
bastore
6: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 left [B
0 7 1 right [B
0 7 2 left2right Z
2 4 3 e B
5 7 3 e B
MethodParameters:
Name Flags
left
right
left2right
static int copyFirstL2RBody(byte[], byte[]);
descriptor: ([B[B)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
baload
istore 2
start local 2 1: aload 1
iconst_0
iload 2
bastore
2: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 left [B
0 3 1 right [B
1 3 2 e B
MethodParameters:
Name Flags
left
right
protected void registerInvocationPlugins(org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tPluginFactory_ReplacementsParseTest cannot be resolved to a type\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/replacements/test/ReplacementsParseTest;
MethodParameters:
Name Flags
invocationPlugins
public static void warmupProfiles();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tBeforeClass cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
RuntimeInvisibleAnnotations:
BeforeClass()
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 problem: \n\tTest cannot be resolved to a type\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/replacements/test/ReplacementsParseTest;
RuntimeInvisibleAnnotations:
Test()
public double test1Snippet(double);
descriptor: (D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: dload 1
invokestatic org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestObject.next:(D)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/ReplacementsParseTest;
0 1 1 d D
MethodParameters:
Name Flags
d
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 problem: \n\tTest cannot be resolved to a type\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/replacements/test/ReplacementsParseTest;
RuntimeInvisibleAnnotations:
Test()
public double test2Snippet(double);
descriptor: (D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: dload 1
invokestatic org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestObject.next2:(D)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/ReplacementsParseTest;
0 1 1 d D
MethodParameters:
Name Flags
d
public void testNextAfter();
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\tAssume 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/replacements/test/ReplacementsParseTest;
RuntimeInvisibleAnnotations:
Test()
public void doNextAfter(double[], double[]);
descriptor: ([D[D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 7
2: StackMap locals: int
StackMap stack:
iload 3
iconst_1
iand
ifne 3
ldc Infinity
goto 4
StackMap locals:
StackMap stack:
3: ldc Infinity
StackMap locals:
StackMap stack: double
4: dstore 4
start local 4 5: aload 1
iload 3
aload 2
iload 3
daload
dload 4
invokestatic org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestObject.nextAfter:(DD)D
dastore
end local 4 6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 2
arraylength
if_icmplt 2
end local 3 8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/replacements/test/ReplacementsParseTest;
0 9 1 outArray [D
0 9 2 inArray [D
1 8 3 i I
5 6 4 direction D
MethodParameters:
Name Flags
outArray
inArray
private void testWithDifferentReturnValues(org.graalvm.compiler.options.OptionValues, java.lang.String, java.lang.String, java.lang.String, java.lang.Object[]);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=3, locals=6, args_size=6
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tAssert 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/replacements/test/ReplacementsParseTest;
MethodParameters:
Name Flags
options
standardReturnValue
compiledReturnValue
name
args
protected jdk.vm.ci.code.InstalledCode getCode(jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.StructuredGraph, boolean, boolean, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;ZZLorg/graalvm/compiler/options/OptionValues;)Ljdk/vm/ci/code/InstalledCode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 0
getfield org.graalvm.compiler.replacements.test.ReplacementsParseTest.forceCompileOverride:Z
iload 4
aload 5
invokespecial org.graalvm.compiler.replacements.test.ReplacementsTest.getCode:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;ZZLorg/graalvm/compiler/options/OptionValues;)Ljdk/vm/ci/code/InstalledCode;
areturn
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 1 0 this Lorg/graalvm/compiler/replacements/test/ReplacementsParseTest;
0 1 1 installedCodeOwner Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 1 2 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 1 3 forceCompile Z
0 1 4 installAsDefault Z
0 1 5 options Lorg/graalvm/compiler/options/OptionValues;
MethodParameters:
Name Flags
installedCodeOwner final
graph
forceCompile
installAsDefault
options
public void testCallStringize();
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 problem: \n\tTest cannot be resolved to a type\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/replacements/test/ReplacementsParseTest;
RuntimeInvisibleAnnotations:
Test()
public void testCallStringizeWithoutInlinePartialIntrinsicExit();
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 problem: \n\tTest cannot be resolved to a type\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/replacements/test/ReplacementsParseTest;
RuntimeInvisibleAnnotations:
Test()
public void testCallStringizeId();
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 problem: \n\tTest cannot be resolved to a type\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/replacements/test/ReplacementsParseTest;
RuntimeInvisibleAnnotations:
Test()
public void testCallStringizeIdWithoutInlinePartialIntrinsicExit();
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 problem: \n\tTest cannot be resolved to a type\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/replacements/test/ReplacementsParseTest;
RuntimeInvisibleAnnotations:
Test()
public static java.lang.Object callStringize(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestObject.stringize:(Ljava/lang/Object;)Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: org.graalvm.compiler.replacements.test.ReplacementsParseTest$CustomError
pop
3: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.inCompiledCode:()Z
ifeq 5
4: ldc "*** in compiled handler ***"
areturn
5: StackMap locals:
StackMap stack:
ldc "*** in interpreted handler ***"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 obj Ljava/lang/Object;
Exception table:
from to target type
0 1 2 Class org.graalvm.compiler.replacements.test.ReplacementsParseTest$CustomError
MethodParameters:
Name Flags
obj
public static java.lang.Object callStringizeId(org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestObject);
descriptor: (Lorg/graalvm/compiler/replacements/test/ReplacementsParseTest$TestObject;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestObject.stringizeId:()Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: org.graalvm.compiler.replacements.test.ReplacementsParseTest$CustomError
pop
3: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.inCompiledCode:()Z
ifeq 5
4: ldc "*** in compiled handler ***"
areturn
5: StackMap locals:
StackMap stack:
ldc "*** in interpreted handler ***"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 testObj Lorg/graalvm/compiler/replacements/test/ReplacementsParseTest$TestObject;
Exception table:
from to target type
0 1 2 Class org.graalvm.compiler.replacements.test.ReplacementsParseTest$CustomError
MethodParameters:
Name Flags
testObj
public void testRootCompileStringize();
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 problem: \n\tTest cannot be resolved to a type\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/replacements/test/ReplacementsParseTest;
RuntimeInvisibleAnnotations:
Test()
public void testLambda();
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 problem: \n\tTest cannot be resolved to a type\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/replacements/test/ReplacementsParseTest;
RuntimeInvisibleAnnotations:
Test()
public static java.lang.String callLambda(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestObject.identity:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public static int callCopyFirst(byte[], byte[], boolean);
descriptor: ([B[BZ)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokestatic org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestObject.copyFirst:([B[BZ)I
istore 3
start local 3 1: iload 3
bipush 17
if_icmpne 3
2: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.deoptimize:()V
3: StackMap locals: int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 in [B
0 4 1 out [B
0 4 2 left2right Z
1 4 3 res I
MethodParameters:
Name Flags
in
out
left2right
public static int callCopyFirstWrapper(byte[], byte[], boolean);
descriptor: ([B[BZ)I
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
iload 2
invokestatic org.graalvm.compiler.replacements.test.ReplacementsParseTest.callCopyFirst:([B[BZ)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 in [B
0 1 1 out [B
0 1 2 left2right Z
MethodParameters:
Name Flags
in
out
left2right
public static int callCopyFirstL2R(byte[], byte[]);
descriptor: ([B[B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestObject.copyFirstL2R:([B[B)I
istore 2
start local 2 1: iload 2
bipush 17
if_icmpne 3
2: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.deoptimize:()V
3: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 in [B
0 4 1 out [B
1 4 2 res I
MethodParameters:
Name Flags
in
out
public void testCallCopyFirst();
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 problem: \n\tTest cannot be resolved to a type\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/replacements/test/ReplacementsParseTest;
RuntimeInvisibleAnnotations:
Test()
public void testCallCopyFirstL2R();
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 problem: \n\tTest cannot be resolved to a type\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/replacements/test/ReplacementsParseTest;
RuntimeInvisibleAnnotations:
Test()
protected org.graalvm.compiler.nodes.graphbuilderconf.InlineInvokePlugin$InlineInfo bytecodeParserShouldInlineInvoke(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext, jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.ValueNode[]);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Ljdk/vm/ci/meta/ResolvedJavaMethod;[Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/graphbuilderconf/InlineInvokePlugin$InlineInfo;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.graalvm.compiler.replacements.test.ReplacementsParseTest.inlineInvokeMethodName:Ljava/lang/String;
ifnull 1
aload 0
getfield org.graalvm.compiler.replacements.test.ReplacementsParseTest.inlineInvokeMethodName:Ljava/lang/String;
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.replacements.test.ReplacementsParseTest.inlineInvokeDecision:Lorg/graalvm/compiler/nodes/graphbuilderconf/InlineInvokePlugin$InlineInfo;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/replacements/test/ReplacementsParseTest;
0 3 1 b Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;
0 3 2 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 3 3 args [Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
b
method
args
public void testCallCopyFirstWithoutInlinePartialIntrinsicExit();
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 problem: \n\tTest cannot be resolved to a type\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/replacements/test/ReplacementsParseTest;
RuntimeInvisibleAnnotations:
Test()
public static int nonVoidIntrinsicWithCall(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
invokestatic org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestObject.nonVoidIntrinsicWithCall:(II)I
iload 0
if_icmpne 2
1: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.deoptimize:()V
2: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 x I
0 3 1 y I
MethodParameters:
Name Flags
x
y
public void testNonVoidIntrinsicWithCall();
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 problem: \n\tTest cannot be resolved to a type\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/replacements/test/ReplacementsParseTest;
RuntimeInvisibleAnnotations:
Test()
public static int nonVoidIntrinsicWithOptimizedSplit(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
invokestatic org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestObject.nonVoidIntrinsicWithOptimizedSplit:(I)I
iload 0
if_icmpne 2
1: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.deoptimize:()V
2: StackMap locals:
StackMap stack:
iload 0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 x I
MethodParameters:
Name Flags
x
public void testNonVoidIntrinsicWithOptimizedSplit();
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 problem: \n\tTest cannot be resolved to a type\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/replacements/test/ReplacementsParseTest;
RuntimeInvisibleAnnotations:
Test()
public static int div(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
invokestatic org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestObject.div:(II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x I
0 1 1 y I
MethodParameters:
Name Flags
x
y
public void testAssertionInMethodSubstitution();
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 problem: \n\tTest cannot be resolved to a type\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/replacements/test/ReplacementsParseTest;
RuntimeInvisibleAnnotations:
Test()
private void testGraph(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
invokevirtual org.graalvm.compiler.replacements.test.ReplacementsParseTest.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 2
start local 2 1: aconst_null
astore 3
aconst_null
astore 4
2: aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
aload 1
aload 2
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 5
start local 5 3: aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
ldc Lorg/graalvm/compiler/nodes/extended/OpaqueNode;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 7
goto 6
StackMap locals: org.graalvm.compiler.replacements.test.ReplacementsParseTest java.lang.String org.graalvm.compiler.nodes.StructuredGraph java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope top java.util.Iterator
StackMap stack:
4: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.extended.OpaqueNode
astore 6
start local 6 5: aload 6
invokevirtual org.graalvm.compiler.nodes.extended.OpaqueNode.remove:()V
end local 6 6: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 0
invokevirtual org.graalvm.compiler.replacements.test.ReplacementsParseTest.getDefaultHighTierContext:()Lorg/graalvm/compiler/phases/tiers/HighTierContext;
astore 6
start local 6 8: aload 0
invokevirtual org.graalvm.compiler.replacements.test.ReplacementsParseTest.createCanonicalizerPhase:()Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
astore 7
start local 7 9: new org.graalvm.compiler.phases.common.LoweringPhase
dup
aload 7
getstatic org.graalvm.compiler.nodes.spi.LoweringTool$StandardLoweringStage.HIGH_TIER:Lorg/graalvm/compiler/nodes/spi/LoweringTool$StandardLoweringStage;
invokespecial org.graalvm.compiler.phases.common.LoweringPhase.<init>:(Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
aload 2
aload 6
invokevirtual org.graalvm.compiler.phases.common.LoweringPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
10: new org.graalvm.compiler.phases.common.FloatingReadPhase
dup
invokespecial org.graalvm.compiler.phases.common.FloatingReadPhase.<init>:()V
aload 2
invokevirtual org.graalvm.compiler.phases.common.FloatingReadPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
11: aload 7
aload 2
aload 6
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
12: new org.graalvm.compiler.phases.common.DeadCodeEliminationPhase
dup
invokespecial org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.<init>:()V
aload 2
invokevirtual org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
13: new org.graalvm.compiler.phases.common.GuardLoweringPhase
dup
invokespecial org.graalvm.compiler.phases.common.GuardLoweringPhase.<init>:()V
aload 2
aload 0
invokevirtual org.graalvm.compiler.replacements.test.ReplacementsParseTest.getDefaultMidTierContext:()Lorg/graalvm/compiler/phases/tiers/MidTierContext;
invokevirtual org.graalvm.compiler.phases.common.GuardLoweringPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
14: new org.graalvm.compiler.phases.common.FrameStateAssignmentPhase
dup
invokespecial org.graalvm.compiler.phases.common.FrameStateAssignmentPhase.<init>:()V
aload 2
invokevirtual org.graalvm.compiler.phases.common.FrameStateAssignmentPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
end local 7 end local 6 15: aload 5
ifnull 23
aload 5
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 23
StackMap locals: org.graalvm.compiler.replacements.test.ReplacementsParseTest java.lang.String org.graalvm.compiler.nodes.StructuredGraph java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack: java.lang.Throwable
16: astore 3
aload 5
ifnull 17
aload 5
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 5 StackMap locals:
StackMap stack:
17: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 4
aload 3
ifnonnull 19
aload 4
astore 3
goto 20
StackMap locals:
StackMap stack:
19: aload 3
aload 4
if_acmpeq 20
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 3
athrow
StackMap locals: org.graalvm.compiler.replacements.test.ReplacementsParseTest java.lang.String org.graalvm.compiler.nodes.StructuredGraph
StackMap stack: java.lang.Throwable
21: astore 3
start local 3 22: aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
aload 3
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 3 23: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/graalvm/compiler/replacements/test/ReplacementsParseTest;
0 24 1 name Ljava/lang/String;
1 24 2 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
3 17 5 s0 Lorg/graalvm/compiler/debug/DebugContext$Scope;
5 6 6 node Lorg/graalvm/compiler/nodes/extended/OpaqueNode;
8 15 6 context Lorg/graalvm/compiler/phases/tiers/HighTierContext;
9 15 7 canonicalizer Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
22 23 3 e Ljava/lang/Throwable;
Exception table:
from to target type
3 15 16 any
2 18 18 any
1 21 21 Class java.lang.Throwable
MethodParameters:
Name Flags
name
static org.graalvm.compiler.api.replacements.SnippetReflectionProvider access$0(org.graalvm.compiler.replacements.test.ReplacementsParseTest);
descriptor: (Lorg/graalvm/compiler/replacements/test/ReplacementsParseTest;)Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.graalvm.compiler.replacements.test.ReplacementsParseTest.getSnippetReflection:()Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ReplacementsParseTest.java"
NestMembers:
org.graalvm.compiler.replacements.test.ReplacementsParseTest$1 org.graalvm.compiler.replacements.test.ReplacementsParseTest$CustomError org.graalvm.compiler.replacements.test.ReplacementsParseTest$DummyInjectionProvider org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestForeignCallDescriptor org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestObject org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestObjectSubstitutions
InnerClasses:
public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph
public final InlineInfo = org.graalvm.compiler.nodes.graphbuilderconf.InlineInvokePlugin$InlineInfo of org.graalvm.compiler.nodes.graphbuilderconf.InlineInvokePlugin
public abstract LoweringStage = org.graalvm.compiler.nodes.spi.LoweringTool$LoweringStage of org.graalvm.compiler.nodes.spi.LoweringTool
public final StandardLoweringStage = org.graalvm.compiler.nodes.spi.LoweringTool$StandardLoweringStage of org.graalvm.compiler.nodes.spi.LoweringTool
org.graalvm.compiler.replacements.test.ReplacementsParseTest$1
CustomError = org.graalvm.compiler.replacements.test.ReplacementsParseTest$CustomError of org.graalvm.compiler.replacements.test.ReplacementsParseTest
private DummyInjectionProvider = org.graalvm.compiler.replacements.test.ReplacementsParseTest$DummyInjectionProvider of org.graalvm.compiler.replacements.test.ReplacementsParseTest
TestForeignCallDescriptor = org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestForeignCallDescriptor of org.graalvm.compiler.replacements.test.ReplacementsParseTest
TestObject = org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestObject of org.graalvm.compiler.replacements.test.ReplacementsParseTest
TestObjectSubstitutions = org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestObjectSubstitutions of org.graalvm.compiler.replacements.test.ReplacementsParseTest