public class org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions
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.AMD64StringLatin1Substitutions.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/AMD64StringLatin1Substitutions;
static int byteArrayBaseOffset(jdk.vm.ci.meta.MetaAccessProvider);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.getArrayBaseOffset:(Ljdk/vm/ci/meta/JavaKind;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
MethodParameters:
Name Flags
metaAccess
static int byteArrayIndexScale(jdk.vm.ci.meta.MetaAccessProvider);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.getArrayIndexScale:(Ljdk/vm/ci/meta/JavaKind;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
MethodParameters:
Name Flags
metaAccess
static int charArrayBaseOffset(jdk.vm.ci.meta.MetaAccessProvider);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.getArrayBaseOffset:(Ljdk/vm/ci/meta/JavaKind;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
MethodParameters:
Name Flags
metaAccess
static int charArrayIndexScale(jdk.vm.ci.meta.MetaAccessProvider);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.getArrayIndexScale:(Ljdk/vm/ci/meta/JavaKind;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
MethodParameters:
Name Flags
metaAccess
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.Byte: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 compareToUTF16(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.Byte: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
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.AMD64StringLatin1Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.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 byteOffsetPointer(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.AMD64StringLatin1Substitutions.pointer:([B)Lorg/graalvm/compiler/word/Word;
iload 1
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.byteArrayIndexScale:(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 source [B
0 1 1 offset I
MethodParameters:
Name Flags
source
offset
public static int indexOf(byte[], int, int);
descriptor: ([BII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
istore 3
start local 3 1: ldc 0.25
iload 1
bipush 8
iushr
ifeq 2
iconst_1
goto 3
StackMap locals: byte[] int int int
StackMap stack: double
2: iconst_0
StackMap locals: byte[] int int int
StackMap stack: double int
3: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 5
4: iconst_m1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
arraylength
istore 4
start local 4 6: ldc 0.25
iload 3
ifge 7
iconst_1
goto 8
StackMap locals: byte[] int int int int
StackMap stack: double
7: iconst_0
StackMap locals: byte[] int int int int
StackMap stack: double int
8: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 11
9: iconst_0
istore 3
10: goto 15
StackMap locals:
StackMap stack:
11: ldc 0.25
iload 3
iload 4
if_icmplt 12
iconst_1
goto 13
StackMap locals:
StackMap stack: double
12: iconst_0
StackMap locals: byte[] int int int int
StackMap stack: double int
13: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 15
14: iconst_m1
ireturn
15: StackMap locals:
StackMap stack:
aload 0
iload 4
iload 3
iload 1
i2b
invokestatic org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOf.indexOf1Byte:([BIIB)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 value [B
0 16 1 ch I
0 16 2 origFromIndex I
1 16 3 fromIndex I
6 16 4 length I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
value
ch
origFromIndex
public static int indexOf(byte[], int, byte[], int, int);
descriptor: ([BI[BII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 4
istore 5
start local 5 1: ldc 0.25
iload 5
iload 1
if_icmplt 2
iconst_1
goto 3
StackMap locals: byte[] int byte[] int int int
StackMap stack: double
2: iconst_0
StackMap locals: byte[] int byte[] int int int
StackMap stack: double int
3: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 7
4: iload 3
ifne 5
iload 1
goto 6
StackMap locals:
StackMap stack:
5: iconst_m1
StackMap locals:
StackMap stack: int
6: ireturn
7: StackMap locals:
StackMap stack:
ldc 0.25
iload 5
ifge 8
iconst_1
goto 9
StackMap locals:
StackMap stack: double
8: iconst_0
StackMap locals: byte[] int byte[] int int int
StackMap stack: double int
9: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 11
10: iconst_0
istore 5
11: StackMap locals:
StackMap stack:
ldc 0.25
iload 3
ifne 12
iconst_1
goto 13
StackMap locals:
StackMap stack: double
12: iconst_0
StackMap locals: byte[] int byte[] int int int
StackMap stack: double int
13: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 15
14: iload 5
ireturn
15: StackMap locals:
StackMap stack:
ldc 0.25
iload 1
iload 5
isub
iload 3
if_icmpge 16
iconst_1
goto 17
StackMap locals:
StackMap stack: double
16: iconst_0
StackMap locals: byte[] int byte[] int int int
StackMap stack: double int
17: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 19
18: iconst_m1
ireturn
19: StackMap locals:
StackMap stack:
ldc 0.25
iload 3
iconst_1
if_icmpne 20
iconst_1
goto 21
StackMap locals:
StackMap stack: double
20: iconst_0
StackMap locals: byte[] int byte[] int int int
StackMap stack: double int
21: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 23
22: aload 0
iload 1
iload 5
aload 2
iconst_0
baload
invokestatic org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOf.indexOf1Byte:([BIIB)I
ireturn
23: StackMap locals:
StackMap stack:
iload 1
iload 3
iconst_2
isub
isub
istore 6
start local 6 24: iload 5
istore 7
start local 7 25: goto 41
26: StackMap locals: int int
StackMap stack:
aload 0
iload 6
iload 7
aload 2
iconst_0
baload
aload 2
iconst_1
baload
invokestatic org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOf.indexOfTwoConsecutiveBytes:([BIIBB)I
istore 8
start local 8 27: ldc 0.25
iload 8
ifge 28
iconst_1
goto 29
StackMap locals: byte[] int byte[] int int int int int int
StackMap stack: double
28: iconst_0
StackMap locals: byte[] int byte[] int int int int int int
StackMap stack: double int
29: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 31
30: iconst_m1
ireturn
31: StackMap locals:
StackMap stack:
iload 8
istore 7
32: ldc 0.25
iload 3
iconst_2
if_icmpne 33
iconst_1
goto 34
StackMap locals:
StackMap stack: double
33: iconst_0
StackMap locals: byte[] int byte[] int int int int int int
StackMap stack: double int
34: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 36
35: iload 7
ireturn
36: StackMap locals:
StackMap stack:
aload 0
iload 7
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.byteOffsetPointer:([BI)Lorg/graalvm/compiler/word/Word;
astore 9
start local 9 37: aload 2
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.pointer:([B)Lorg/graalvm/compiler/word/Word;
astore 10
start local 10 38: ldc 0.25
aload 9
aload 10
iload 3
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;)Z
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 40
39: iload 7
ireturn
end local 10 end local 9 40: StackMap locals:
StackMap stack:
iinc 7 1
end local 8 41: StackMap locals:
StackMap stack:
ldc 0.75
iload 7
iload 6
if_icmpge 42
iconst_1
goto 43
StackMap locals:
StackMap stack: double
42: iconst_0
StackMap locals: byte[] int byte[] int int int int int
StackMap stack: double int
43: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifne 26
44: iconst_m1
ireturn
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 45 0 source [B
0 45 1 sourceCount I
0 45 2 target [B
0 45 3 targetCount I
0 45 4 origFromIndex I
1 45 5 fromIndex I
24 45 6 haystackLength I
25 45 7 offset I
27 41 8 indexOfResult I
37 40 9 cmpSourcePointer Ljdk/internal/vm/compiler/word/Pointer;
38 40 10 targetPointer Ljdk/internal/vm/compiler/word/Pointer;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
source
sourceCount
target
targetCount
origFromIndex
public static void inflate(byte[], int, char[], int, int);
descriptor: ([BI[CII)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, 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: byte[] int char[] 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: byte[] int char[] 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
aload 0
arraylength
if_icmple 7
iconst_1
goto 8
StackMap locals:
StackMap stack: double
7: iconst_0
StackMap locals: byte[] int char[] 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: byte[] int char[] 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
aload 2
arraylength
if_icmple 13
iconst_1
goto 14
StackMap locals:
StackMap stack: double
13: iconst_0
StackMap locals: byte[] int char[] 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:
aload 0
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.byteArrayBaseOffset:(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.AMD64StringLatin1Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.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 17: aload 2
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.charArrayBaseOffset:(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.AMD64StringLatin1Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.charArrayIndexScale:(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 18: aload 5
aload 6
iload 4
getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1InflateNode.inflate:(Ljdk/internal/vm/compiler/word/Pointer;Ljdk/internal/vm/compiler/word/Pointer;ILjdk/vm/ci/meta/JavaKind;)V
19: 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 20 0 src [B
0 20 1 srcIndex I
0 20 2 dest [C
0 20 3 destIndex I
0 20 4 len I
17 20 5 srcPointer Ljdk/internal/vm/compiler/word/Pointer;
18 20 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 void inflate(byte[], int, byte[], int, int);
descriptor: ([BI[BII)V
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: ldc 1.0E-4
iload 4
ifge 1
iconst_1
goto 2
StackMap locals:
StackMap stack: double
1: iconst_0
StackMap locals: byte[] int byte[] 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: byte[] int byte[] 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
aload 0
arraylength
if_icmple 7
iconst_1
goto 8
StackMap locals:
StackMap stack: double
7: iconst_0
StackMap locals: byte[] int byte[] 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: byte[] int byte[] 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
iconst_2
imul
iload 4
iconst_2
imul
iadd
aload 2
arraylength
if_icmple 13
iconst_1
goto 14
StackMap locals:
StackMap stack: double
13: iconst_0
StackMap locals: byte[] int byte[] 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:
aload 0
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.byteArrayBaseOffset:(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.AMD64StringLatin1Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.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 17: aload 2
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.byteArrayBaseOffset:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
iload 3
iconst_2
imul
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1Substitutions.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 18: aload 5
aload 6
iload 4
getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringLatin1InflateNode.inflate:(Ljdk/internal/vm/compiler/word/Pointer;Ljdk/internal/vm/compiler/word/Pointer;ILjdk/vm/ci/meta/JavaKind;)V
19: 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 20 0 src [B
0 20 1 srcIndex I
0 20 2 dest [B
0 20 3 destIndex I
0 20 4 len I
17 20 5 srcPointer Ljdk/internal/vm/compiler/word/Pointer;
18 20 6 destPointer Ljdk/internal/vm/compiler/word/Pointer;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
src
srcIndex
dest
destIndex
len
}
SourceFile: "AMD64StringLatin1Substitutions.java"
InnerClasses:
public abstract InjectedParameter = org.graalvm.compiler.api.replacements.Fold$InjectedParameter of org.graalvm.compiler.api.replacements.Fold
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.ClassSubstitution(className = {"java.lang.StringLatin1"}, optional = true)