public class org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets 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.arraycopy.ArrayCopySnippets
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/arraycopy/ArrayCopySnippets;
public static void arraycopyZeroLengthSnippet(java.lang.Object, int, java.lang.Object, int, int, org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$ArrayCopyTypeCheck, org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters);
descriptor: (Ljava/lang/Object;ILjava/lang/Object;IILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.guardingNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 1: aload 2
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.guardingNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 2: aload 7
aload 8
aload 5
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets.checkArrayTypes:(Ljava/lang/Object;Ljava/lang/Object;Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;)V
3: aload 7
iload 1
aload 8
iload 3
iload 4
aload 6
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets.checkLimits:(Ljava/lang/Object;ILjava/lang/Object;IILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
4: aload 6
getfield org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters.zeroLengthStaticCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
5: return
end local 8 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 6 0 src Ljava/lang/Object;
0 6 1 srcPos I
0 6 2 dest Ljava/lang/Object;
0 6 3 destPos I
0 6 4 length I
0 6 5 arrayTypeCheck Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;
0 6 6 counters Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;
1 6 7 nonNullSrc Ljava/lang/Object;
2 6 8 nonNullDest Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
4:
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
6:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
src
srcPos
dest
destPos
length
arrayTypeCheck
counters
public static void arraycopyExactSnippet(java.lang.Object, int, java.lang.Object, int, int, org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$ArrayCopyTypeCheck, jdk.vm.ci.meta.JavaKind, org.graalvm.compiler.replacements.SnippetCounter, org.graalvm.compiler.replacements.SnippetCounter, org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters);
descriptor: (Ljava/lang/Object;ILjava/lang/Object;IILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;Ljdk/vm/ci/meta/JavaKind;Lorg/graalvm/compiler/replacements/SnippetCounter;Lorg/graalvm/compiler/replacements/SnippetCounter;Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=12, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: aload 0
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.guardingNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
astore 10
start local 10 1: aload 2
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.guardingNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
astore 11
start local 11 2: aload 10
aload 11
aload 5
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets.checkArrayTypes:(Ljava/lang/Object;Ljava/lang/Object;Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;)V
3: aload 10
iload 1
aload 11
iload 3
iload 4
aload 9
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets.checkLimits:(Ljava/lang/Object;ILjava/lang/Object;IILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
4: iload 4
aload 9
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets.incrementLengthCounter:(ILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
5: aload 7
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
6: aload 8
iload 4
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.add:(I)V
7: aload 10
iload 1
aload 11
iload 3
iload 4
aload 6
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopyCallNode.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;IILjdk/vm/ci/meta/JavaKind;)V
8: return
end local 11 end local 10 end local 9 end local 8 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 9 0 src Ljava/lang/Object;
0 9 1 srcPos I
0 9 2 dest Ljava/lang/Object;
0 9 3 destPos I
0 9 4 length I
0 9 5 arrayTypeCheck Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;
0 9 6 elementKind Ljdk/vm/ci/meta/JavaKind;
0 9 7 elementKindCounter Lorg/graalvm/compiler/replacements/SnippetCounter;
0 9 8 elementKindCopiedCounter Lorg/graalvm/compiler/replacements/SnippetCounter;
0 9 9 counters Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;
1 9 10 nonNullSrc Ljava/lang/Object;
2 9 11 nonNullDest Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
4:
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
6:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
7:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
8:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
9:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
src
srcPos
dest
destPos
length
arrayTypeCheck
elementKind
elementKindCounter
elementKindCopiedCounter
counters
public static void arraycopyUnrolledSnippet(java.lang.Object, int, java.lang.Object, int, int, org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$ArrayCopyTypeCheck, jdk.vm.ci.meta.JavaKind, int, org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters);
descriptor: (Ljava/lang/Object;ILjava/lang/Object;IILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;Ljdk/vm/ci/meta/JavaKind;ILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=11, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.guardingNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
astore 9
start local 9 1: aload 2
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.guardingNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
astore 10
start local 10 2: aload 9
aload 10
aload 5
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets.checkArrayTypes:(Ljava/lang/Object;Ljava/lang/Object;Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;)V
3: aload 9
iload 1
aload 10
iload 3
iload 4
aload 8
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets.checkLimits:(Ljava/lang/Object;ILjava/lang/Object;IILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
4: iload 4
aload 8
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets.incrementLengthCounter:(ILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
5: aload 9
iload 1
aload 10
iload 3
iload 7
aload 6
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets.unrolledArraycopyWork:(Ljava/lang/Object;ILjava/lang/Object;IILjdk/vm/ci/meta/JavaKind;)V
6: return
end local 10 end local 9 end local 8 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 7 0 src Ljava/lang/Object;
0 7 1 srcPos I
0 7 2 dest Ljava/lang/Object;
0 7 3 destPos I
0 7 4 length I
0 7 5 arrayTypeCheck Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;
0 7 6 elementKind Ljdk/vm/ci/meta/JavaKind;
0 7 7 unrolledLength I
0 7 8 counters Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;
1 7 9 nonNullSrc Ljava/lang/Object;
2 7 10 nonNullDest Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
4:
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
6:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
7:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
8:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
src
srcPos
dest
destPos
length
arrayTypeCheck
elementKind
unrolledLength
counters
public static void arraycopyCheckcastSnippet(java.lang.Object, int, java.lang.Object, int, int, org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$ArrayCopyTypeCheck, org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters, org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo, jdk.vm.ci.meta.JavaKind);
descriptor: (Ljava/lang/Object;ILjava/lang/Object;IILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Ljdk/vm/ci/meta/JavaKind;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=11, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.guardingNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
astore 9
start local 9 1: aload 2
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.guardingNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
astore 10
start local 10 2: aload 9
aload 10
aload 5
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets.checkArrayTypes:(Ljava/lang/Object;Ljava/lang/Object;Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;)V
3: aload 9
iload 1
aload 10
iload 3
iload 4
aload 6
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets.checkLimits:(Ljava/lang/Object;ILjava/lang/Object;IILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
4: iload 4
aload 6
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets.incrementLengthCounter:(ILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
5: aload 9
iload 1
aload 10
iload 3
iload 4
aload 7
aload 8
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopyWithSlowPathNode.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;IILorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Ljdk/vm/ci/meta/JavaKind;)V
6: return
end local 10 end local 9 end local 8 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 7 0 src Ljava/lang/Object;
0 7 1 srcPos I
0 7 2 dest Ljava/lang/Object;
0 7 3 destPos I
0 7 4 length I
0 7 5 arrayTypeCheck Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;
0 7 6 counters Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;
0 7 7 workSnippet Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
0 7 8 elementKind Ljdk/vm/ci/meta/JavaKind;
1 7 9 nonNullSrc Ljava/lang/Object;
2 7 10 nonNullDest Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
4:
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
6:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
7:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
8:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
src
srcPos
dest
destPos
length
arrayTypeCheck
counters
workSnippet
elementKind
public static void arraycopyGenericSnippet(java.lang.Object, int, java.lang.Object, int, int, org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$ArrayCopyTypeCheck, org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters, org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo, jdk.vm.ci.meta.JavaKind);
descriptor: (Ljava/lang/Object;ILjava/lang/Object;IILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Ljdk/vm/ci/meta/JavaKind;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=11, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.guardingNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
astore 9
start local 9 1: aload 2
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.guardingNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
astore 10
start local 10 2: aload 9
aload 10
aload 5
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets.checkArrayTypes:(Ljava/lang/Object;Ljava/lang/Object;Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;)V
3: aload 9
iload 1
aload 10
iload 3
iload 4
aload 6
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets.checkLimits:(Ljava/lang/Object;ILjava/lang/Object;IILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
4: iload 4
aload 6
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets.incrementLengthCounter:(ILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
5: aload 9
iload 1
aload 10
iload 3
iload 4
aload 7
aload 8
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopyWithSlowPathNode.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;IILorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Ljdk/vm/ci/meta/JavaKind;)V
6: return
end local 10 end local 9 end local 8 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 7 0 src Ljava/lang/Object;
0 7 1 srcPos I
0 7 2 dest Ljava/lang/Object;
0 7 3 destPos I
0 7 4 length I
0 7 5 arrayTypeCheck Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;
0 7 6 counters Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;
0 7 7 workSnippet Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
0 7 8 elementKind Ljdk/vm/ci/meta/JavaKind;
1 7 9 nonNullSrc Ljava/lang/Object;
2 7 10 nonNullDest Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
4:
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
6:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
7:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
8:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
src
srcPos
dest
destPos
length
arrayTypeCheck
counters
workSnippet
elementKind
public static void arraycopyNativeSnippet(java.lang.Object, int, java.lang.Object, int, int, org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters);
descriptor: (Ljava/lang/Object;ILjava/lang/Object;IILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 4
aload 5
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets.incrementLengthCounter:(ILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
1: aload 5
getfield org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters.systemArraycopyCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
2: aload 5
getfield org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters.systemArraycopyCopiedCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
iload 4
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.add:(I)V
3: aload 0
iload 1
aload 2
iload 3
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: return
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 5 0 src Ljava/lang/Object;
0 5 1 srcPos I
0 5 2 dest Ljava/lang/Object;
0 5 3 destPos I
0 5 4 length I
0 5 5 counters Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
4:
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
src
srcPos
dest
destPos
length
counters
static jdk.internal.vm.compiler.word.LocationIdentity getArrayLocation(jdk.vm.ci.meta.JavaKind);
descriptor: (Ljdk/vm/ci/meta/JavaKind;)Ljdk/internal/vm/compiler/word/LocationIdentity;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.nodes.NamedLocationIdentity.getArrayLocation:(Ljdk/vm/ci/meta/JavaKind;)Ljdk/internal/vm/compiler/word/LocationIdentity;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 kind Ljdk/vm/ci/meta/JavaKind;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
MethodParameters:
Name Flags
kind
private static void unrolledArraycopyWork(java.lang.Object, int, java.lang.Object, int, int, jdk.vm.ci.meta.JavaKind);
descriptor: (Ljava/lang/Object;ILjava/lang/Object;IILjdk/vm/ci/meta/JavaKind;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=19, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_METAACCESS:Ljdk/vm/ci/meta/MetaAccessProvider;
aload 5
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.arrayIndexScale:(Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/meta/JavaKind;)I
istore 6
start local 6 1: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_METAACCESS:Ljdk/vm/ci/meta/MetaAccessProvider;
aload 5
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.getArrayBaseOffset:(Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/meta/JavaKind;)I
istore 7
start local 7 2: aload 5
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets.getArrayLocation:(Ljdk/vm/ci/meta/JavaKind;)Ljdk/internal/vm/compiler/word/LocationIdentity;
astore 8
start local 8 3: iload 7
i2l
iload 1
i2l
iload 6
i2l
lmul
ladd
lstore 9
start local 9 4: iload 7
i2l
iload 3
i2l
iload 6
i2l
lmul
ladd
lstore 11
start local 11 5: lconst_0
lstore 13
start local 13 6: iload 6
i2l
lstore 15
start local 15 7: ldc 0.09999999999999998
aload 0
aload 2
if_acmpne 8
iload 1
iload 3
if_icmpge 8
iconst_1
goto 9
StackMap locals: java.lang.Object int java.lang.Object int int jdk.vm.ci.meta.JavaKind int int jdk.internal.vm.compiler.word.LocationIdentity long long long long
StackMap stack: double
8: iconst_0
StackMap locals: java.lang.Object int java.lang.Object int int jdk.vm.ci.meta.JavaKind int int jdk.internal.vm.compiler.word.LocationIdentity long long long long
StackMap stack: double int
9: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 12
10: iload 4
iconst_1
isub
i2l
iload 6
i2l
lmul
lstore 13
11: lload 15
lneg
lstore 15
12: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.replacements.nodes.ExplodeLoopNode.explodeLoop:()V
13: iconst_0
istore 17
start local 17 14: goto 19
15: StackMap locals: int
StackMap stack:
aload 0
lload 9
lload 13
ladd
aload 5
aload 8
invokestatic org.graalvm.compiler.nodes.extended.RawLoadNode.load:(Ljava/lang/Object;JLjdk/vm/ci/meta/JavaKind;Ljdk/internal/vm/compiler/word/LocationIdentity;)Ljava/lang/Object;
astore 18
start local 18 16: aload 2
lload 11
lload 13
ladd
aload 18
aload 5
aload 8
iconst_0
invokestatic org.graalvm.compiler.nodes.extended.RawStoreNode.storeObject:(Ljava/lang/Object;JLjava/lang/Object;Ljdk/vm/ci/meta/JavaKind;Ljdk/internal/vm/compiler/word/LocationIdentity;Z)Ljava/lang/Object;
pop
17: lload 13
lload 15
ladd
lstore 13
end local 18 18: iinc 17 1
StackMap locals:
StackMap stack:
19: iload 17
iload 4
if_icmplt 15
end local 17 20: return
end local 15 end local 13 end local 11 end local 9 end local 8 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 nonNullSrc Ljava/lang/Object;
0 21 1 srcPos I
0 21 2 nonNullDest Ljava/lang/Object;
0 21 3 destPos I
0 21 4 length I
0 21 5 elementKind Ljdk/vm/ci/meta/JavaKind;
1 21 6 scale I
2 21 7 arrayBaseOffset I
3 21 8 arrayLocation Ljdk/internal/vm/compiler/word/LocationIdentity;
4 21 9 sourceOffset J
5 21 11 destOffset J
6 21 13 position J
7 21 15 delta J
14 20 17 iteration I
16 18 18 value Ljava/lang/Object;
MethodParameters:
Name Flags
nonNullSrc
srcPos
nonNullDest
destPos
length
elementKind
public static void checkcastArraycopyWithSlowPathWork(java.lang.Object, int, java.lang.Object, int, int, org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters);
descriptor: (Ljava/lang/Object;ILjava/lang/Object;IILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=13, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: ldc 0.9
iload 4
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack: double
1: iconst_0
StackMap locals: java.lang.Object int java.lang.Object int int org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters
StackMap stack: double int
2: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 24
3: aload 0
invokestatic org.graalvm.compiler.nodes.PiNode.asNonNullObject:(Ljava/lang/Object;)Ljava/lang/Class;
astore 6
start local 6 4: aload 2
invokestatic org.graalvm.compiler.nodes.PiNode.asNonNullObject:(Ljava/lang/Object;)Ljava/lang/Class;
astore 7
start local 7 5: aload 6
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.loadHub:(Ljava/lang/Object;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 8
start local 8 6: aload 7
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.loadHub:(Ljava/lang/Object;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 9
start local 9 7: ldc 0.6
aload 8
aload 9
if_acmpne 8
iconst_1
goto 9
StackMap locals: java.lang.Object int java.lang.Object int int org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters java.lang.Object java.lang.Object org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack: double
8: iconst_0
StackMap locals: java.lang.Object int java.lang.Object int int org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters java.lang.Object java.lang.Object org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack: double int
9: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 14
10: aload 5
getfield org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters.objectCheckcastSameTypeCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
11: aload 5
getfield org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters.objectCheckcastSameTypeCopiedCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
iload 4
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.add:(I)V
12: aload 6
iload 1
aload 7
iload 3
iload 4
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopyCallNode.arraycopyObjectKillsAny:(Ljava/lang/Object;ILjava/lang/Object;II)V
13: goto 24
14: StackMap locals:
StackMap stack:
aload 9
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.arrayClassElementOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.OBJ_ARRAY_KLASS_ELEMENT_KLASS_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.readKlassPointer:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 10
start local 10 15: aload 10
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.superCheckOffsetOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.KLASS_SUPER_CHECK_OFFSET_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.readInt:(ILjdk/internal/vm/compiler/word/LocationIdentity;)I
invokestatic jdk.internal.vm.compiler.word.WordFactory.signed:(I)Ljdk/internal/vm/compiler/word/SignedWord;
checkcast org.graalvm.compiler.word.Word
astore 11
start local 11 16: aload 5
getfield org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters.objectCheckcastDifferentTypeCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
17: aload 5
getfield org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters.objectCheckcastDifferentTypeCopiedCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
iload 4
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.add:(I)V
18: aload 6
iload 1
aload 7
iload 3
iload 4
aload 11
aload 10
iconst_0
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.CheckcastArrayCopyCallNode.checkcastArraycopy:(Ljava/lang/Object;ILjava/lang/Object;IILorg/graalvm/compiler/word/Word;Ljava/lang/Object;Z)I
istore 12
start local 12 19: ldc 0.010000000000000009
iload 12
ifeq 20
iconst_1
goto 21
StackMap locals: java.lang.Object int java.lang.Object int int org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters java.lang.Object java.lang.Object org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.word.Word int
StackMap stack: double
20: iconst_0
StackMap locals: java.lang.Object int java.lang.Object int int org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters java.lang.Object java.lang.Object org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.word.Word int
StackMap stack: double int
21: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 24
22: iload 12
iconst_m1
ixor
istore 12
23: aload 6
iload 1
iload 12
iadd
aload 7
iload 3
iload 12
iadd
iload 4
iload 12
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 24: StackMap locals: java.lang.Object int java.lang.Object int int org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters
StackMap stack:
return
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 25 0 src Ljava/lang/Object;
0 25 1 srcPos I
0 25 2 dest Ljava/lang/Object;
0 25 3 destPos I
0 25 4 length I
0 25 5 counters Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;
4 24 6 nonNullSrc Ljava/lang/Object;
5 24 7 nonNullDest Ljava/lang/Object;
6 24 8 srcKlass Lorg/graalvm/compiler/hotspot/word/KlassPointer;
7 24 9 destKlass Lorg/graalvm/compiler/hotspot/word/KlassPointer;
15 24 10 destElemKlass Lorg/graalvm/compiler/hotspot/word/KlassPointer;
16 24 11 superCheckOffset Lorg/graalvm/compiler/word/Word;
19 24 12 copiedElements I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet(allowPartialIntrinsicArgumentMismatch = true)
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
4:
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
src
srcPos
dest
destPos
length
counters
public static void genericArraycopyWithSlowPathWork(java.lang.Object, int, java.lang.Object, int, int, org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters);
descriptor: (Ljava/lang/Object;ILjava/lang/Object;IILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 5
getfield org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters.genericArraycopyDifferentTypeCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
1: aload 5
getfield org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters.genericArraycopyDifferentTypeCopiedCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
iload 4
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.add:(I)V
2: aload 0
iload 1
aload 2
iload 3
iload 4
invokestatic org.graalvm.compiler.hotspot.replacements.arraycopy.GenericArrayCopyCallNode.genericArraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)I
istore 6
start local 6 3: ldc 0.010000000000000009
iload 6
ifeq 4
iconst_1
goto 5
StackMap locals: java.lang.Object int java.lang.Object int int org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters int
StackMap stack: double
4: iconst_0
StackMap locals: java.lang.Object int java.lang.Object int int org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters int
StackMap stack: double int
5: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 8
6: iload 6
iconst_m1
ixor
istore 6
7: aload 0
iload 1
iload 6
iadd
aload 2
iload 3
iload 6
iadd
iload 4
iload 6
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: StackMap locals:
StackMap stack:
return
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 9 0 src Ljava/lang/Object;
0 9 1 srcPos I
0 9 2 dest Ljava/lang/Object;
0 9 3 destPos I
0 9 4 length I
0 9 5 counters Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;
3 9 6 copiedElements I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet(allowPartialIntrinsicArgumentMismatch = true)
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
4:
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
src
srcPos
dest
destPos
length
counters
private static void incrementLengthCounter(int, org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters);
descriptor: (ILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters.lengthHistogram:Lorg/graalvm/compiler/replacements/SnippetIntegerHistogram;
iload 0
i2l
invokevirtual org.graalvm.compiler.replacements.SnippetIntegerHistogram.inc:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 length I
0 2 1 counters Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;
MethodParameters:
Name Flags
length
counters
private static void checkLimits(java.lang.Object, int, java.lang.Object, int, int, org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters);
descriptor: (Ljava/lang/Object;ILjava/lang/Object;IILorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: ldc 0.010000000000000009
iload 1
ifge 1
iconst_1
goto 2
StackMap locals:
StackMap stack: double
1: iconst_0
StackMap locals: java.lang.Object int java.lang.Object int int org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters
StackMap stack: double int
2: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifne 15
3: ldc 0.010000000000000009
iload 3
ifge 4
iconst_1
goto 5
StackMap locals:
StackMap stack: double
4: iconst_0
StackMap locals: java.lang.Object int java.lang.Object int int org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters
StackMap stack: double int
5: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifne 15
6: ldc 0.010000000000000009
iload 4
ifge 7
iconst_1
goto 8
StackMap locals:
StackMap stack: double
7: iconst_0
StackMap locals: java.lang.Object int java.lang.Object int int org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters
StackMap stack: double int
8: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifne 15
9: ldc 0.010000000000000009
iload 1
aload 0
invokestatic org.graalvm.compiler.nodes.java.ArrayLengthNode.arrayLength:(Ljava/lang/Object;)I
iload 4
isub
if_icmple 10
iconst_1
goto 11
StackMap locals:
StackMap stack: double
10: iconst_0
StackMap locals: java.lang.Object int java.lang.Object int int org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters
StackMap stack: double int
11: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifne 15
12: ldc 0.010000000000000009
iload 3
aload 2
invokestatic org.graalvm.compiler.nodes.java.ArrayLengthNode.arrayLength:(Ljava/lang/Object;)I
iload 4
isub
if_icmple 13
iconst_1
goto 14
StackMap locals:
StackMap stack: double
13: iconst_0
StackMap locals: java.lang.Object int java.lang.Object int int org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters
StackMap stack: double int
14: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 17
15: StackMap locals:
StackMap stack:
aload 5
getfield org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters.checkAIOOBECounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
16: getstatic jdk.vm.ci.meta.DeoptimizationAction.None:Ljdk/vm/ci/meta/DeoptimizationAction;
getstatic jdk.vm.ci.meta.DeoptimizationReason.RuntimeConstraint:Ljdk/vm/ci/meta/DeoptimizationReason;
invokestatic org.graalvm.compiler.nodes.DeoptimizeNode.deopt:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;)V
17: StackMap locals:
StackMap stack:
aload 5
getfield org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters.checkSuccessCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
18: return
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 19 0 src Ljava/lang/Object;
0 19 1 srcPos I
0 19 2 dest Ljava/lang/Object;
0 19 3 destPos I
0 19 4 length I
0 19 5 counters Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$Counters;
MethodParameters:
Name Flags
src
srcPos
dest
destPos
length
counters
private static void checkArrayTypes(java.lang.Object, java.lang.Object, org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$ArrayCopyTypeCheck);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getstatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$ArrayCopyTypeCheck.NO_ARRAY_TYPE_CHECK:Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;
if_acmpeq 18
1: aload 2
getstatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$ArrayCopyTypeCheck.HUB_BASED_ARRAY_TYPE_CHECK:Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;
if_acmpne 9
2: aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.loadHub:(Ljava/lang/Object;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 3
start local 3 3: aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.loadHub:(Ljava/lang/Object;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 4
start local 4 4: ldc 0.010000000000000009
aload 3
aload 4
if_acmpeq 5
iconst_1
goto 6
StackMap locals: java.lang.Object java.lang.Object org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$ArrayCopyTypeCheck org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack: double
5: iconst_0
StackMap locals: java.lang.Object java.lang.Object org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$ArrayCopyTypeCheck org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack: double int
6: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 18
7: getstatic jdk.vm.ci.meta.DeoptimizationAction.None:Ljdk/vm/ci/meta/DeoptimizationAction;
getstatic jdk.vm.ci.meta.DeoptimizationReason.RuntimeConstraint:Ljdk/vm/ci/meta/DeoptimizationReason;
invokestatic org.graalvm.compiler.nodes.DeoptimizeNode.deopt:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;)V
end local 4 end local 3 8: goto 18
StackMap locals:
StackMap stack:
9: aload 2
getstatic org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$ArrayCopyTypeCheck.LAYOUT_HELPER_BASED_ARRAY_TYPE_CHECK:Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;
if_acmpne 17
10: aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.loadHub:(Ljava/lang/Object;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 3
start local 3 11: aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.loadHub:(Ljava/lang/Object;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 4
start local 4 12: ldc 0.010000000000000009
aload 3
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readLayoutHelper:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)I
aload 4
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readLayoutHelper:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)I
if_icmpeq 13
iconst_1
goto 14
StackMap locals: java.lang.Object java.lang.Object org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$ArrayCopyTypeCheck org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack: double
13: iconst_0
StackMap locals: java.lang.Object java.lang.Object org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$ArrayCopyTypeCheck org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack: double int
14: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 18
15: getstatic jdk.vm.ci.meta.DeoptimizationAction.None:Ljdk/vm/ci/meta/DeoptimizationAction;
getstatic jdk.vm.ci.meta.DeoptimizationReason.RuntimeConstraint:Ljdk/vm/ci/meta/DeoptimizationReason;
invokestatic org.graalvm.compiler.nodes.DeoptimizeNode.deopt:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;)V
end local 4 end local 3 16: goto 18
17: StackMap locals:
StackMap stack:
iconst_0
ldc "unknown array type check"
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.staticAssert:(ZLjava/lang/String;)V
18: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 nonNullSrc Ljava/lang/Object;
0 19 1 nonNullDest Ljava/lang/Object;
0 19 2 arrayTypeCheck Lorg/graalvm/compiler/hotspot/replacements/arraycopy/ArrayCopySnippets$ArrayCopyTypeCheck;
3 8 3 srcHub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
4 8 4 destHub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
11 16 3 srcHub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
12 16 4 destHub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
MethodParameters:
Name Flags
nonNullSrc
nonNullDest
arrayTypeCheck
}
SourceFile: "ArrayCopySnippets.java"
NestMembers:
org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$ArrayCopyTypeCheck org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Templates
InnerClasses:
public abstract ConstantParameter = org.graalvm.compiler.api.replacements.Snippet$ConstantParameter of org.graalvm.compiler.api.replacements.Snippet
private final ArrayCopyTypeCheck = org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$ArrayCopyTypeCheck of org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets
Counters = org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Counters of org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets
public Templates = org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets$Templates of org.graalvm.compiler.hotspot.replacements.arraycopy.ArrayCopySnippets
public abstract SnippetInfo = org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo of org.graalvm.compiler.replacements.SnippetTemplate