public class org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions
super_class: java.lang.Object
{
static final jdk.vm.ci.meta.MetaAccessProvider INJECTED;
descriptor: Ljdk/vm/ci/meta/MetaAccessProvider;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
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 java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/amd64/AMD64StringUTF16Substitutions;
public static int length(byte[]);
descriptor: ([B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
arraylength
iconst_1
ishr
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value [B
MethodParameters:
Name Flags
value
public static int compareTo(byte[], byte[]);
descriptor: ([B[B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
arraylength
aload 1
arraylength
getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.replacements.nodes.ArrayCompareToNode.compareTo:(Ljava/lang/Object;Ljava/lang/Object;IILjdk/vm/ci/meta/JavaKind;Ljdk/vm/ci/meta/JavaKind;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value [B
0 1 1 other [B
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
value
other
public static int compareToLatin1(byte[], byte[]);
descriptor: ([B[B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
aload 1
arraylength
aload 0
arraylength
getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.replacements.nodes.ArrayCompareToNode.compareTo:(Ljava/lang/Object;Ljava/lang/Object;IILjdk/vm/ci/meta/JavaKind;Ljdk/vm/ci/meta/JavaKind;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value [B
0 1 1 other [B
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
value
other
public static int indexOfCharUnsafe(byte[], int, int, int);
descriptor: ([BIII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 3
iload 2
iload 1
i2c
invokestatic org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOf.indexOf1Char:([BIIC)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value [B
0 1 1 ch I
0 1 2 fromIndex I
0 1 3 max I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
value
ch
fromIndex
max
private static org.graalvm.compiler.word.Word pointer(byte[]);
descriptor: ([B)Lorg/graalvm/compiler/word/Word;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.byteArrayBaseOffset:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 target [B
MethodParameters:
Name Flags
target
private static org.graalvm.compiler.word.Word charOffsetPointer(byte[], int);
descriptor: ([BI)Lorg/graalvm/compiler/word/Word;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.pointer:([B)Lorg/graalvm/compiler/word/Word;
iload 1
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.charArrayIndexScale:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
imul
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value [B
0 1 1 offset I
MethodParameters:
Name Flags
value
offset
public static int indexOfUnsafe(byte[], int, byte[], int, int);
descriptor: ([BI[BII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 4
iflt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "StringUTF16.indexOfUnsafe invalid args: fromIndex negative"
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.dynamicAssert:(ZLjava/lang/String;)V
3: iload 3
ifle 4
iconst_1
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: ldc "StringUTF16.indexOfUnsafe invalid args: targetCount <= 0"
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.dynamicAssert:(ZLjava/lang/String;)V
6: iload 3
aload 2
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.length:([B)I
if_icmpgt 7
iconst_1
goto 8
StackMap locals:
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: ldc "StringUTF16.indexOfUnsafe invalid args: targetCount > length(target)"
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.dynamicAssert:(ZLjava/lang/String;)V
9: iload 1
iload 3
if_icmplt 10
iconst_1
goto 11
StackMap locals:
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: ldc "StringUTF16.indexOfUnsafe invalid args: sourceCount < targetCount"
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.dynamicAssert:(ZLjava/lang/String;)V
12: iload 3
iconst_1
if_icmpne 14
13: aload 0
iload 1
iload 4
aload 2
iconst_0
invokestatic org.graalvm.compiler.replacements.StringUTF16Substitutions.getChar:([BI)C
invokestatic org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOf.indexOf1Char:([BIIC)I
ireturn
14: StackMap locals:
StackMap stack:
iload 1
iload 3
iconst_2
isub
isub
istore 5
start local 5 15: iload 4
istore 6
start local 6 16: goto 34
17: StackMap locals: int int
StackMap stack:
aload 0
iload 5
iload 6
aload 2
iconst_0
invokestatic org.graalvm.compiler.replacements.StringUTF16Substitutions.getChar:([BI)C
18: aload 2
iconst_1
invokestatic org.graalvm.compiler.replacements.StringUTF16Substitutions.getChar:([BI)C
19: invokestatic org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOf.indexOfTwoConsecutiveChars:([BIICC)I
istore 7
start local 7 20: ldc 0.25
iload 7
ifge 21
iconst_1
goto 22
StackMap locals: byte[] int byte[] int int int int int
StackMap stack: double
21: iconst_0
StackMap locals: byte[] int byte[] int int int int int
StackMap stack: double int
22: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 24
23: iconst_m1
ireturn
24: StackMap locals:
StackMap stack:
iload 7
istore 6
25: ldc 0.25
iload 3
iconst_2
if_icmpne 26
iconst_1
goto 27
StackMap locals:
StackMap stack: double
26: iconst_0
StackMap locals: byte[] int byte[] int int int int int
StackMap stack: double int
27: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 29
28: iload 6
ireturn
29: StackMap locals:
StackMap stack:
aload 0
iload 6
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.charOffsetPointer:([BI)Lorg/graalvm/compiler/word/Word;
astore 8
start local 8 30: aload 2
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.pointer:([B)Lorg/graalvm/compiler/word/Word;
astore 9
start local 9 31: ldc 0.25
aload 8
aload 9
iload 3
getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.replacements.nodes.ArrayRegionEqualsNode.regionEquals:(Ljdk/internal/vm/compiler/word/Pointer;Ljdk/internal/vm/compiler/word/Pointer;ILjdk/vm/ci/meta/JavaKind;)Z
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 33
32: iload 6
ireturn
end local 9 end local 8 33: StackMap locals:
StackMap stack:
iinc 6 1
end local 7 34: StackMap locals:
StackMap stack:
ldc 0.75
iload 6
iload 5
if_icmpge 35
iconst_1
goto 36
StackMap locals:
StackMap stack: double
35: iconst_0
StackMap locals: byte[] int byte[] int int int int
StackMap stack: double int
36: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifne 17
37: iconst_m1
ireturn
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 38 0 source [B
0 38 1 sourceCount I
0 38 2 target [B
0 38 3 targetCount I
0 38 4 fromIndex I
15 38 5 haystackLength I
16 38 6 offset I
20 34 7 indexOfResult I
30 33 8 cmpSourcePointer Ljdk/internal/vm/compiler/word/Pointer;
31 33 9 targetPointer Ljdk/internal/vm/compiler/word/Pointer;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
source
sourceCount
target
targetCount
fromIndex
public static int indexOfLatin1Unsafe(byte[], int, byte[], int, int);
descriptor: ([BI[BII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 4
iflt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "StringUTF16.indexOfLatin1Unsafe invalid args: fromIndex negative"
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.dynamicAssert:(ZLjava/lang/String;)V
3: iload 3
ifle 4
iconst_1
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: ldc "StringUTF16.indexOfLatin1Unsafe invalid args: targetCount <= 0"
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.dynamicAssert:(ZLjava/lang/String;)V
6: iload 3
aload 2
arraylength
if_icmpgt 7
iconst_1
goto 8
StackMap locals:
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: ldc "StringUTF16.indexOfLatin1Unsafe invalid args: targetCount > length(target)"
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.dynamicAssert:(ZLjava/lang/String;)V
9: iload 1
iload 3
if_icmplt 10
iconst_1
goto 11
StackMap locals:
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: ldc "StringUTF16.indexOfLatin1Unsafe invalid args: sourceCount < targetCount"
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.dynamicAssert:(ZLjava/lang/String;)V
12: iload 3
iconst_1
if_icmpne 14
13: aload 0
iload 1
iload 4
aload 2
iconst_0
baload
invokestatic java.lang.Byte.toUnsignedInt:(B)I
i2c
invokestatic org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOf.indexOf1Char:([BIIC)I
ireturn
14: StackMap locals:
StackMap stack:
iload 1
iload 3
iconst_2
isub
isub
istore 5
start local 5 15: iload 4
istore 6
start local 6 16: goto 32
17: StackMap locals: int int
StackMap stack:
aload 0
iload 5
iload 6
aload 2
iconst_0
baload
invokestatic java.lang.Byte.toUnsignedInt:(B)I
i2c
aload 2
iconst_1
baload
invokestatic java.lang.Byte.toUnsignedInt:(B)I
i2c
invokestatic org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOf.indexOfTwoConsecutiveChars:([BIICC)I
istore 7
start local 7 18: ldc 0.25
iload 7
ifge 19
iconst_1
goto 20
StackMap locals: byte[] int byte[] int int int int int
StackMap stack: double
19: iconst_0
StackMap locals: byte[] int byte[] int int int int int
StackMap stack: double int
20: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 22
21: iconst_m1
ireturn
22: StackMap locals:
StackMap stack:
iload 7
istore 6
23: ldc 0.25
iload 3
iconst_2
if_icmpne 24
iconst_1
goto 25
StackMap locals:
StackMap stack: double
24: iconst_0
StackMap locals: byte[] int byte[] int int int int int
StackMap stack: double int
25: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 27
26: iload 6
ireturn
27: StackMap locals:
StackMap stack:
aload 0
iload 6
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.charOffsetPointer:([BI)Lorg/graalvm/compiler/word/Word;
astore 8
start local 8 28: aload 2
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.pointer:([B)Lorg/graalvm/compiler/word/Word;
astore 9
start local 9 29: ldc 0.25
aload 8
aload 9
iload 3
getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.replacements.nodes.ArrayRegionEqualsNode.regionEquals:(Ljdk/internal/vm/compiler/word/Pointer;Ljdk/internal/vm/compiler/word/Pointer;ILjdk/vm/ci/meta/JavaKind;Ljdk/vm/ci/meta/JavaKind;)Z
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 31
30: iload 6
ireturn
end local 9 end local 8 31: StackMap locals:
StackMap stack:
iinc 6 1
end local 7 32: StackMap locals:
StackMap stack:
ldc 0.75
iload 6
iload 5
if_icmpge 33
iconst_1
goto 34
StackMap locals:
StackMap stack: double
33: iconst_0
StackMap locals: byte[] int byte[] int int int int
StackMap stack: double int
34: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifne 17
35: iconst_m1
ireturn
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 36 0 source [B
0 36 1 sourceCount I
0 36 2 target [B
0 36 3 targetCount I
0 36 4 fromIndex I
15 36 5 haystackLength I
16 36 6 offset I
18 32 7 indexOfResult I
28 31 8 cmpSourcePointer Ljdk/internal/vm/compiler/word/Pointer;
29 31 9 targetPointer Ljdk/internal/vm/compiler/word/Pointer;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
source
sourceCount
target
targetCount
fromIndex
public static int compress(char[], int, byte[], int, int);
descriptor: ([CI[BII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
arraylength
iload 1
aload 2
arraylength
iload 3
iload 4
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.checkLimits:(IIIII)V
1: aload 0
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.charArrayBaseOffset:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
iload 1
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.charArrayIndexScale:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
imul
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 5
start local 5 2: aload 2
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.byteArrayBaseOffset:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
iload 3
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.byteArrayIndexScale:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
imul
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 6
start local 6 3: aload 5
aload 6
iload 4
getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16CompressNode.compress:(Ljdk/internal/vm/compiler/word/Pointer;Ljdk/internal/vm/compiler/word/Pointer;ILjdk/vm/ci/meta/JavaKind;)I
ireturn
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 4 0 src [C
0 4 1 srcIndex I
0 4 2 dest [B
0 4 3 destIndex I
0 4 4 len I
2 4 5 srcPointer Ljdk/internal/vm/compiler/word/Pointer;
3 4 6 destPointer Ljdk/internal/vm/compiler/word/Pointer;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
src
srcIndex
dest
destIndex
len
public static int compress(byte[], int, byte[], int, int);
descriptor: ([BI[BII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
arraylength
iconst_1
ishr
iload 1
aload 2
arraylength
iload 3
iload 4
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.checkLimits:(IIIII)V
1: aload 0
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.byteArrayBaseOffset:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
iload 1
iconst_2
imul
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.byteArrayIndexScale:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
imul
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 5
start local 5 2: aload 2
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.byteArrayBaseOffset:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
iload 3
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.byteArrayIndexScale:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
imul
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 6
start local 6 3: aload 5
aload 6
iload 4
getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16CompressNode.compress:(Ljdk/internal/vm/compiler/word/Pointer;Ljdk/internal/vm/compiler/word/Pointer;ILjdk/vm/ci/meta/JavaKind;)I
ireturn
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 4 0 src [B
0 4 1 srcIndex I
0 4 2 dest [B
0 4 3 destIndex I
0 4 4 len I
2 4 5 srcPointer Ljdk/internal/vm/compiler/word/Pointer;
3 4 6 destPointer Ljdk/internal/vm/compiler/word/Pointer;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
src
srcIndex
dest
destIndex
len
private static void checkLimits(int, int, int, int, int);
descriptor: (IIIII)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: ldc 1.0E-4
iload 4
ifge 1
iconst_1
goto 2
StackMap locals:
StackMap stack: double
1: iconst_0
StackMap locals: int int int int int
StackMap stack: double int
2: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifne 15
3: ldc 1.0E-4
iload 1
ifge 4
iconst_1
goto 5
StackMap locals:
StackMap stack: double
4: iconst_0
StackMap locals: int int int int int
StackMap stack: double int
5: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifne 15
6: ldc 1.0E-4
iload 1
iload 4
iadd
iload 0
if_icmple 7
iconst_1
goto 8
StackMap locals:
StackMap stack: double
7: iconst_0
StackMap locals: int int int int int
StackMap stack: double int
8: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifne 15
9: ldc 1.0E-4
iload 3
ifge 10
iconst_1
goto 11
StackMap locals:
StackMap stack: double
10: iconst_0
StackMap locals: int int int int int
StackMap stack: double int
11: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifne 15
12: ldc 1.0E-4
iload 3
iload 4
iadd
iload 2
if_icmple 13
iconst_1
goto 14
StackMap locals:
StackMap stack: double
13: iconst_0
StackMap locals: int int int int int
StackMap stack: double int
14: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 16
15: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.meta.DeoptimizationAction.None:Ljdk/vm/ci/meta/DeoptimizationAction;
getstatic jdk.vm.ci.meta.DeoptimizationReason.BoundsCheckException:Ljdk/vm/ci/meta/DeoptimizationReason;
invokestatic org.graalvm.compiler.nodes.DeoptimizeNode.deopt:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;)V
16: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 srcLen I
0 17 1 srcIndex I
0 17 2 destLen I
0 17 3 destIndex I
0 17 4 len I
MethodParameters:
Name Flags
srcLen
srcIndex
destLen
destIndex
len
}
SourceFile: "AMD64StringUTF16Substitutions.java"
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.ClassSubstitution(className = {"java.lang.StringUTF16"}, optional = true)