public class org.graalvm.compiler.core.test.CopyOfVirtualizationTest 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.CopyOfVirtualizationTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
static final byte[] byteArray;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final short[] shortArray;
descriptor: [S
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final char[] charArray;
descriptor: [C
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final int[] intArray;
descriptor: [I
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final long[] longArray;
descriptor: [J
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final float[] floatArray;
descriptor: [F
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final double[] doubleArray;
descriptor: [D
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.Object[] objectArray;
descriptor: [Ljava/lang/Object;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=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
putstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.byteArray:[B
1: 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
putstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.shortArray:[S
2: 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
putstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.charArray:[C
3: 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
putstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.intArray:[I
4: 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
putstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.longArray:[J
5: 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
putstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.floatArray:[F
6: 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
putstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.doubleArray:[D
7: 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
putstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.objectArray:[Ljava/lang/Object;
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/core/test/CopyOfVirtualizationTest;
protected boolean checkMidTierGraph(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
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/CopyOfVirtualizationTest.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.CopyOfVirtualizationTest.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;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
0 4 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
graph
public byte byteCopyOfVirtualization(int);
descriptor: (I)B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 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 2
start local 2 1: aload 2
aload 2
arraylength
invokestatic java.util.Arrays.copyOf:([BI)[B
iload 1
baload
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
0 2 1 index I
1 2 2 array [B
MethodParameters:
Name Flags
index
public short shortCopyOfVirtualization(int);
descriptor: (I)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 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 2
start local 2 1: aload 2
aload 2
arraylength
invokestatic java.util.Arrays.copyOf:([SI)[S
iload 1
saload
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
0 2 1 index I
1 2 2 array [S
MethodParameters:
Name Flags
index
public char charCopyOfVirtualization(int);
descriptor: (I)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 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 2
start local 2 1: aload 2
aload 2
arraylength
invokestatic java.util.Arrays.copyOf:([CI)[C
iload 1
caload
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
0 2 1 index I
1 2 2 array [C
MethodParameters:
Name Flags
index
public int intCopyOfVirtualization(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 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 2
start local 2 1: aload 2
aload 2
arraylength
invokestatic java.util.Arrays.copyOf:([II)[I
iload 1
iaload
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
0 2 1 index I
1 2 2 array [I
MethodParameters:
Name Flags
index
public long longCopyOfVirtualization(int);
descriptor: (I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 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 2
start local 2 1: aload 2
aload 2
arraylength
invokestatic java.util.Arrays.copyOf:([JI)[J
iload 1
laload
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
0 2 1 index I
1 2 2 array [J
MethodParameters:
Name Flags
index
public float floatCopyOfVirtualization(int);
descriptor: (I)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 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 2
start local 2 1: aload 2
aload 2
arraylength
invokestatic java.util.Arrays.copyOf:([FI)[F
iload 1
faload
freturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
0 2 1 index I
1 2 2 array [F
MethodParameters:
Name Flags
index
public double doubleCopyOfVirtualization(int);
descriptor: (I)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 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 2
start local 2 1: aload 2
aload 2
arraylength
invokestatic java.util.Arrays.copyOf:([DI)[D
iload 1
daload
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
0 2 1 index I
1 2 2 array [D
MethodParameters:
Name Flags
index
public java.lang.Object objectCopyOfVirtualization(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 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 2
start local 2 1: aload 2
aload 2
arraylength
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
iload 1
aaload
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
0 2 1 index I
1 2 2 array [Ljava/lang/Object;
MethodParameters:
Name Flags
index
public void testCopyOfVirtualization();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
ldc "byteCopyOfVirtualization"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.compiler.core.test.CopyOfVirtualizationTest.test:(Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
ldc "shortCopyOfVirtualization"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.compiler.core.test.CopyOfVirtualizationTest.test:(Ljava/lang/String;[Ljava/lang/Object;)V
2: aload 0
ldc "charCopyOfVirtualization"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.compiler.core.test.CopyOfVirtualizationTest.test:(Ljava/lang/String;[Ljava/lang/Object;)V
3: aload 0
ldc "intCopyOfVirtualization"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.compiler.core.test.CopyOfVirtualizationTest.test:(Ljava/lang/String;[Ljava/lang/Object;)V
4: aload 0
ldc "longCopyOfVirtualization"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.compiler.core.test.CopyOfVirtualizationTest.test:(Ljava/lang/String;[Ljava/lang/Object;)V
5: aload 0
ldc "floatCopyOfVirtualization"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.compiler.core.test.CopyOfVirtualizationTest.test:(Ljava/lang/String;[Ljava/lang/Object;)V
6: aload 0
ldc "doubleCopyOfVirtualization"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.compiler.core.test.CopyOfVirtualizationTest.test:(Ljava/lang/String;[Ljava/lang/Object;)V
7: aload 0
ldc "objectCopyOfVirtualization"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.compiler.core.test.CopyOfVirtualizationTest.test:(Ljava/lang/String;[Ljava/lang/Object;)V
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
public byte byteCopyOfVirtualizableAllocation();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.byteArray:[B
getstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.byteArray:[B
arraylength
invokestatic java.util.Arrays.copyOf:([BI)[B
iconst_3
baload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
public short shortCopyOfVirtualizableAllocation();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.shortArray:[S
getstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.shortArray:[S
arraylength
invokestatic java.util.Arrays.copyOf:([SI)[S
iconst_3
saload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
public char charCopyOfVirtualizableAllocation();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.charArray:[C
getstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.charArray:[C
arraylength
invokestatic java.util.Arrays.copyOf:([CI)[C
iconst_3
caload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
public int intCopyOfVirtualizableAllocation();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.intArray:[I
getstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.intArray:[I
arraylength
invokestatic java.util.Arrays.copyOf:([II)[I
iconst_3
iaload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
public long longCopyOfVirtualizableAllocation();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.longArray:[J
getstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.longArray:[J
arraylength
invokestatic java.util.Arrays.copyOf:([JI)[J
iconst_3
laload
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
public float floatCopyOfVirtualizableAllocation();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.floatArray:[F
getstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.floatArray:[F
arraylength
invokestatic java.util.Arrays.copyOf:([FI)[F
iconst_3
faload
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
public double doubleCopyOfVirtualizableAllocation();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.doubleArray:[D
getstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.doubleArray:[D
arraylength
invokestatic java.util.Arrays.copyOf:([DI)[D
iconst_3
daload
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
public java.lang.Object objectCopyOfVirtualizableAllocation();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.objectArray:[Ljava/lang/Object;
getstatic org.graalvm.compiler.core.test.CopyOfVirtualizationTest.objectArray:[Ljava/lang/Object;
arraylength
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
iconst_3
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/CopyOfVirtualizationTest;
public void testCopyOfVirtualizableAllocation();
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/CopyOfVirtualizationTest;
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: "CopyOfVirtualizationTest.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles