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;
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.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=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 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.amd64.AMD64StringUTF16Substitutions.byteArrayBaseOffset:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
iload 2
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.charArrayIndexScale:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
imul
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 4
start local 4 1: aload 4
iload 3
iload 2
isub
iload 1
i2c
invokestatic org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOf.indexOf1Char:(Ljdk/internal/vm/compiler/word/Pointer;IC)I
istore 5
start local 5 2: iload 5
iconst_m1
if_icmpeq 4
3: iload 5
iload 2
iadd
ireturn
4: StackMap locals: jdk.internal.vm.compiler.word.Pointer int
StackMap stack:
iload 5
ireturn
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 value [B
0 5 1 ch I
0 5 2 fromIndex I
0 5 3 max I
1 5 4 sourcePointer Ljdk/internal/vm/compiler/word/Pointer;
2 5 5 result I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution(optional = true)
MethodParameters:
Name Flags
value
ch
fromIndex
max
public static int compress(char[], int, byte[], int, int);
descriptor: ([CI[BII)I
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: iload 4
iflt 1
iload 1
iflt 1
iload 1
iload 4
iadd
aload 0
arraylength
if_icmpgt 1
iload 3
iflt 1
iload 3
iload 4
iadd
aload 2
arraylength
if_icmple 2
1: 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
2: 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.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.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.amd64.AMD64StringUTF16Substitutions.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 3: 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.amd64.AMD64StringUTF16Substitutions.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.amd64.AMD64StringUTF16Substitutions.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 4: 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 5 0 src [C
0 5 1 srcIndex I
0 5 2 dest [B
0 5 3 destIndex I
0 5 4 len I
3 5 5 srcPointer Ljdk/internal/vm/compiler/word/Pointer;
4 5 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=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 4
iflt 1
iload 1
iflt 1
iload 1
iconst_2
imul
iload 4
iconst_2
imul
iadd
aload 0
arraylength
if_icmpgt 1
iload 3
iflt 1
iload 3
iload 4
iadd
aload 2
arraylength
if_icmple 2
1: 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
2: 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.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.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.amd64.AMD64StringUTF16Substitutions.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 3: 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.amd64.AMD64StringUTF16Substitutions.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.amd64.AMD64StringUTF16Substitutions.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 4: 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 5 0 src [B
0 5 1 srcIndex I
0 5 2 dest [B
0 5 3 destIndex I
0 5 4 len I
3 5 5 srcPointer Ljdk/internal/vm/compiler/word/Pointer;
4 5 6 destPointer Ljdk/internal/vm/compiler/word/Pointer;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
src
srcIndex
dest
destIndex
len
}
SourceFile: "AMD64StringUTF16Substitutions.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.StringUTF16"}, optional = true)