public class org.graalvm.compiler.core.test.VerifyBufferUsage extends org.graalvm.compiler.phases.VerifyPhase<org.graalvm.compiler.nodes.spi.CoreProviders>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.test.VerifyBufferUsage
super_class: org.graalvm.compiler.phases.VerifyPhase
{
private final java.util.Set<java.lang.String> bufferTypes;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private final java.util.Set<java.lang.String> bufferMethods;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.phases.VerifyPhase.<init>:()V
1: aload 0
new java.util.HashSet
dup
bipush 9
anewarray java.lang.String
dup
iconst_0
2: ldc "Ljava/nio/Buffer;"
aastore
dup
iconst_1
3: ldc "Ljava/nio/ByteBuffer;"
aastore
dup
iconst_2
4: ldc "Ljava/nio/ShortBuffer;"
aastore
dup
iconst_3
5: ldc "Ljava/nio/CharBuffer;"
aastore
dup
iconst_4
6: ldc "Ljava/nio/IntBuffer;"
aastore
dup
iconst_5
7: ldc "Ljava/nio/LongBuffer;"
aastore
dup
bipush 6
8: ldc "Ljava/nio/FloatBuffer;"
aastore
dup
bipush 7
9: ldc "Ljava/nio/DoubleBuffer;"
aastore
dup
bipush 8
10: ldc "Ljava/nio/MappedByteBuffer;"
aastore
11: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
putfield org.graalvm.compiler.core.test.VerifyBufferUsage.bufferTypes:Ljava/util/Set;
12: aload 0
new java.util.HashSet
dup
bipush 7
anewarray java.lang.String
dup
iconst_0
13: ldc "position"
aastore
dup
iconst_1
14: ldc "limit"
aastore
dup
iconst_2
15: ldc "mark"
aastore
dup
iconst_3
16: ldc "reset"
aastore
dup
iconst_4
17: ldc "clear"
aastore
dup
iconst_5
18: ldc "flip"
aastore
dup
bipush 6
19: ldc "rewind"
aastore
20: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
putfield org.graalvm.compiler.core.test.VerifyBufferUsage.bufferMethods:Ljava/util/Set;
21: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/graalvm/compiler/core/test/VerifyBufferUsage;
protected void verify(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.spi.CoreProviders);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/CoreProviders;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 3
start local 3 1: aload 1
getstatic org.graalvm.compiler.nodes.java.MethodCallTargetNode.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 5
goto 17
StackMap locals: org.graalvm.compiler.core.test.VerifyBufferUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders jdk.vm.ci.meta.ResolvedJavaMethod top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.java.MethodCallTargetNode
astore 4
start local 4 3: aload 4
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.targetMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 6
start local 6 4: aload 6
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getName:()Ljava/lang/String;
astore 7
start local 7 5: aload 6
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
astore 8
start local 8 6: aload 0
getfield org.graalvm.compiler.core.test.VerifyBufferUsage.bufferTypes:Ljava/util/Set;
aload 7
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 17
7: aload 0
getfield org.graalvm.compiler.core.test.VerifyBufferUsage.bufferMethods:Ljava/util/Set;
aload 8
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 17
8: aload 6
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
invokeinterface jdk.vm.ci.meta.Signature.getReturnKind:()Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.isPrimitive:()Z
ifne 17
9: aload 3
aload 4
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.invoke:()Lorg/graalvm/compiler/nodes/Invoke;
invokeinterface org.graalvm.compiler.nodes.Invoke.bci:()I
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.asStackTraceElement:(I)Ljava/lang/StackTraceElement;
astore 9
start local 9 10: aload 4
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.arguments:()Lorg/graalvm/compiler/graph/NodeInputList;
iconst_0
invokevirtual org.graalvm.compiler.graph.NodeInputList.get:(I)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
checkcast org.graalvm.compiler.core.common.type.ObjectStamp
invokevirtual org.graalvm.compiler.core.common.type.ObjectStamp.type:()Ljdk/vm/ci/meta/ResolvedJavaType;
astore 10
start local 10 11: aload 10
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getName:()Ljava/lang/String;
ldc "Ljava/nio/Buffer;"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
12: new org.graalvm.compiler.phases.VerifyPhase$VerificationError
dup
13: ldc "%s: Cast receiver of type %s to java.nio.Buffer for call to %s to avoid problems with co-variant overloads added by https://bugs.openjdk.java.net/browse/JDK-4774077"
iconst_3
anewarray java.lang.Object
dup
iconst_0
14: aload 9
aastore
dup
iconst_1
aload 10
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.toJavaName:()Ljava/lang/String;
aastore
dup
iconst_2
15: aload 6
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
16: aastore
invokespecial org.graalvm.compiler.phases.VerifyPhase$VerificationError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 10 end local 9 end local 8 end local 7 end local 6 end local 4 17: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
18: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/graalvm/compiler/core/test/VerifyBufferUsage;
0 19 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 19 2 context Lorg/graalvm/compiler/nodes/spi/CoreProviders;
1 19 3 caller Ljdk/vm/ci/meta/ResolvedJavaMethod;
3 17 4 t Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;
4 17 6 callee Ljdk/vm/ci/meta/ResolvedJavaMethod;
5 17 7 calleeClassName Ljava/lang/String;
6 17 8 calleeName Ljava/lang/String;
10 17 9 e Ljava/lang/StackTraceElement;
11 17 10 receiverType Ljdk/vm/ci/meta/ResolvedJavaType;
MethodParameters:
Name Flags
graph
context
protected void verify(org.graalvm.compiler.nodes.StructuredGraph, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast org.graalvm.compiler.nodes.spi.CoreProviders
invokevirtual org.graalvm.compiler.core.test.VerifyBufferUsage.verify:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/CoreProviders;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/graalvm/compiler/phases/VerifyPhase<Lorg/graalvm/compiler/nodes/spi/CoreProviders;>;
SourceFile: "VerifyBufferUsage.java"
InnerClasses:
public VerificationError = org.graalvm.compiler.phases.VerifyPhase$VerificationError of org.graalvm.compiler.phases.VerifyPhase