public class org.graalvm.compiler.core.test.ArrayCopyVirtualizationTest 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.core.test.ArrayCopyVirtualizationTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
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/core/test/ArrayCopyVirtualizationTest;
protected void checkMidTierGraph(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokedynamic apply()Lorg/graalvm/compiler/graph/iterators/NodePredicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/graph/Node;)Z
org/graalvm/compiler/core/test/ArrayCopyVirtualizationTest.lambda$0(Lorg/graalvm/compiler/graph/Node;)Z (6)
(Lorg/graalvm/compiler/graph/Node;)Z
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Lorg/graalvm/compiler/graph/iterators/NodePredicate;)Lorg/graalvm/compiler/graph/iterators/FilteredNodeIterable;
invokevirtual org.graalvm.compiler.graph.iterators.FilteredNodeIterable.count:()I
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "shouldn't require allocation in %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic org.graalvm.compiler.core.test.ArrayCopyVirtualizationTest.assertTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
3: aload 0
aload 1
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.checkMidTierGraph:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/core/test/ArrayCopyVirtualizationTest;
0 5 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
graph
public byte byteCopyVirtualization();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_4
newarray 8
dup
iconst_0
iconst_1
bastore
dup
iconst_1
iconst_2
bastore
dup
iconst_2
iconst_3
bastore
dup
iconst_3
iconst_4
bastore
astore 1
start local 1 1: aload 1
iconst_1
aload 1
iconst_0
iconst_3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_0
baload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/ArrayCopyVirtualizationTest;
1 3 1 array [B
public short shortCopyVirtualization();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_4
newarray 9
dup
iconst_0
iconst_1
sastore
dup
iconst_1
iconst_2
sastore
dup
iconst_2
iconst_3
sastore
dup
iconst_3
iconst_4
sastore
astore 1
start local 1 1: aload 1
iconst_1
aload 1
iconst_0
iconst_2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_0
saload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/ArrayCopyVirtualizationTest;
1 3 1 array [S
public char charCopyVirtualization();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_4
newarray 5
dup
iconst_0
iconst_1
castore
dup
iconst_1
iconst_2
castore
dup
iconst_2
iconst_3
castore
dup
iconst_3
iconst_4
castore
astore 1
start local 1 1: aload 1
iconst_1
aload 1
iconst_0
iconst_3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_0
caload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/ArrayCopyVirtualizationTest;
1 3 1 array [C
public int intCopyVirtualization();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_4
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_3
iastore
dup
iconst_3
iconst_4
iastore
astore 1
start local 1 1: aload 1
iconst_1
aload 1
iconst_0
iconst_3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_0
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/ArrayCopyVirtualizationTest;
1 3 1 array [I
public long longCopyVirtualization();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_4
newarray 11
dup
iconst_0
lconst_1
lastore
dup
iconst_1
ldc 2
lastore
dup
iconst_2
ldc 3
lastore
dup
iconst_3
ldc 4
lastore
astore 1
start local 1 1: aload 1
iconst_1
aload 1
iconst_0
iconst_3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_0
laload
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/ArrayCopyVirtualizationTest;
1 3 1 array [J
public float floatCopyVirtualization();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_4
newarray 6
dup
iconst_0
fconst_1
fastore
dup
iconst_1
fconst_2
fastore
dup
iconst_2
ldc 3.0
fastore
dup
iconst_3
ldc 4.0
fastore
astore 1
start local 1 1: aload 1
iconst_1
aload 1
iconst_0
iconst_3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_0
faload
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/ArrayCopyVirtualizationTest;
1 3 1 array [F
public double doubleCopyVirtualization();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_4
newarray 7
dup
iconst_0
dconst_1
dastore
dup
iconst_1
ldc 2.0
dastore
dup
iconst_2
ldc 3.0
dastore
dup
iconst_3
ldc 4.0
dastore
astore 1
start local 1 1: aload 1
iconst_1
aload 1
iconst_0
iconst_3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_0
daload
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/ArrayCopyVirtualizationTest;
1 3 1 array [D
public java.lang.Object objectCopyVirtualization();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_4
anewarray java.lang.Object
dup
iconst_0
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
astore 1
start local 1 1: aload 1
iconst_1
aload 1
iconst_0
iconst_3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_0
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/ArrayCopyVirtualizationTest;
1 3 1 array [Ljava/lang/Object;
public void testCopyVirtualization();
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/core/test/ArrayCopyVirtualizationTest;
RuntimeInvisibleAnnotations:
Test()
public byte byteCopyBackwardsVirtualization();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_4
newarray 8
dup
iconst_0
iconst_1
bastore
dup
iconst_1
iconst_2
bastore
dup
iconst_2
iconst_3
bastore
dup
iconst_3
iconst_4
bastore
astore 1
start local 1 1: aload 1
iconst_0
aload 1
iconst_1
iconst_3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_3
baload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/ArrayCopyVirtualizationTest;
1 3 1 array [B
public short shortCopyBackwardsVirtualization();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_4
newarray 9
dup
iconst_0
iconst_1
sastore
dup
iconst_1
iconst_2
sastore
dup
iconst_2
iconst_3
sastore
dup
iconst_3
iconst_4
sastore
astore 1
start local 1 1: aload 1
iconst_0
aload 1
iconst_1
iconst_3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_3
saload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/ArrayCopyVirtualizationTest;
1 3 1 array [S
public char charCopyBackwardsVirtualization();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_4
newarray 5
dup
iconst_0
iconst_1
castore
dup
iconst_1
iconst_2
castore
dup
iconst_2
iconst_3
castore
dup
iconst_3
iconst_4
castore
astore 1
start local 1 1: aload 1
iconst_0
aload 1
iconst_1
iconst_3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_3
caload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/ArrayCopyVirtualizationTest;
1 3 1 array [C
public int intCopyBackwardsVirtualization();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_4
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_3
iastore
dup
iconst_3
iconst_4
iastore
astore 1
start local 1 1: aload 1
iconst_0
aload 1
iconst_1
iconst_3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_3
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/ArrayCopyVirtualizationTest;
1 3 1 array [I
public long longCopyBackwardsVirtualization();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_4
newarray 11
dup
iconst_0
lconst_1
lastore
dup
iconst_1
ldc 2
lastore
dup
iconst_2
ldc 3
lastore
dup
iconst_3
ldc 4
lastore
astore 1
start local 1 1: aload 1
iconst_0
aload 1
iconst_1
iconst_3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_3
laload
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/ArrayCopyVirtualizationTest;
1 3 1 array [J
public float floatCopyBackwardsVirtualization();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_4
newarray 6
dup
iconst_0
fconst_1
fastore
dup
iconst_1
fconst_2
fastore
dup
iconst_2
ldc 3.0
fastore
dup
iconst_3
ldc 4.0
fastore
astore 1
start local 1 1: aload 1
iconst_0
aload 1
iconst_1
iconst_3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_3
faload
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/ArrayCopyVirtualizationTest;
1 3 1 array [F
public double doubleCopyBackwardsVirtualization();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_4
newarray 7
dup
iconst_0
dconst_1
dastore
dup
iconst_1
ldc 2.0
dastore
dup
iconst_2
ldc 3.0
dastore
dup
iconst_3
ldc 4.0
dastore
astore 1
start local 1 1: aload 1
iconst_0
aload 1
iconst_1
iconst_3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_3
daload
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/ArrayCopyVirtualizationTest;
1 3 1 array [D
public java.lang.Object objectCopyBackwardsVirtualization();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_4
anewarray java.lang.Object
dup
iconst_0
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
astore 1
start local 1 1: aload 1
iconst_0
aload 1
iconst_1
iconst_3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_3
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/ArrayCopyVirtualizationTest;
1 3 1 array [Ljava/lang/Object;
public void testCopyBackwardsVirtualization();
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/core/test/ArrayCopyVirtualizationTest;
RuntimeInvisibleAnnotations:
Test()
private static boolean lambda$0(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.graalvm.compiler.nodes.java.NewArrayNode
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 node Lorg/graalvm/compiler/graph/Node;
}
SourceFile: "ArrayCopyVirtualizationTest.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles