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);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;)Ljdk/vm/ci/code/InstalledCode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 1
aload 0
aload 1
invokevirtual org.graalvm.compiler.replacements.test.NewMultiArrayTest.parseForCompile:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)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 3
start local 3 3: iconst_0
istore 4
start local 4 4: aload 0
getfield org.graalvm.compiler.replacements.test.NewMultiArrayTest.bottomType:Ljdk/vm/ci/meta/ResolvedJavaType;
ifnull 20
5: aload 3
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 5
start local 5 6: getstatic org.graalvm.compiler.replacements.test.NewMultiArrayTest.$assertionsDisabled:Z
ifne 7
aload 5
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 5
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 5
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.java.NewMultiArrayNode
astore 6
start local 6 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 7
start local 7 11: iload 7
anewarray org.graalvm.compiler.nodes.ValueNode
astore 8
start local 8 12: iconst_0
istore 9
start local 9 13: goto 16
14: StackMap locals: int org.graalvm.compiler.nodes.ValueNode[] int
StackMap stack:
aload 8
iload 9
aload 0
getfield org.graalvm.compiler.replacements.test.NewMultiArrayTest.dimensions:[I
iload 9
iaload
aload 3
invokestatic org.graalvm.compiler.nodes.ConstantNode.forInt:(ILorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
aastore
15: iinc 9 1
StackMap locals:
StackMap stack:
16: iload 9
iload 7
if_icmplt 14
end local 9 17: aload 3
new org.graalvm.compiler.nodes.java.NewMultiArrayNode
dup
aload 0
getfield org.graalvm.compiler.replacements.test.NewMultiArrayTest.arrayType:Ljdk/vm/ci/meta/ResolvedJavaType;
aload 8
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 9
start local 9 18: aload 3
aload 6
aload 9
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.replaceFixedWithFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
19: iconst_1
istore 4
end local 9 end local 8 end local 7 end local 6 end local 5 20: StackMap locals: org.graalvm.compiler.replacements.test.NewMultiArrayTest jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.StructuredGraph int
StackMap stack:
aload 0
aload 1
aload 3
iload 4
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.getCode:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;Z)Ljdk/vm/ci/code/InstalledCode;
areturn
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;
3 21 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
4 21 4 forceCompile Z
6 20 5 snapshot Ljava/util/List<Lorg/graalvm/compiler/nodes/java/NewMultiArrayNode;>;
9 20 6 node Lorg/graalvm/compiler/nodes/java/NewMultiArrayNode;
11 20 7 rank I
12 20 8 dimensionNodes [Lorg/graalvm/compiler/nodes/ValueNode;
13 17 9 i I
18 20 9 repl Lorg/graalvm/compiler/nodes/java/NewMultiArrayNode;
MethodParameters:
Name Flags
method final
g
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
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"