public class org.graalvm.compiler.hotspot.test.LoadJavaMirrorWithKlassTest 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.hotspot.test.LoadJavaMirrorWithKlassTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/hotspot/test/LoadJavaMirrorWithKlassTest;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.hotspot.test.LoadJavaMirrorWithKlassTest.$assertionsDisabled:Z
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/hotspot/test/LoadJavaMirrorWithKlassTest;
protected org.graalvm.compiler.phases.tiers.Suites createSuites(org.graalvm.compiler.options.OptionValues);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/phases/tiers/Suites;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.graalvm.compiler.hotspot.test.LoadJavaMirrorWithKlassTest.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.createSuites:(Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/phases/tiers/Suites;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/LoadJavaMirrorWithKlassTest;
0 1 1 options Lorg/graalvm/compiler/options/OptionValues;
MethodParameters:
Name Flags
options
private static org.graalvm.compiler.options.OptionValues getOptions();
descriptor: ()Lorg/graalvm/compiler/options/OptionValues;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new org.graalvm.compiler.options.OptionValues
dup
invokestatic org.graalvm.compiler.hotspot.test.LoadJavaMirrorWithKlassTest.getInitialOptions:()Lorg/graalvm/compiler/options/OptionValues;
getstatic org.graalvm.compiler.core.common.GraalOptions.ImmutableCode:Lorg/graalvm/compiler/options/OptionKey;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
iconst_0
anewarray java.lang.Object
invokespecial org.graalvm.compiler.options.OptionValues.<init>:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/OptionKey;Ljava/lang/Object;[Ljava/lang/Object;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
protected boolean checkLowTierGraph(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
ldc Lorg/graalvm/compiler/nodes/ConstantNode;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.graalvm.compiler.hotspot.test.LoadJavaMirrorWithKlassTest org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ConstantNode
astore 2
start local 2 2: getstatic org.graalvm.compiler.hotspot.test.LoadJavaMirrorWithKlassTest.$assertionsDisabled:Z
ifne 5
aload 2
invokevirtual org.graalvm.compiler.nodes.ConstantNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
ifnull 5
aload 2
invokevirtual org.graalvm.compiler.nodes.ConstantNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 5
3: aload 2
invokevirtual org.graalvm.compiler.nodes.ConstantNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.isDefaultForKind:()Z
ifne 5
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Found unexpected object constant "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", this should have been removed by the LoadJavaMirrorWithKlassPhase."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/hotspot/test/LoadJavaMirrorWithKlassTest;
0 7 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 5 2 constantNode Lorg/graalvm/compiler/nodes/ConstantNode;
MethodParameters:
Name Flags
graph
public static java.lang.Class<?> classConstant();
descriptor: ()Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/hotspot/test/LoadJavaMirrorWithKlassTest$Wrapper;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/lang/Class<*>;
public void testClassConstant();
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/hotspot/test/LoadJavaMirrorWithKlassTest;
RuntimeInvisibleAnnotations:
Test()
public static java.lang.Class<?> primitiveClassConstant();
descriptor: ()Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/lang/Class<*>;
public void testPrimitiveClassConstant();
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/hotspot/test/LoadJavaMirrorWithKlassTest;
RuntimeInvisibleAnnotations:
Test()
public static org.graalvm.compiler.hotspot.test.LoadJavaMirrorWithKlassTest$Wrapper compressedClassConstant(org.graalvm.compiler.hotspot.test.LoadJavaMirrorWithKlassTest$Wrapper);
descriptor: (Lorg/graalvm/compiler/hotspot/test/LoadJavaMirrorWithKlassTest$Wrapper;)Lorg/graalvm/compiler/hotspot/test/LoadJavaMirrorWithKlassTest$Wrapper;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc Lorg/graalvm/compiler/hotspot/test/LoadJavaMirrorWithKlassTest$Wrapper;
putfield org.graalvm.compiler.hotspot.test.LoadJavaMirrorWithKlassTest$Wrapper.clazz:Ljava/lang/Class;
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 w Lorg/graalvm/compiler/hotspot/test/LoadJavaMirrorWithKlassTest$Wrapper;
MethodParameters:
Name Flags
w
public void testCompressedClassConstant();
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/hotspot/test/LoadJavaMirrorWithKlassTest;
RuntimeInvisibleAnnotations:
Test()
public static org.graalvm.compiler.hotspot.test.LoadJavaMirrorWithKlassTest$Wrapper compressedPrimitiveClassConstant(org.graalvm.compiler.hotspot.test.LoadJavaMirrorWithKlassTest$Wrapper);
descriptor: (Lorg/graalvm/compiler/hotspot/test/LoadJavaMirrorWithKlassTest$Wrapper;)Lorg/graalvm/compiler/hotspot/test/LoadJavaMirrorWithKlassTest$Wrapper;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
putfield org.graalvm.compiler.hotspot.test.LoadJavaMirrorWithKlassTest$Wrapper.clazz:Ljava/lang/Class;
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 w Lorg/graalvm/compiler/hotspot/test/LoadJavaMirrorWithKlassTest$Wrapper;
MethodParameters:
Name Flags
w
public void testCompressedPrimitiveClassConstant();
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/hotspot/test/LoadJavaMirrorWithKlassTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "LoadJavaMirrorWithKlassTest.java"
NestMembers:
org.graalvm.compiler.hotspot.test.LoadJavaMirrorWithKlassTest$Wrapper
InnerClasses:
private Wrapper = org.graalvm.compiler.hotspot.test.LoadJavaMirrorWithKlassTest$Wrapper of org.graalvm.compiler.hotspot.test.LoadJavaMirrorWithKlassTest