public class org.graalvm.compiler.core.test.HashMapGetTest extends org.graalvm.compiler.core.test.SubprocessTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.test.HashMapGetTest
super_class: org.graalvm.compiler.core.test.SubprocessTest
{
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.SubprocessTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/HashMapGetTest;
public static <K, V> void mapGet(java.util.HashMap<K, V>, );
descriptor: (Ljava/util/HashMap;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 map Ljava/util/HashMap<TK;TV;>;
0 2 1 key TK;
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/util/HashMap<TK;TV;>;TK;)V
MethodParameters:
Name Flags
map
key
public void hashMapTest();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=1
start local 0 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 1: aload 0
ldc Lorg/graalvm/compiler/core/test/HashMapGetTest;
ldc "mapGet"
invokevirtual org.graalvm.compiler.core.test.HashMapGetTest.getResolvedJavaMethod:(Ljava/lang/Class;Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 8
4: StackMap locals: java.util.HashMap jdk.vm.ci.meta.ResolvedJavaMethod int
StackMap stack:
aload 1
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic org.graalvm.compiler.core.test.HashMapGetTest.mapGet:(Ljava/util/HashMap;Ljava/lang/Object;)V
5: aload 1
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 1
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic org.graalvm.compiler.core.test.HashMapGetTest.mapGet:(Ljava/util/HashMap;Ljava/lang/Object;)V
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
sipush 10000
if_icmplt 4
end local 3 9: aload 0
aload 2
aconst_null
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.compiler.core.test.HashMapGetTest.test:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/graalvm/compiler/core/test/GraalCompilerTest$Result;
pop
10: aload 0
getfield org.graalvm.compiler.core.test.HashMapGetTest.lastCompiledGraph:Lorg/graalvm/compiler/nodes/StructuredGraph;
getstatic org.graalvm.compiler.nodes.IfNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:(Lorg/graalvm/compiler/graph/NodeClass;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 4
goto 17
StackMap locals: org.graalvm.compiler.core.test.HashMapGetTest java.util.HashMap jdk.vm.ci.meta.ResolvedJavaMethod top java.util.Iterator
StackMap stack:
11: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.IfNode
astore 3
start local 3 12: aload 3
invokevirtual org.graalvm.compiler.nodes.IfNode.condition:()Lorg/graalvm/compiler/nodes/LogicNode;
astore 5
start local 5 13: aload 3
invokevirtual org.graalvm.compiler.nodes.IfNode.getTrueSuccessorProbability:()D
ldc 0.4
dcmpg
ifge 17
aload 3
invokevirtual org.graalvm.compiler.nodes.IfNode.predecessor:()Lorg/graalvm/compiler/graph/Node;
instanceof org.graalvm.compiler.nodes.memory.ReadNode
ifeq 17
aload 5
instanceof org.graalvm.compiler.nodes.calc.ObjectEqualsNode
ifeq 17
14: aload 3
invokevirtual org.graalvm.compiler.nodes.IfNode.predecessor:()Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.memory.ReadNode
astore 6
start local 6 15: aload 6
invokevirtual org.graalvm.compiler.nodes.memory.ReadNode.getLocationIdentity:()Ljdk/internal/vm/compiler/word/LocationIdentity;
instanceof org.graalvm.compiler.nodes.FieldLocationIdentity
ifeq 17
aload 6
invokevirtual org.graalvm.compiler.nodes.memory.ReadNode.getLocationIdentity:()Ljdk/internal/vm/compiler/word/LocationIdentity;
checkcast org.graalvm.compiler.nodes.FieldLocationIdentity
invokevirtual org.graalvm.compiler.nodes.FieldLocationIdentity.getField:()Ljdk/vm/ci/meta/ResolvedJavaField;
invokeinterface jdk.vm.ci.meta.ResolvedJavaField.getName:()Ljava/lang/String;
ldc "key"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 17
16: aload 3
invokevirtual org.graalvm.compiler.nodes.IfNode.trueSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
instanceof org.graalvm.compiler.nodes.ReturnNode
ldc "Expected return after %s, got %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 3
invokevirtual org.graalvm.compiler.nodes.IfNode.trueSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
aastore
dup
iconst_1
aload 3
invokevirtual org.graalvm.compiler.nodes.IfNode.trueSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
aastore
invokestatic org.graalvm.compiler.core.test.HashMapGetTest.assertTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
end local 6 end local 5 end local 3 17: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
18: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/graalvm/compiler/core/test/HashMapGetTest;
1 19 1 map Ljava/util/HashMap<Ljava/lang/Integer;Ljava/lang/Integer;>;
2 19 2 get Ljdk/vm/ci/meta/ResolvedJavaMethod;
3 9 3 i I
12 17 3 ifNode Lorg/graalvm/compiler/nodes/IfNode;
13 17 5 condition Lorg/graalvm/compiler/nodes/LogicNode;
15 17 6 read Lorg/graalvm/compiler/nodes/memory/ReadNode;
public void hashMapTestInSubprocess();
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/HashMapGetTest;
Exceptions:
throws java.io.IOException, java.lang.InterruptedException
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "HashMapGetTest.java"
InnerClasses:
public Result = org.graalvm.compiler.core.test.GraalCompilerTest$Result of org.graalvm.compiler.core.test.GraalCompilerTest