public class org.graalvm.compiler.replacements.JDK9StringSubstitutions
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.JDK9StringSubstitutions
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/replacements/JDK9StringSubstitutions;
public static boolean equals(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.String
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast java.lang.String
astore 2
start local 2 5: aload 0
invokevirtual java.lang.String.length:()I
aload 2
invokevirtual java.lang.String.length:()I
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
ifne 9
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
aload 0
invokestatic org.graalvm.compiler.replacements.JDK9StringSubstitutions.getCoder:(Ljava/lang/String;)I
aload 2
invokestatic org.graalvm.compiler.replacements.JDK9StringSubstitutions.getCoder:(Ljava/lang/String;)I
if_icmpeq 11
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 0
invokestatic org.graalvm.compiler.replacements.JDK9StringSubstitutions.getValue:(Ljava/lang/String;)[B
astore 3
start local 3 12: aload 2
invokestatic org.graalvm.compiler.replacements.JDK9StringSubstitutions.getValue:(Ljava/lang/String;)[B
astore 4
start local 4 13: aload 3
aload 4
aload 3
arraylength
invokestatic org.graalvm.compiler.replacements.nodes.ArrayEqualsNode.equals:([B[BI)Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 thisString Ljava/lang/String;
0 14 1 obj Ljava/lang/Object;
5 14 2 thatString Ljava/lang/String;
12 14 3 array1 [B
13 14 4 array2 [B
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution(isStatic = false)
RuntimeInvisibleAnnotations:
org.graalvm.compiler.core.common.SuppressFBWarnings(value = {"ES_COMPARING_PARAMETER_STRING_WITH_EQ"}, justification = "reference equality on the receiver is what we want")
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
org.graalvm.compiler.core.common.SuppressFBWarnings(value = {"ES_COMPARING_PARAMETER_STRING_WITH_EQ"}, justification = "reference equality on the receiver is what we want")
MethodParameters:
Name Flags
thisString final
obj
public static native byte[] getValue(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
s
public static native int getCoder(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
s
public static boolean isCompactString(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.replacements.JDK9StringSubstitutions.getCoder:(Ljava/lang/String;)I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
}
SourceFile: "JDK9StringSubstitutions.java"
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.ClassSubstitution(value = Ljava/lang/String;)