public class org.graalvm.compiler.hotspot.replacements.ObjectCloneSnippets implements org.graalvm.compiler.replacements.Snippets
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.replacements.ObjectCloneSnippets
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/ObjectCloneSnippets;
public static boolean[] booleanArrayClone(boolean[]);
descriptor: ([Z)[Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
aload 0
arraylength
invokestatic org.graalvm.compiler.nodes.java.NewArrayNode.newUninitializedArray:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast boolean[]
astore 1
start local 1 1: aload 0
iconst_0
aload 1
iconst_0
aload 0
arraylength
getstatic jdk.vm.ci.meta.JavaKind.Boolean:Ljdk/vm/ci/meta/JavaKind;
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.getHeapWordSize:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokestatic org.graalvm.compiler.replacements.arraycopy.ArrayCopyCallNode.disjointArraycopy:(Ljava/lang/Object;ILjava/lang/Object;IILjdk/vm/ci/meta/JavaKind;I)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 src [Z
1 3 1 result [Z
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
MethodParameters:
Name Flags
src
public static byte[] byteArrayClone(byte[]);
descriptor: ([B)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
aload 0
arraylength
invokestatic org.graalvm.compiler.nodes.java.NewArrayNode.newUninitializedArray:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast byte[]
astore 1
start local 1 1: aload 0
iconst_0
aload 1
iconst_0
aload 0
arraylength
getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.getHeapWordSize:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokestatic org.graalvm.compiler.replacements.arraycopy.ArrayCopyCallNode.disjointArraycopy:(Ljava/lang/Object;ILjava/lang/Object;IILjdk/vm/ci/meta/JavaKind;I)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 src [B
1 3 1 result [B
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
MethodParameters:
Name Flags
src
public static short[] shortArrayClone(short[]);
descriptor: ([S)[S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic java.lang.Short.TYPE:Ljava/lang/Class;
aload 0
arraylength
invokestatic org.graalvm.compiler.nodes.java.NewArrayNode.newUninitializedArray:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast short[]
astore 1
start local 1 1: aload 0
iconst_0
aload 1
iconst_0
aload 0
arraylength
getstatic jdk.vm.ci.meta.JavaKind.Short:Ljdk/vm/ci/meta/JavaKind;
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.getHeapWordSize:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokestatic org.graalvm.compiler.replacements.arraycopy.ArrayCopyCallNode.disjointArraycopy:(Ljava/lang/Object;ILjava/lang/Object;IILjdk/vm/ci/meta/JavaKind;I)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 src [S
1 3 1 result [S
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
MethodParameters:
Name Flags
src
public static char[] charArrayClone(char[]);
descriptor: ([C)[C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic java.lang.Character.TYPE:Ljava/lang/Class;
aload 0
arraylength
invokestatic org.graalvm.compiler.nodes.java.NewArrayNode.newUninitializedArray:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast char[]
astore 1
start local 1 1: aload 0
iconst_0
aload 1
iconst_0
aload 0
arraylength
getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.getHeapWordSize:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokestatic org.graalvm.compiler.replacements.arraycopy.ArrayCopyCallNode.disjointArraycopy:(Ljava/lang/Object;ILjava/lang/Object;IILjdk/vm/ci/meta/JavaKind;I)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 src [C
1 3 1 result [C
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
MethodParameters:
Name Flags
src
public static int[] intArrayClone(int[]);
descriptor: ([I)[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aload 0
arraylength
invokestatic org.graalvm.compiler.nodes.java.NewArrayNode.newUninitializedArray:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast int[]
astore 1
start local 1 1: aload 0
iconst_0
aload 1
iconst_0
aload 0
arraylength
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.getHeapWordSize:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokestatic org.graalvm.compiler.replacements.arraycopy.ArrayCopyCallNode.disjointArraycopy:(Ljava/lang/Object;ILjava/lang/Object;IILjdk/vm/ci/meta/JavaKind;I)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 src [I
1 3 1 result [I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
MethodParameters:
Name Flags
src
public static float[] floatArrayClone(float[]);
descriptor: ([F)[F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic java.lang.Float.TYPE:Ljava/lang/Class;
aload 0
arraylength
invokestatic org.graalvm.compiler.nodes.java.NewArrayNode.newUninitializedArray:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast float[]
astore 1
start local 1 1: aload 0
iconst_0
aload 1
iconst_0
aload 0
arraylength
getstatic jdk.vm.ci.meta.JavaKind.Float:Ljdk/vm/ci/meta/JavaKind;
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.getHeapWordSize:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokestatic org.graalvm.compiler.replacements.arraycopy.ArrayCopyCallNode.disjointArraycopy:(Ljava/lang/Object;ILjava/lang/Object;IILjdk/vm/ci/meta/JavaKind;I)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 src [F
1 3 1 result [F
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
MethodParameters:
Name Flags
src
public static long[] longArrayClone(long[]);
descriptor: ([J)[J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic java.lang.Long.TYPE:Ljava/lang/Class;
aload 0
arraylength
invokestatic org.graalvm.compiler.nodes.java.NewArrayNode.newUninitializedArray:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast long[]
astore 1
start local 1 1: aload 0
iconst_0
aload 1
iconst_0
aload 0
arraylength
getstatic jdk.vm.ci.meta.JavaKind.Long:Ljdk/vm/ci/meta/JavaKind;
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.getHeapWordSize:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokestatic org.graalvm.compiler.replacements.arraycopy.ArrayCopyCallNode.disjointArraycopy:(Ljava/lang/Object;ILjava/lang/Object;IILjdk/vm/ci/meta/JavaKind;I)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 src [J
1 3 1 result [J
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
MethodParameters:
Name Flags
src
public static double[] doubleArrayClone(double[]);
descriptor: ([D)[D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic java.lang.Double.TYPE:Ljava/lang/Class;
aload 0
arraylength
invokestatic org.graalvm.compiler.nodes.java.NewArrayNode.newUninitializedArray:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast double[]
astore 1
start local 1 1: aload 0
iconst_0
aload 1
iconst_0
aload 0
arraylength
getstatic jdk.vm.ci.meta.JavaKind.Double:Ljdk/vm/ci/meta/JavaKind;
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.getHeapWordSize:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokestatic org.graalvm.compiler.replacements.arraycopy.ArrayCopyCallNode.disjointArraycopy:(Ljava/lang/Object;ILjava/lang/Object;IILjdk/vm/ci/meta/JavaKind;I)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 src [D
1 3 1 result [D
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
MethodParameters:
Name Flags
src
public static java.lang.Object[] objectArrayClone(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.guardingNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
aload 0
arraylength
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.nodes.java.DynamicNewArrayNode.newArray:(Ljava/lang/Class;ILjdk/vm/ci/meta/JavaKind;)Ljava/lang/Object;
checkcast java.lang.Object[]
astore 1
start local 1 1: aload 0
iconst_0
aload 1
iconst_0
aload 0
arraylength
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.getHeapWordSize:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokestatic org.graalvm.compiler.replacements.arraycopy.ArrayCopyCallNode.disjointUninitializedArraycopy:(Ljava/lang/Object;ILjava/lang/Object;IILjdk/vm/ci/meta/JavaKind;I)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 src [Ljava/lang/Object;
1 3 1 result [Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
MethodParameters:
Name Flags
src
}
SourceFile: "ObjectCloneSnippets.java"
NestMembers:
org.graalvm.compiler.hotspot.replacements.ObjectCloneSnippets$Templates
InnerClasses:
public Templates = org.graalvm.compiler.hotspot.replacements.ObjectCloneSnippets$Templates of org.graalvm.compiler.hotspot.replacements.ObjectCloneSnippets