public class org.graalvm.compiler.core.test.HashCodeTest extends org.graalvm.compiler.core.test.GraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.test.HashCodeTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
public static final java.lang.Object NonOverridingConstant;
descriptor: Ljava/lang/Object;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.Object OverridingConstant;
descriptor: Ljava/lang/Object;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic org.graalvm.compiler.core.test.HashCodeTest.NonOverridingConstant:Ljava/lang/Object;
1: new org.graalvm.compiler.core.test.HashCodeTest$OverrideHashCode
dup
invokespecial org.graalvm.compiler.core.test.HashCodeTest$OverrideHashCode.<init>:()V
putstatic org.graalvm.compiler.core.test.HashCodeTest.OverridingConstant:Ljava/lang/Object;
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 org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/HashCodeTest;
private static void initialize(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
iconst_1
aload 0
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
pop
1: goto 4
StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
2: astore 1
start local 1 3: new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 c Ljava/lang/Class<*>;
3 4 1 e Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
0 1 2 Class java.lang.ClassNotFoundException
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
c
public static final int hashCodeSnippet01(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public static final int systemIdentityHashCodeSnippet01(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public static final int hashCodeFoldSnippet01();
descriptor: ()I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=1, locals=0, args_size=0
0: getstatic org.graalvm.compiler.core.test.HashCodeTest.NonOverridingConstant:Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static final int identityHashCodeFoldSnippet01();
descriptor: ()I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=1, locals=0, args_size=0
0: getstatic org.graalvm.compiler.core.test.HashCodeTest.NonOverridingConstant:Ljava/lang/Object;
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static final int hashCodeNoFoldOverridingSnippet01(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public static final int identityHashCodeFoldOverridingSnippet01();
descriptor: ()I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=1, locals=0, args_size=0
0: getstatic org.graalvm.compiler.core.test.HashCodeTest.OverridingConstant:Ljava/lang/Object;
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static final int dontOverrideHashCodeFinalClass(org.graalvm.compiler.core.test.HashCodeTest$DontOverrideHashCode);
descriptor: (Lorg/graalvm/compiler/core/test/HashCodeTest$DontOverrideHashCode;)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 o Lorg/graalvm/compiler/core/test/HashCodeTest$DontOverrideHashCode;
MethodParameters:
Name Flags
o
public void test01();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/HashCodeTest;
RuntimeInvisibleAnnotations:
Test()
public void test02();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/HashCodeTest;
RuntimeInvisibleAnnotations:
Test()
public void test03();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/HashCodeTest;
RuntimeInvisibleAnnotations:
Test()
public void test04();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/HashCodeTest;
RuntimeInvisibleAnnotations:
Test()
public void test05();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/HashCodeTest;
RuntimeInvisibleAnnotations:
Test()
public void test06();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/HashCodeTest;
RuntimeInvisibleAnnotations:
Test()
public void test07();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/HashCodeTest;
RuntimeInvisibleAnnotations:
Test()
public static final int hashCodeInterface(java.lang.Appendable);
descriptor: (Ljava/lang/Appendable;)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 o Ljava/lang/Appendable;
MethodParameters:
Name Flags
o
public void test08();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssume cannot be resolved\n\tAssume cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/HashCodeTest;
RuntimeInvisibleAnnotations:
Test()
private void checkForGuardedIntrinsicPattern(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/HashCodeTest;
MethodParameters:
Name Flags
name
private org.graalvm.compiler.nodes.StructuredGraph buildGraphAfterMidTier(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokevirtual org.graalvm.compiler.core.test.HashCodeTest.getResolvedJavaMethod:(Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokevirtual org.graalvm.compiler.core.test.HashCodeTest.parseForCompile:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 2
start local 2 1: invokestatic org.graalvm.compiler.core.test.HashCodeTest.getInitialOptions:()Lorg/graalvm/compiler/options/OptionValues;
astore 3
start local 3 2: new org.graalvm.compiler.core.phases.HighTier
dup
aload 3
invokespecial org.graalvm.compiler.core.phases.HighTier.<init>:(Lorg/graalvm/compiler/options/OptionValues;)V
aload 2
aload 0
invokevirtual org.graalvm.compiler.core.test.HashCodeTest.getDefaultHighTierContext:()Lorg/graalvm/compiler/phases/tiers/HighTierContext;
invokevirtual org.graalvm.compiler.core.phases.HighTier.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
3: new org.graalvm.compiler.core.phases.MidTier
dup
aload 3
invokespecial org.graalvm.compiler.core.phases.MidTier.<init>:(Lorg/graalvm/compiler/options/OptionValues;)V
aload 2
new org.graalvm.compiler.phases.tiers.MidTierContext
dup
aload 0
invokevirtual org.graalvm.compiler.core.test.HashCodeTest.getProviders:()Lorg/graalvm/compiler/phases/util/Providers;
aload 0
invokevirtual org.graalvm.compiler.core.test.HashCodeTest.getTargetProvider:()Lorg/graalvm/compiler/phases/tiers/TargetProvider;
getstatic org.graalvm.compiler.phases.OptimisticOptimizations.ALL:Lorg/graalvm/compiler/phases/OptimisticOptimizations;
aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getProfilingInfo:()Ljdk/vm/ci/meta/ProfilingInfo;
invokespecial org.graalvm.compiler.phases.tiers.MidTierContext.<init>:(Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/phases/tiers/TargetProvider;Lorg/graalvm/compiler/phases/OptimisticOptimizations;Ljdk/vm/ci/meta/ProfilingInfo;)V
invokevirtual org.graalvm.compiler.core.phases.MidTier.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
4: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/core/test/HashCodeTest;
0 5 1 name Ljava/lang/String;
1 5 2 g Lorg/graalvm/compiler/nodes/StructuredGraph;
2 5 3 options Lorg/graalvm/compiler/options/OptionValues;
MethodParameters:
Name Flags
name
}
SourceFile: "HashCodeTest.java"
NestMembers:
org.graalvm.compiler.core.test.HashCodeTest$DontOverrideHashCode org.graalvm.compiler.core.test.HashCodeTest$OverrideHashCode
InnerClasses:
final DontOverrideHashCode = org.graalvm.compiler.core.test.HashCodeTest$DontOverrideHashCode of org.graalvm.compiler.core.test.HashCodeTest
OverrideHashCode = org.graalvm.compiler.core.test.HashCodeTest$OverrideHashCode of org.graalvm.compiler.core.test.HashCodeTest