public class org.graalvm.compiler.replacements.test.NewMultiArrayTest 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.replacements.test.NewMultiArrayTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
jdk.vm.ci.meta.ResolvedJavaType arrayType;
descriptor: Ljdk/vm/ci/meta/ResolvedJavaType;
flags: (0x0000)
jdk.vm.ci.meta.ResolvedJavaType bottomType;
descriptor: Ljdk/vm/ci/meta/ResolvedJavaType;
flags: (0x0000)
java.lang.Class<?> bottomClass;
descriptor: Ljava/lang/Class;
flags: (0x0000)
Signature: Ljava/lang/Class<*>;
int[] dimensions;
descriptor: [I
flags: (0x0000)
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/replacements/test/NewMultiArrayTest;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.replacements.test.NewMultiArrayTest.$assertionsDisabled:Z
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.core.test.GraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/NewMultiArrayTest;
private static int rank(jdk.vm.ci.meta.ResolvedJavaType);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getName:()Ljava/lang/String;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 4
3: StackMap locals: java.lang.String int
StackMap stack:
iinc 2 1
4: StackMap locals:
StackMap stack:
iload 2
aload 1
invokevirtual java.lang.String.length:()I
if_icmpge 5
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
bipush 91
if_icmpeq 3
5: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 type Ljdk/vm/ci/meta/ResolvedJavaType;
1 6 1 name Ljava/lang/String;
2 6 2 dims I
MethodParameters:
Name Flags
type
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=13, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
ifnonnull 1
aload 0
aload 1
aload 5
invokevirtual org.graalvm.compiler.replacements.test.NewMultiArrayTest.parseForCompile:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
goto 2
StackMap locals:
StackMap stack:
1: aload 2
StackMap locals:
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph
2: astore 6
start local 6 3: iconst_0
istore 7
start local 7 4: aload 0
getfield org.graalvm.compiler.replacements.test.NewMultiArrayTest.bottomType:Ljdk/vm/ci/meta/ResolvedJavaType;
ifnull 20
5: aload 6
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
ldc Lorg/graalvm/compiler/nodes/java/NewMultiArrayNode;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.snapshot:()Ljava/util/List;
astore 8
start local 8 6: getstatic org.graalvm.compiler.replacements.test.NewMultiArrayTest.$assertionsDisabled:Z
ifne 7
aload 8
ifnonnull 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph int java.util.List
StackMap stack:
getstatic org.graalvm.compiler.replacements.test.NewMultiArrayTest.$assertionsDisabled:Z
ifne 8
aload 8
invokeinterface java.util.List.size:()I
iconst_1
if_icmpeq 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
aload 8
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.java.NewMultiArrayNode
astore 9
start local 9 9: getstatic org.graalvm.compiler.replacements.test.NewMultiArrayTest.$assertionsDisabled:Z
ifne 10
aload 0
getfield org.graalvm.compiler.replacements.test.NewMultiArrayTest.arrayType:Ljdk/vm/ci/meta/ResolvedJavaType;
invokestatic org.graalvm.compiler.replacements.test.NewMultiArrayTest.rank:(Ljdk/vm/ci/meta/ResolvedJavaType;)I
aload 0
getfield org.graalvm.compiler.replacements.test.NewMultiArrayTest.dimensions:[I
arraylength
if_icmpeq 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals: org.graalvm.compiler.nodes.java.NewMultiArrayNode
StackMap stack:
aload 0
getfield org.graalvm.compiler.replacements.test.NewMultiArrayTest.dimensions:[I
arraylength
istore 10
start local 10 11: iload 10
anewarray org.graalvm.compiler.nodes.ValueNode
astore 11
start local 11 12: iconst_0
istore 12
start local 12 13: goto 16
14: StackMap locals: int org.graalvm.compiler.nodes.ValueNode[] int
StackMap stack:
aload 11
iload 12
aload 0
getfield org.graalvm.compiler.replacements.test.NewMultiArrayTest.dimensions:[I
iload 12
iaload
aload 6
invokestatic org.graalvm.compiler.nodes.ConstantNode.forInt:(ILorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
aastore
15: iinc 12 1
StackMap locals:
StackMap stack:
16: iload 12
iload 10
if_icmplt 14
end local 12 17: aload 6
new org.graalvm.compiler.nodes.java.NewMultiArrayNode
dup
aload 0
getfield org.graalvm.compiler.replacements.test.NewMultiArrayTest.arrayType:Ljdk/vm/ci/meta/ResolvedJavaType;
aload 11
invokespecial org.graalvm.compiler.nodes.java.NewMultiArrayNode.<init>:(Ljdk/vm/ci/meta/ResolvedJavaType;[Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.java.NewMultiArrayNode
astore 12
start local 12 18: aload 6
aload 9
aload 12
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.replaceFixedWithFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
19: iconst_1
istore 7
end local 12 end local 11 end local 10 end local 9 end local 8 20: StackMap locals: org.graalvm.compiler.replacements.test.NewMultiArrayTest jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.StructuredGraph int int org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.StructuredGraph int
StackMap stack:
aload 0
aload 1
aload 6
iload 7
iload 4
aload 5
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.getCode:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;ZZLorg/graalvm/compiler/options/OptionValues;)Ljdk/vm/ci/code/InstalledCode;
areturn
end local 7 end local 6 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 21 0 this Lorg/graalvm/compiler/replacements/test/NewMultiArrayTest;
0 21 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 21 2 g Lorg/graalvm/compiler/nodes/StructuredGraph;
0 21 3 ignore Z
0 21 4 installAsDefault Z
0 21 5 options Lorg/graalvm/compiler/options/OptionValues;
3 21 6 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
4 21 7 forceCompile Z
6 20 8 snapshot Ljava/util/List<Lorg/graalvm/compiler/nodes/java/NewMultiArrayNode;>;
9 20 9 node Lorg/graalvm/compiler/nodes/java/NewMultiArrayNode;
11 20 10 rank I
12 20 11 dimensionNodes [Lorg/graalvm/compiler/nodes/ValueNode;
13 17 12 i I
18 20 12 repl Lorg/graalvm/compiler/nodes/java/NewMultiArrayNode;
MethodParameters:
Name Flags
method
g
ignore
installAsDefault
options
protected java.lang.Object referenceInvoke(jdk.vm.ci.meta.ResolvedJavaMethod, java.lang.Object, java.lang.Object[]);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.graalvm.compiler.replacements.test.NewMultiArrayTest.bottomType:Ljdk/vm/ci/meta/ResolvedJavaType;
ifnull 5
1: aload 0
getfield org.graalvm.compiler.replacements.test.NewMultiArrayTest.bottomClass:Ljava/lang/Class;
aload 0
getfield org.graalvm.compiler.replacements.test.NewMultiArrayTest.dimensions:[I
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;[I)Ljava/lang/Object;
2: areturn
3: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 4: new java.lang.reflect.InvocationTargetException
dup
aload 4
invokespecial java.lang.reflect.InvocationTargetException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 5: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.referenceInvoke:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/replacements/test/NewMultiArrayTest;
0 6 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 6 2 receiver Ljava/lang/Object;
0 6 3 args [Ljava/lang/Object;
4 5 4 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
Exceptions:
throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException, java.lang.InstantiationException
MethodParameters:
Name Flags
method
receiver
args
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/NewMultiArrayTest;
RuntimeInvisibleAnnotations:
Test()
public static java.lang.Object newMultiArray();
descriptor: ()Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: bipush 10
bipush 9
bipush 8
multianewarray [[[Ljava/lang/Object; 3
areturn
LocalVariableTable:
Start End Slot Name Signature
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/NewMultiArrayTest;
RuntimeInvisibleAnnotations:
Test()
public static java.lang.Object newMultiArrayException();
descriptor: ()Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: bipush 10
bipush 9
bipush -8
multianewarray [[[Ljava/lang/Object; 3
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "NewMultiArrayTest.java"