public class org.graalvm.compiler.replacements.test.StringIndexOfConstantTest extends org.graalvm.compiler.replacements.test.StringIndexOfTestBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.test.StringIndexOfConstantTest
super_class: org.graalvm.compiler.replacements.test.StringIndexOfTestBase
{
java.lang.Object[] constantArgs;
descriptor: [Ljava/lang/Object;
flags: (0x0000)
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.graalvm.compiler.replacements.test.StringIndexOfTestBase.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/replacements/test/StringIndexOfConstantTest;
0 2 1 sourceString Ljava/lang/String;
0 2 2 constantString Ljava/lang/String;
MethodParameters:
Name Flags
sourceString
constantString
public void testStringIndexOfConstant();
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/StringIndexOfConstantTest;
RuntimeInvisibleAnnotations:
Test()
public void testStringIndexOfConstantOffset();
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/StringIndexOfConstantTest;
RuntimeInvisibleAnnotations:
Test()
public void testStringBuilderIndexOfConstant();
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/StringIndexOfConstantTest;
RuntimeInvisibleAnnotations:
Test()
public void testStringBuilderIndexOfConstantOffset();
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/StringIndexOfConstantTest;
RuntimeInvisibleAnnotations:
Test()
protected org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration editGraphBuilderConfiguration(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.replacements.test.StringIndexOfConstantTest.constantArgs:[Ljava/lang/Object;
ifnull 3
1: new org.graalvm.compiler.replacements.ConstantBindingParameterPlugin
dup
aload 0
getfield org.graalvm.compiler.replacements.test.StringIndexOfConstantTest.constantArgs:[Ljava/lang/Object;
aload 0
invokevirtual org.graalvm.compiler.replacements.test.StringIndexOfConstantTest.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 0
invokevirtual org.graalvm.compiler.replacements.test.StringIndexOfConstantTest.getSnippetReflection:()Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
invokespecial org.graalvm.compiler.replacements.ConstantBindingParameterPlugin.<init>:([Ljava/lang/Object;Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;)V
astore 2
start local 2 2: aload 1
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration.getPlugins:()Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
aload 2
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins.appendParameterPlugin:(Lorg/graalvm/compiler/nodes/graphbuilderconf/ParameterPlugin;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial org.graalvm.compiler.replacements.test.StringIndexOfTestBase.editGraphBuilderConfiguration:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/replacements/test/StringIndexOfConstantTest;
0 4 1 conf Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
2 3 2 constantBinding Lorg/graalvm/compiler/replacements/ConstantBindingParameterPlugin;
MethodParameters:
Name Flags
conf
protected org.graalvm.compiler.core.test.GraalCompilerTest$Result test(org.graalvm.compiler.options.OptionValues, jdk.vm.ci.meta.ResolvedJavaMethod, java.lang.Object, java.lang.Object[]);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/graalvm/compiler/core/test/GraalCompilerTest$Result;
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 4
arraylength
iconst_1
iadd
anewarray java.lang.Object
putfield org.graalvm.compiler.replacements.test.StringIndexOfConstantTest.constantArgs:[Ljava/lang/Object;
1: iconst_0
istore 5
start local 5 2: goto 6
3: StackMap locals: int
StackMap stack:
aload 4
iload 5
aaload
aload 0
getfield org.graalvm.compiler.replacements.test.StringIndexOfConstantTest.constantString:Ljava/lang/String;
if_acmpne 5
4: aload 0
getfield org.graalvm.compiler.replacements.test.StringIndexOfConstantTest.constantArgs:[Ljava/lang/Object;
iload 5
iconst_1
iadd
aload 0
getfield org.graalvm.compiler.replacements.test.StringIndexOfConstantTest.constantString:Ljava/lang/String;
aastore
5: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
aload 4
arraylength
if_icmplt 3
end local 5 7: aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial org.graalvm.compiler.replacements.test.StringIndexOfTestBase.test:(Lorg/graalvm/compiler/options/OptionValues;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/graalvm/compiler/core/test/GraalCompilerTest$Result;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/replacements/test/StringIndexOfConstantTest;
0 8 1 options Lorg/graalvm/compiler/options/OptionValues;
0 8 2 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 8 3 receiver Ljava/lang/Object;
0 8 4 args [Ljava/lang/Object;
2 7 5 i I
MethodParameters:
Name Flags
options
method
receiver
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
1: iconst_1
iconst_0
aload 5
2: invokespecial org.graalvm.compiler.replacements.test.StringIndexOfTestBase.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 3 0 this Lorg/graalvm/compiler/replacements/test/StringIndexOfConstantTest;
0 3 1 installedCodeOwner Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 3 2 graph0 Lorg/graalvm/compiler/nodes/StructuredGraph;
0 3 3 ignoreForceCompile Z
0 3 4 ignoreInstallAsDefault Z
0 3 5 options Lorg/graalvm/compiler/options/OptionValues;
MethodParameters:
Name Flags
installedCodeOwner final
graph0
ignoreForceCompile
ignoreInstallAsDefault
options
}
SourceFile: "StringIndexOfConstantTest.java"
InnerClasses:
public Result = org.graalvm.compiler.core.test.GraalCompilerTest$Result of org.graalvm.compiler.core.test.GraalCompilerTest
public Plugins = org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins of org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration