abstract class org.graalvm.graphio.GraphProtocol<Graph, Node, NodeClass, Edges, Block, ResolvedJavaMethod, ResolvedJavaField, Signature, NodeSourcePosition, Location> implements java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.graphio.GraphProtocol
super_class: java.lang.Object
{
private static final java.nio.charset.Charset UTF8;
descriptor: Ljava/nio/charset/Charset;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int CONSTANT_POOL_MAX_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8000
private static final int BEGIN_GROUP;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int BEGIN_GRAPH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int CLOSE_GROUP;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int BEGIN_DOCUMENT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int POOL_NEW;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int POOL_STRING;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int POOL_ENUM;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int POOL_CLASS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int POOL_METHOD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int POOL_NULL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private static final int POOL_NODE_CLASS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 6
private static final int POOL_FIELD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7
private static final int POOL_SIGNATURE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final int POOL_NODE_SOURCE_POSITION;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 9
private static final int POOL_NODE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
private static final int PROPERTY_POOL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int PROPERTY_INT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int PROPERTY_LONG;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int PROPERTY_DOUBLE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int PROPERTY_FLOAT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int PROPERTY_TRUE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private static final int PROPERTY_FALSE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 6
private static final int PROPERTY_ARRAY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7
private static final int PROPERTY_SUBGRAPH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final int KLASS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int ENUM_KLASS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final byte[] MAGIC_BYTES;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int MAJOR_VERSION;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7
private static final int MINOR_VERSION;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private final org.graalvm.graphio.GraphProtocol$ConstantPool constantPool;
descriptor: Lorg/graalvm/graphio/GraphProtocol$ConstantPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.ByteBuffer buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.channels.WritableByteChannel channel;
descriptor: Ljava/nio/channels/WritableByteChannel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean embedded;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final int versionMajor;
descriptor: I
flags: (0x0010) ACC_FINAL
final int versionMinor;
descriptor: I
flags: (0x0010) ACC_FINAL
private boolean printing;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
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=4, locals=0, args_size=0
0: ldc Lorg/graalvm/graphio/GraphProtocol;
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.graphio.GraphProtocol.$assertionsDisabled:Z
3: ldc "UTF-8"
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
putstatic org.graalvm.graphio.GraphProtocol.UTF8:Ljava/nio/charset/Charset;
4: iconst_4
newarray 8
dup
iconst_0
bipush 66
bastore
dup
iconst_1
bipush 73
bastore
dup
iconst_2
bipush 71
bastore
dup
iconst_3
bipush 86
bastore
putstatic org.graalvm.graphio.GraphProtocol.MAGIC_BYTES:[B
5: return
LocalVariableTable:
Start End Slot Name Signature
private static java.nio.Buffer asBaseBuffer(java.nio.Buffer);
descriptor: (Ljava/nio/Buffer;)Ljava/nio/Buffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Ljava/nio/Buffer;
MethodParameters:
Name Flags
obj
void <init>(java.nio.channels.WritableByteChannel, int, int, boolean);
descriptor: (Ljava/nio/channels/WritableByteChannel;IIZ)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 2
bipush 7
if_icmpgt 2
iload 2
bipush 7
if_icmpne 3
iload 3
ifle 3
2: StackMap locals: org.graalvm.graphio.GraphProtocol java.nio.channels.WritableByteChannel int int int
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unrecognized version "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield org.graalvm.graphio.GraphProtocol.versionMajor:I
4: aload 0
iload 3
putfield org.graalvm.graphio.GraphProtocol.versionMinor:I
5: aload 0
new org.graalvm.graphio.GraphProtocol$ConstantPool
dup
invokespecial org.graalvm.graphio.GraphProtocol$ConstantPool.<init>:()V
putfield org.graalvm.graphio.GraphProtocol.constantPool:Lorg/graalvm/graphio/GraphProtocol$ConstantPool;
6: aload 0
ldc 262144
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
putfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
7: aload 0
aload 1
putfield org.graalvm.graphio.GraphProtocol.channel:Ljava/nio/channels/WritableByteChannel;
8: aload 0
iload 4
putfield org.graalvm.graphio.GraphProtocol.embedded:Z
9: iload 4
ifne 12
10: aload 0
invokevirtual org.graalvm.graphio.GraphProtocol.writeVersion:()V
11: aload 0
invokevirtual org.graalvm.graphio.GraphProtocol.flushEmbedded:()V
12: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 13 1 channel Ljava/nio/channels/WritableByteChannel;
0 13 2 major I
0 13 3 minor I
0 13 4 embedded Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
channel
major
minor
embedded
void <init>(org.graalvm.graphio.GraphProtocol<?, ?, ?, ?, ?, ?, ?, ?, ?, ?>);
descriptor: (Lorg/graalvm/graphio/GraphProtocol;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield org.graalvm.graphio.GraphProtocol.versionMajor:I
putfield org.graalvm.graphio.GraphProtocol.versionMajor:I
2: aload 0
aload 1
getfield org.graalvm.graphio.GraphProtocol.versionMinor:I
putfield org.graalvm.graphio.GraphProtocol.versionMinor:I
3: aload 0
aload 1
getfield org.graalvm.graphio.GraphProtocol.constantPool:Lorg/graalvm/graphio/GraphProtocol$ConstantPool;
putfield org.graalvm.graphio.GraphProtocol.constantPool:Lorg/graalvm/graphio/GraphProtocol$ConstantPool;
4: aload 0
aload 1
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
putfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
5: aload 0
aload 1
getfield org.graalvm.graphio.GraphProtocol.channel:Ljava/nio/channels/WritableByteChannel;
putfield org.graalvm.graphio.GraphProtocol.channel:Ljava/nio/channels/WritableByteChannel;
6: aload 0
aload 1
getfield org.graalvm.graphio.GraphProtocol.embedded:Z
putfield org.graalvm.graphio.GraphProtocol.embedded:Z
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 8 1 parent Lorg/graalvm/graphio/GraphProtocol<**********>;
Signature: (Lorg/graalvm/graphio/GraphProtocol<**********>;)V
MethodParameters:
Name Flags
parent
public final void print(Graph, java.util.Map<? extends java.lang.Object, ? extends java.lang.Object>, int, java.lang.String, []);
descriptor: (Ljava/lang/Object;Ljava/util/Map;ILjava/lang/String;[Ljava/lang/Object;)V
flags: (0x0091) ACC_PUBLIC, ACC_FINAL, ACC_VARARGS
Code:
stack=6, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iconst_1
putfield org.graalvm.graphio.GraphProtocol.printing:Z
1: aload 0
iconst_1
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
2: aload 0
getfield org.graalvm.graphio.GraphProtocol.versionMajor:I
iconst_3
if_icmplt 12
3: aload 0
iload 3
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
4: aload 0
aload 4
invokevirtual org.graalvm.graphio.GraphProtocol.writeString:(Ljava/lang/String;)V
5: aload 0
aload 5
arraylength
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
6: aload 5
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 10
StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.util.Map int java.lang.String java.lang.Object[] top int int java.lang.Object[]
StackMap stack:
7: aload 9
iload 7
aaload
astore 6
start local 6 8: aload 0
aload 1
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.writePropertyObject:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 6 9: iinc 7 1
StackMap locals:
StackMap stack:
10: iload 7
iload 8
if_icmplt 7
11: goto 13
12: StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.util.Map int java.lang.String java.lang.Object[]
StackMap stack:
aload 0
aload 0
aload 1
iload 3
aload 4
aload 5
invokevirtual org.graalvm.graphio.GraphProtocol.formatTitle:(Ljava/lang/Object;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
13: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.graalvm.graphio.GraphProtocol.writeGraph:(Ljava/lang/Object;Ljava/util/Map;)V
14: aload 0
invokevirtual org.graalvm.graphio.GraphProtocol.flushEmbedded:()V
15: aload 0
invokevirtual org.graalvm.graphio.GraphProtocol.flush:()V
16: goto 20
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 10
18: aload 0
iconst_0
putfield org.graalvm.graphio.GraphProtocol.printing:Z
19: aload 10
athrow
20: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.graalvm.graphio.GraphProtocol.printing:Z
21: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 22 1 graph TGraph;
0 22 2 properties Ljava/util/Map<+Ljava/lang/Object;+Ljava/lang/Object;>;
0 22 3 id I
0 22 4 format Ljava/lang/String;
0 22 5 args [Ljava/lang/Object;
8 9 6 a Ljava/lang/Object;
Exception table:
from to target type
1 17 17 any
Exceptions:
throws java.io.IOException
Signature: (TGraph;Ljava/util/Map<+Ljava/lang/Object;+Ljava/lang/Object;>;ILjava/lang/String;[Ljava/lang/Object;)V
MethodParameters:
Name Flags
graph
properties
id
format
args
public final void startDocument(java.util.Map<? extends java.lang.Object, ? extends java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.graphio.GraphProtocol.versionMajor:I
bipush 7
if_icmpge 2
1: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Dump properties unsupported in format v."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.graalvm.graphio.GraphProtocol.versionMajor:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.graalvm.graphio.GraphProtocol.printing:Z
3: aload 0
iconst_3
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
4: aload 0
aconst_null
aload 1
invokevirtual org.graalvm.graphio.GraphProtocol.writeProperties:(Ljava/lang/Object;Ljava/util/Map;)V
5: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
7: aload 0
iconst_0
putfield org.graalvm.graphio.GraphProtocol.printing:Z
8: aload 2
athrow
9: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.graalvm.graphio.GraphProtocol.printing:Z
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 11 1 documentProperties Ljava/util/Map<+Ljava/lang/Object;+Ljava/lang/Object;>;
Exception table:
from to target type
3 6 6 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<+Ljava/lang/Object;+Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
documentProperties
public final void beginGroup(Graph, java.lang.String, java.lang.String, ResolvedJavaMethod, int, java.util.Map<? extends java.lang.Object, ? extends java.lang.Object>);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;ILjava/util/Map;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
iconst_1
putfield org.graalvm.graphio.GraphProtocol.printing:Z
1: aload 0
iconst_0
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
2: aload 0
aload 2
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
3: aload 0
aload 3
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
4: aload 0
aload 4
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
5: aload 0
iload 5
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
6: aload 0
aload 1
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.writeProperties:(Ljava/lang/Object;Ljava/util/Map;)V
7: aload 0
invokevirtual org.graalvm.graphio.GraphProtocol.flushEmbedded:()V
8: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 7
10: aload 0
iconst_0
putfield org.graalvm.graphio.GraphProtocol.printing:Z
11: aload 7
athrow
12: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.graalvm.graphio.GraphProtocol.printing:Z
13: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 14 1 noGraph TGraph;
0 14 2 name Ljava/lang/String;
0 14 3 shortName Ljava/lang/String;
0 14 4 method TResolvedJavaMethod;
0 14 5 bci I
0 14 6 properties Ljava/util/Map<+Ljava/lang/Object;+Ljava/lang/Object;>;
Exception table:
from to target type
1 9 9 any
Exceptions:
throws java.io.IOException
Signature: (TGraph;Ljava/lang/String;Ljava/lang/String;TResolvedJavaMethod;ILjava/util/Map<+Ljava/lang/Object;+Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
noGraph
name
shortName
method
bci
properties
public final void endGroup();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.graalvm.graphio.GraphProtocol.printing:Z
1: aload 0
iconst_2
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
2: aload 0
invokevirtual org.graalvm.graphio.GraphProtocol.flushEmbedded:()V
3: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
4: astore 1
5: aload 0
iconst_0
putfield org.graalvm.graphio.GraphProtocol.printing:Z
6: aload 1
athrow
7: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.graalvm.graphio.GraphProtocol.printing:Z
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
Exception table:
from to target type
1 4 4 any
Exceptions:
throws java.io.IOException
final int write(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.graphio.GraphProtocol.printing:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Trying to write during graph print."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.graphio.GraphProtocol.constantPool:Lorg/graalvm/graphio/GraphProtocol$ConstantPool;
invokevirtual org.graalvm.graphio.GraphProtocol$ConstantPool.reset:()V
3: aload 0
aload 1
invokevirtual org.graalvm.graphio.GraphProtocol.writeBytesRaw:(Ljava/nio/ByteBuffer;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 4 1 src Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
final boolean isOpen();
descriptor: ()Z
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.graphio.GraphProtocol.channel:Ljava/nio/channels/WritableByteChannel;
invokeinterface java.nio.channels.WritableByteChannel.isOpen:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
public final void close();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.graphio.GraphProtocol.flush:()V
1: aload 0
getfield org.graalvm.graphio.GraphProtocol.channel:Ljava/nio/channels/WritableByteChannel;
invokeinterface java.nio.channels.WritableByteChannel.close:()V
2: goto 5
StackMap locals:
StackMap stack: java.io.IOException
3: astore 1
start local 1 4: new java.lang.Error
dup
aload 1
invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
4 5 1 ex Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
protected abstract Graph findGraph(Graph, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TGraph;Ljava/lang/Object;)TGraph;
MethodParameters:
Name Flags
current
obj
protected abstract ResolvedJavaMethod findMethod();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Ljava/lang/Object;)TResolvedJavaMethod;
MethodParameters:
Name Flags
obj
protected abstract Node findNode();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Ljava/lang/Object;)TNode;
MethodParameters:
Name Flags
obj
protected abstract NodeClass findNodeClass();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Ljava/lang/Object;)TNodeClass;
MethodParameters:
Name Flags
obj
protected abstract NodeClass findClassForNode();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TNode;)TNodeClass;
MethodParameters:
Name Flags
obj
protected abstract findJavaClass(NodeClass);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TNodeClass;)Ljava/lang/Object;
MethodParameters:
Name Flags
clazz
protected abstract java.lang.Object findEnumClass(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
enumValue
protected abstract java.lang.String findNameTemplate(NodeClass);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TNodeClass;)Ljava/lang/String;
MethodParameters:
Name Flags
clazz
protected abstract Edges findClassEdges(NodeClass, );
descriptor: (Ljava/lang/Object;Z)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TNodeClass;Z)TEdges;
MethodParameters:
Name Flags
nodeClass
dumpInputs
protected abstract int findNodeId();
descriptor: (Ljava/lang/Object;)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TNode;)I
MethodParameters:
Name Flags
n
protected abstract void findExtraNodes(Node, java.util.Collection<? super Node>);
descriptor: (Ljava/lang/Object;Ljava/util/Collection;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TNode;Ljava/util/Collection<-TNode;>;)V
MethodParameters:
Name Flags
node
extraNodes
protected abstract boolean hasPredecessor();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TNode;)Z
MethodParameters:
Name Flags
node
protected abstract int findNodesCount();
descriptor: (Ljava/lang/Object;)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TGraph;)I
MethodParameters:
Name Flags
info
protected abstract java.lang.Iterable<? extends Node> findNodes(Graph);
descriptor: (Ljava/lang/Object;)Ljava/lang/Iterable;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TGraph;)Ljava/lang/Iterable<+TNode;>;
MethodParameters:
Name Flags
info
protected abstract void findNodeProperties(Node, java.util.Map<java.lang.String, java.lang.Object>, );
descriptor: (Ljava/lang/Object;Ljava/util/Map;Ljava/lang/Object;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TNode;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;TGraph;)V
MethodParameters:
Name Flags
node
props
info
protected abstract java.util.Collection<? extends Node> findBlockNodes(Graph, Block);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Collection;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TGraph;TBlock;)Ljava/util/Collection<+TNode;>;
MethodParameters:
Name Flags
info
block
protected abstract int findBlockId();
descriptor: (Ljava/lang/Object;)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TBlock;)I
MethodParameters:
Name Flags
sux
protected abstract java.util.Collection<? extends Block> findBlocks(Graph);
descriptor: (Ljava/lang/Object;)Ljava/util/Collection;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TGraph;)Ljava/util/Collection<+TBlock;>;
MethodParameters:
Name Flags
graph
protected abstract java.util.Collection<? extends Block> findBlockSuccessors(Block);
descriptor: (Ljava/lang/Object;)Ljava/util/Collection;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TBlock;)Ljava/util/Collection<+TBlock;>;
MethodParameters:
Name Flags
block
protected abstract java.lang.String formatTitle(Graph, int, java.lang.String, []);
descriptor: (Ljava/lang/Object;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0484) ACC_PROTECTED, ACC_VARARGS, ACC_ABSTRACT
Signature: (TGraph;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
MethodParameters:
Name Flags
graph
id
format
args
protected abstract int findSize();
descriptor: (Ljava/lang/Object;)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TEdges;)I
MethodParameters:
Name Flags
edges
protected abstract boolean isDirect(Edges, );
descriptor: (Ljava/lang/Object;I)Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TEdges;I)Z
MethodParameters:
Name Flags
edges
i
protected abstract java.lang.String findName(Edges, int);
descriptor: (Ljava/lang/Object;I)Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TEdges;I)Ljava/lang/String;
MethodParameters:
Name Flags
edges
i
protected abstract findType(Edges, int);
descriptor: (Ljava/lang/Object;I)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TEdges;I)Ljava/lang/Object;
MethodParameters:
Name Flags
edges
i
protected abstract java.util.Collection<? extends Node> findNodes(Graph, Node, Edges, int);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;I)Ljava/util/Collection;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TGraph;TNode;TEdges;I)Ljava/util/Collection<+TNode;>;
MethodParameters:
Name Flags
graph
node
edges
i
protected abstract int findEnumOrdinal(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
obj
protected abstract java.lang.String[] findEnumTypeValues(java.lang.Object);
descriptor: (Ljava/lang/Object;)[Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
clazz
protected abstract java.lang.String findJavaTypeName(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
obj
protected abstract byte[] findMethodCode();
descriptor: (Ljava/lang/Object;)[B
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TResolvedJavaMethod;)[B
MethodParameters:
Name Flags
method
protected abstract int findMethodModifiers();
descriptor: (Ljava/lang/Object;)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TResolvedJavaMethod;)I
MethodParameters:
Name Flags
method
protected abstract Signature findMethodSignature();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TResolvedJavaMethod;)TSignature;
MethodParameters:
Name Flags
method
protected abstract java.lang.String findMethodName(ResolvedJavaMethod);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TResolvedJavaMethod;)Ljava/lang/String;
MethodParameters:
Name Flags
method
protected abstract findMethodDeclaringClass(ResolvedJavaMethod);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TResolvedJavaMethod;)Ljava/lang/Object;
MethodParameters:
Name Flags
method
protected abstract int findFieldModifiers();
descriptor: (Ljava/lang/Object;)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TResolvedJavaField;)I
MethodParameters:
Name Flags
field
protected abstract java.lang.String findFieldTypeName(ResolvedJavaField);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TResolvedJavaField;)Ljava/lang/String;
MethodParameters:
Name Flags
field
protected abstract java.lang.String findFieldName(ResolvedJavaField);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TResolvedJavaField;)Ljava/lang/String;
MethodParameters:
Name Flags
field
protected abstract findFieldDeclaringClass(ResolvedJavaField);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TResolvedJavaField;)Ljava/lang/Object;
MethodParameters:
Name Flags
field
protected abstract ResolvedJavaField findJavaField();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Ljava/lang/Object;)TResolvedJavaField;
MethodParameters:
Name Flags
object
protected abstract Signature findSignature();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Ljava/lang/Object;)TSignature;
MethodParameters:
Name Flags
object
protected abstract int findSignatureParameterCount();
descriptor: (Ljava/lang/Object;)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TSignature;)I
MethodParameters:
Name Flags
signature
protected abstract java.lang.String findSignatureParameterTypeName(Signature, int);
descriptor: (Ljava/lang/Object;I)Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TSignature;I)Ljava/lang/String;
MethodParameters:
Name Flags
signature
index
protected abstract java.lang.String findSignatureReturnTypeName(Signature);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TSignature;)Ljava/lang/String;
MethodParameters:
Name Flags
signature
protected abstract NodeSourcePosition findNodeSourcePosition();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Ljava/lang/Object;)TNodeSourcePosition;
MethodParameters:
Name Flags
object
protected abstract ResolvedJavaMethod findNodeSourcePositionMethod();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TNodeSourcePosition;)TResolvedJavaMethod;
MethodParameters:
Name Flags
pos
protected abstract NodeSourcePosition findNodeSourcePositionCaller();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TNodeSourcePosition;)TNodeSourcePosition;
MethodParameters:
Name Flags
pos
protected abstract int findNodeSourcePositionBCI();
descriptor: (Ljava/lang/Object;)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TNodeSourcePosition;)I
MethodParameters:
Name Flags
pos
protected abstract java.lang.Iterable<Location> findLocation(ResolvedJavaMethod, int, NodeSourcePosition);
descriptor: (Ljava/lang/Object;ILjava/lang/Object;)Ljava/lang/Iterable;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TResolvedJavaMethod;ITNodeSourcePosition;)Ljava/lang/Iterable<TLocation;>;
MethodParameters:
Name Flags
method
bci
pos
protected abstract java.lang.String findLocationFile(Location);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
Signature: (TLocation;)Ljava/lang/String;
MethodParameters:
Name Flags
loc
protected abstract int findLocationLine();
descriptor: (Ljava/lang/Object;)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TLocation;)I
MethodParameters:
Name Flags
loc
protected abstract java.net.URI findLocationURI(Location);
descriptor: (Ljava/lang/Object;)Ljava/net/URI;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.net.URISyntaxException
Signature: (TLocation;)Ljava/net/URI;
MethodParameters:
Name Flags
loc
protected abstract java.lang.String findLocationLanguage(Location);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TLocation;)Ljava/lang/String;
MethodParameters:
Name Flags
loc
protected abstract int findLocationStart();
descriptor: (Ljava/lang/Object;)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TLocation;)I
MethodParameters:
Name Flags
loc
protected abstract int findLocationEnd();
descriptor: (Ljava/lang/Object;)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TLocation;)I
MethodParameters:
Name Flags
loc
private void writeVersion();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.graalvm.graphio.GraphProtocol.MAGIC_BYTES:[B
invokevirtual org.graalvm.graphio.GraphProtocol.writeBytesRaw:([B)V
1: aload 0
aload 0
getfield org.graalvm.graphio.GraphProtocol.versionMajor:I
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
2: aload 0
aload 0
getfield org.graalvm.graphio.GraphProtocol.versionMinor:I
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
Exceptions:
throws java.io.IOException
private void flushEmbedded();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.graphio.GraphProtocol.embedded:Z
ifeq 3
1: aload 0
invokevirtual org.graalvm.graphio.GraphProtocol.flush:()V
2: aload 0
getfield org.graalvm.graphio.GraphProtocol.constantPool:Lorg/graalvm/graphio/GraphProtocol$ConstantPool;
invokevirtual org.graalvm.graphio.GraphProtocol$ConstantPool.reset:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
Exceptions:
throws java.io.IOException
private void flush();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
invokestatic org.graalvm.graphio.GraphProtocol.asBaseBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
invokevirtual java.nio.Buffer.flip:()Ljava/nio/Buffer;
pop
1: invokestatic java.lang.Thread.interrupted:()Z
istore 1
start local 1 2: aload 0
getfield org.graalvm.graphio.GraphProtocol.channel:Ljava/nio/channels/WritableByteChannel;
aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
invokeinterface java.nio.channels.WritableByteChannel.write:(Ljava/nio/ByteBuffer;)I
pop
3: goto 8
StackMap locals: org.graalvm.graphio.GraphProtocol int
StackMap stack: java.lang.Throwable
4: astore 2
5: iload 1
ifeq 7
6: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
7: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
athrow
8: StackMap locals:
StackMap stack:
iload 1
ifeq 10
9: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
10: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
pop
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
2 12 1 interrupted Z
Exception table:
from to target type
2 4 4 any
Exceptions:
throws java.io.IOException
private void ensureAvailable(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.graphio.GraphProtocol.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
iload 1
if_icmpge 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Can not make "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bytes available, buffer is too small"
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
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.graphio.GraphProtocol.flush:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 1
if_icmplt 1
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 4 1 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
i
private void writeByte(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
invokevirtual org.graalvm.graphio.GraphProtocol.ensureAvailable:(I)V
1: aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
iload 1
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 3 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
private void writeInt(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_4
invokevirtual org.graalvm.graphio.GraphProtocol.ensureAvailable:(I)V
1: aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.putInt:(I)Ljava/nio/ByteBuffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 3 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
private void writeLong(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
bipush 8
invokevirtual org.graalvm.graphio.GraphProtocol.ensureAvailable:(I)V
1: aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
lload 1
invokevirtual java.nio.ByteBuffer.putLong:(J)Ljava/nio/ByteBuffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 3 1 b J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
private void writeDouble(double);
descriptor: (D)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
bipush 8
invokevirtual org.graalvm.graphio.GraphProtocol.ensureAvailable:(I)V
1: aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
dload 1
invokevirtual java.nio.ByteBuffer.putDouble:(D)Ljava/nio/ByteBuffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 3 1 b D
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
private void writeFloat(float);
descriptor: (F)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_4
invokevirtual org.graalvm.graphio.GraphProtocol.ensureAvailable:(I)V
1: aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
fload 1
invokevirtual java.nio.ByteBuffer.putFloat:(F)Ljava/nio/ByteBuffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 3 1 b F
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
private void writeShort(char);
descriptor: (C)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_2
invokevirtual org.graalvm.graphio.GraphProtocol.ensureAvailable:(I)V
1: aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.putChar:(C)Ljava/nio/ByteBuffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 3 1 b C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
private void writeString(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getstatic org.graalvm.graphio.GraphProtocol.UTF8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
astore 2
start local 2 1: aload 0
aload 2
invokevirtual org.graalvm.graphio.GraphProtocol.writeBytes:([B)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 3 1 str Ljava/lang/String;
1 3 2 bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
str
private void writeBytes(byte[]);
descriptor: ([B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
iconst_m1
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
2: goto 5
3: StackMap locals:
StackMap stack:
aload 0
aload 1
arraylength
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
4: aload 0
aload 1
invokevirtual org.graalvm.graphio.GraphProtocol.writeBytesRaw:([B)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 6 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
private void writeBytesRaw(byte[]);
descriptor: ([B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 1
arraylength
iload 2
isub
aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
invokestatic java.lang.Math.min:(II)I
istore 3
start local 3 3: aload 0
iload 3
invokevirtual org.graalvm.graphio.GraphProtocol.ensureAvailable:(I)V
4: aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
aload 1
iload 2
iload 3
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
5: iload 2
iload 3
iadd
istore 2
end local 3 6: StackMap locals:
StackMap stack:
iload 2
aload 1
arraylength
if_icmplt 2
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 8 1 b [B
1 8 2 bytesWritten I
3 6 3 toWrite I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
private int writeBytesRaw(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 13
3: StackMap locals: int int
StackMap stack:
iload 2
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
isub
aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
invokestatic java.lang.Math.min:(II)I
istore 4
start local 4 4: aload 0
iload 4
invokevirtual org.graalvm.graphio.GraphProtocol.ensureAvailable:(I)V
5: aload 1
invokestatic org.graalvm.graphio.GraphProtocol.asBaseBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iload 4
iadd
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
6: aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
aload 1
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
7: iload 3
iload 4
iadd
istore 3
8: goto 12
StackMap locals: org.graalvm.graphio.GraphProtocol java.nio.ByteBuffer int int int
StackMap stack: java.lang.Throwable
9: astore 5
10: aload 1
invokestatic org.graalvm.graphio.GraphProtocol.asBaseBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
iload 2
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
11: aload 5
athrow
12: StackMap locals:
StackMap stack:
aload 1
invokestatic org.graalvm.graphio.GraphProtocol.asBaseBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
iload 2
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
end local 4 13: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
if_icmplt 3
14: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 15 1 b Ljava/nio/ByteBuffer;
1 15 2 limit I
2 15 3 written I
4 13 4 toWrite I
Exception table:
from to target type
6 9 9 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
private void writeInts(int[]);
descriptor: ([I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
iconst_m1
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
2: goto 8
3: StackMap locals:
StackMap stack:
aload 0
aload 1
arraylength
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
4: aload 1
arraylength
iconst_4
imul
istore 2
start local 2 5: aload 0
iload 2
invokevirtual org.graalvm.graphio.GraphProtocol.ensureAvailable:(I)V
6: aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
aload 1
invokevirtual java.nio.IntBuffer.put:([I)Ljava/nio/IntBuffer;
pop
7: aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
invokestatic org.graalvm.graphio.GraphProtocol.asBaseBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
iadd
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
pop
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 9 1 b [I
5 8 2 sizeInBytes I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
private void writeDoubles(double[]);
descriptor: ([D)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
iconst_m1
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
2: goto 8
3: StackMap locals:
StackMap stack:
aload 0
aload 1
arraylength
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
4: aload 1
arraylength
bipush 8
imul
istore 2
start local 2 5: aload 0
iload 2
invokevirtual org.graalvm.graphio.GraphProtocol.ensureAvailable:(I)V
6: aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asDoubleBuffer:()Ljava/nio/DoubleBuffer;
aload 1
invokevirtual java.nio.DoubleBuffer.put:([D)Ljava/nio/DoubleBuffer;
pop
7: aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
invokestatic org.graalvm.graphio.GraphProtocol.asBaseBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
aload 0
getfield org.graalvm.graphio.GraphProtocol.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
iadd
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
pop
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 9 1 b [D
5 8 2 sizeInBytes I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
private void writePoolObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 0
iconst_5
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
3: return
4: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield org.graalvm.graphio.GraphProtocol.constantPool:Lorg/graalvm/graphio/GraphProtocol$ConstantPool;
aload 2
invokevirtual org.graalvm.graphio.GraphProtocol$ConstantPool.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Character
astore 3
start local 3 5: aload 3
ifnonnull 8
6: aload 0
aload 2
invokevirtual org.graalvm.graphio.GraphProtocol.addPoolEntry:(Ljava/lang/Object;)V
7: goto 11
8: StackMap locals: java.lang.Character
StackMap stack:
aload 0
aload 2
aconst_null
invokevirtual org.graalvm.graphio.GraphProtocol.findPoolType:(Ljava/lang/Object;[Ljava/lang/Object;)I
istore 4
start local 4 9: aload 0
iload 4
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
10: aload 0
aload 3
invokevirtual java.lang.Character.charValue:()C
invokevirtual org.graalvm.graphio.GraphProtocol.writeShort:(C)V
end local 4 11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 12 1 obj Ljava/lang/Object;
1 12 2 object Ljava/lang/Object;
5 12 3 id Ljava/lang/Character;
9 11 4 type I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
obj
private int findPoolType(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
astore 3
start local 3 1: aload 3
ifnonnull 3
2: iconst_5
ireturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 3
invokevirtual org.graalvm.graphio.GraphProtocol.findJavaField:(Ljava/lang/Object;)Ljava/lang/Object;
aload 2
invokestatic org.graalvm.graphio.GraphProtocol.isFound:(Ljava/lang/Object;[Ljava/lang/Object;)Z
ifeq 5
4: bipush 7
ireturn
5: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.graalvm.graphio.GraphProtocol.findSignature:(Ljava/lang/Object;)Ljava/lang/Object;
aload 2
invokestatic org.graalvm.graphio.GraphProtocol.isFound:(Ljava/lang/Object;[Ljava/lang/Object;)Z
ifeq 7
6: bipush 8
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.graphio.GraphProtocol.versionMajor:I
iconst_4
if_icmplt 9
aload 0
aload 3
invokevirtual org.graalvm.graphio.GraphProtocol.findNodeSourcePosition:(Ljava/lang/Object;)Ljava/lang/Object;
aload 2
invokestatic org.graalvm.graphio.GraphProtocol.isFound:(Ljava/lang/Object;[Ljava/lang/Object;)Z
ifeq 9
8: bipush 9
ireturn
9: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.graalvm.graphio.GraphProtocol.findNode:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 10: aload 0
getfield org.graalvm.graphio.GraphProtocol.versionMajor:I
iconst_4
if_icmpne 12
aload 4
ifnull 12
11: aload 0
aload 4
invokevirtual org.graalvm.graphio.GraphProtocol.classForNode:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
12: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 3
invokevirtual org.graalvm.graphio.GraphProtocol.findNodeClass:(Ljava/lang/Object;)Ljava/lang/Object;
aload 2
invokestatic org.graalvm.graphio.GraphProtocol.isFound:(Ljava/lang/Object;[Ljava/lang/Object;)Z
ifeq 14
13: bipush 6
ireturn
14: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.graphio.GraphProtocol.versionMajor:I
iconst_5
if_icmplt 16
aload 4
aload 2
invokestatic org.graalvm.graphio.GraphProtocol.isFound:(Ljava/lang/Object;[Ljava/lang/Object;)Z
ifeq 16
15: bipush 10
ireturn
16: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.graalvm.graphio.GraphProtocol.findMethod:(Ljava/lang/Object;)Ljava/lang/Object;
aload 2
invokestatic org.graalvm.graphio.GraphProtocol.isFound:(Ljava/lang/Object;[Ljava/lang/Object;)Z
ifeq 18
17: iconst_4
ireturn
18: StackMap locals:
StackMap stack:
aload 3
instanceof java.lang.Enum
ifeq 22
19: aload 2
ifnull 21
20: aload 2
iconst_0
aload 3
checkcast java.lang.Enum
invokevirtual java.lang.Enum.ordinal:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
21: StackMap locals:
StackMap stack:
iconst_2
ireturn
22: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.graalvm.graphio.GraphProtocol.findEnumOrdinal:(Ljava/lang/Object;)I
istore 5
start local 5 23: iload 5
iflt 27
24: aload 2
ifnull 26
25: aload 2
iconst_0
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
26: StackMap locals: int
StackMap stack:
iconst_2
ireturn
27: StackMap locals:
StackMap stack:
aload 3
instanceof java.lang.Class
ifeq 31
28: aload 2
ifnull 30
29: aload 2
iconst_0
aload 3
checkcast java.lang.Class
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
30: StackMap locals:
StackMap stack:
iconst_3
ireturn
31: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.graalvm.graphio.GraphProtocol.findJavaTypeName:(Ljava/lang/Object;)Ljava/lang/String;
aload 2
invokestatic org.graalvm.graphio.GraphProtocol.isFound:(Ljava/lang/Object;[Ljava/lang/Object;)Z
ifeq 33
32: iconst_3
ireturn
33: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 34 1 obj Ljava/lang/Object;
0 34 2 found [Ljava/lang/Object;
1 34 3 object Ljava/lang/Object;
10 34 4 node TNode;
23 34 5 val I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
obj
found
private void writeGraph(Graph, java.util.Map<? extends java.lang.Object, ? extends java.lang.Object>);
descriptor: (Ljava/lang/Object;Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.graalvm.graphio.GraphProtocol.writeProperties:(Ljava/lang/Object;Ljava/util/Map;)V
1: aload 0
aload 1
invokevirtual org.graalvm.graphio.GraphProtocol.writeNodes:(Ljava/lang/Object;)V
2: aload 0
aload 0
aload 1
invokevirtual org.graalvm.graphio.GraphProtocol.findBlocks:(Ljava/lang/Object;)Ljava/util/Collection;
aload 1
invokevirtual org.graalvm.graphio.GraphProtocol.writeBlocks:(Ljava/util/Collection;Ljava/lang/Object;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 4 1 graph TGraph;
0 4 2 properties Ljava/util/Map<+Ljava/lang/Object;+Ljava/lang/Object;>;
Exceptions:
throws java.io.IOException
Signature: (TGraph;Ljava/util/Map<+Ljava/lang/Object;+Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
graph
properties
private void writeNodes();
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: aload 0
aload 1
invokevirtual org.graalvm.graphio.GraphProtocol.findNodesCount:(Ljava/lang/Object;)I
istore 3
start local 3 2: aload 0
iload 3
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
3: iconst_0
istore 4
start local 4 4: aload 0
aload 1
invokevirtual org.graalvm.graphio.GraphProtocol.findNodes:(Ljava/lang/Object;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 18
StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.util.Map int int top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 5
start local 5 6: aload 0
aload 5
invokevirtual org.graalvm.graphio.GraphProtocol.classForNode:(Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 7: aload 0
aload 5
aload 2
aload 1
invokevirtual org.graalvm.graphio.GraphProtocol.findNodeProperties:(Ljava/lang/Object;Ljava/util/Map;Ljava/lang/Object;)V
8: aload 0
aload 0
aload 5
invokevirtual org.graalvm.graphio.GraphProtocol.findNodeId:(Ljava/lang/Object;)I
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
9: aload 0
aload 7
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
10: aload 0
aload 0
aload 5
invokevirtual org.graalvm.graphio.GraphProtocol.hasPredecessor:(Ljava/lang/Object;)Z
ifeq 11
iconst_1
goto 12
StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.util.Map int int java.lang.Object java.util.Iterator java.lang.Object
StackMap stack: org.graalvm.graphio.GraphProtocol
11: iconst_0
StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.util.Map int int java.lang.Object java.util.Iterator java.lang.Object
StackMap stack: org.graalvm.graphio.GraphProtocol int
12: invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
13: aload 0
aload 1
aload 2
invokevirtual org.graalvm.graphio.GraphProtocol.writeProperties:(Ljava/lang/Object;Ljava/util/Map;)V
14: aload 0
aload 1
aload 5
iconst_1
invokevirtual org.graalvm.graphio.GraphProtocol.writeEdges:(Ljava/lang/Object;Ljava/lang/Object;Z)V
15: aload 0
aload 1
aload 5
iconst_0
invokevirtual org.graalvm.graphio.GraphProtocol.writeEdges:(Ljava/lang/Object;Ljava/lang/Object;Z)V
16: aload 2
invokeinterface java.util.Map.clear:()V
17: iinc 4 1
end local 7 end local 5 18: StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.util.Map int int top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
19: iload 3
iload 4
if_icmpeq 21
20: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Expecting "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " nodes, but found "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.util.Map int int
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 22 1 info TGraph;
1 22 2 props Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
2 22 3 size I
4 22 4 cnt I
6 18 5 node TNode;
7 18 7 nodeClass TNodeClass;
Exceptions:
throws java.io.IOException
Signature: (TGraph;)V
MethodParameters:
Name Flags
info
private void writeEdges(Graph, Node, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokevirtual org.graalvm.graphio.GraphProtocol.classForNode:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 1: aload 0
aload 4
iload 3
invokevirtual org.graalvm.graphio.GraphProtocol.findClassEdges:(Ljava/lang/Object;Z)Ljava/lang/Object;
astore 5
start local 5 2: aload 0
aload 5
invokevirtual org.graalvm.graphio.GraphProtocol.findSize:(Ljava/lang/Object;)I
istore 6
start local 6 3: iconst_0
istore 7
start local 7 4: goto 25
5: StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.lang.Object int java.lang.Object java.lang.Object int int
StackMap stack:
aload 0
aload 1
aload 2
aload 5
iload 7
invokevirtual org.graalvm.graphio.GraphProtocol.findNodes:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;I)Ljava/util/Collection;
astore 8
start local 8 6: aload 0
aload 5
iload 7
invokevirtual org.graalvm.graphio.GraphProtocol.isDirect:(Ljava/lang/Object;I)Z
ifeq 14
7: aload 8
ifnull 9
aload 8
invokeinterface java.util.Collection.size:()I
iconst_1
if_icmpeq 9
8: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Edge "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 7
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is direct, but list isn't singleton: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: java.util.Collection
StackMap stack:
aconst_null
astore 9
start local 9 10: aload 8
ifnull 12
aload 8
invokeinterface java.util.Collection.isEmpty:()Z
ifne 12
11: aload 8
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 9
12: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 9
invokevirtual org.graalvm.graphio.GraphProtocol.writeNodeRef:(Ljava/lang/Object;)V
end local 9 13: goto 24
14: StackMap locals:
StackMap stack:
aload 8
ifnonnull 17
15: aload 0
iconst_0
invokevirtual org.graalvm.graphio.GraphProtocol.writeShort:(C)V
16: goto 24
17: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Collection.size:()I
istore 9
start local 9 18: getstatic org.graalvm.graphio.GraphProtocol.$assertionsDisabled:Z
ifne 19
iload 9
iload 9
i2c
if_icmpeq 19
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
19: StackMap locals: int
StackMap stack:
aload 0
iload 9
i2c
invokevirtual org.graalvm.graphio.GraphProtocol.writeShort:(C)V
20: aload 8
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 11
goto 23
StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.lang.Object int java.lang.Object java.lang.Object int int java.util.Collection int top java.util.Iterator
StackMap stack:
21: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 10
start local 10 22: aload 0
aload 10
invokevirtual org.graalvm.graphio.GraphProtocol.writeNodeRef:(Ljava/lang/Object;)V
end local 10 23: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
end local 9 end local 8 24: StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.lang.Object int java.lang.Object java.lang.Object int int
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
25: iload 7
iload 6
if_icmplt 5
end local 7 26: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 27 1 graph TGraph;
0 27 2 node TNode;
0 27 3 dumpInputs Z
1 27 4 clazz TNodeClass;
2 27 5 edges TEdges;
3 27 6 size I
4 26 7 i I
6 24 8 list Ljava/util/Collection<+TNode;>;
10 13 9 n TNode;
18 24 9 listSize I
22 23 10 edge TNode;
Exceptions:
throws java.io.IOException
Signature: (TGraph;TNode;Z)V
MethodParameters:
Name Flags
graph
node
dumpInputs
private NodeClass classForNode();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.graphio.GraphProtocol.findClassForNode:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "No class for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 4 1 node TNode;
1 4 2 clazz TNodeClass;
Exceptions:
throws java.io.IOException
Signature: (TNode;)TNodeClass;
MethodParameters:
Name Flags
node
private void writeNodeRef();
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokevirtual org.graalvm.graphio.GraphProtocol.findNodeId:(Ljava/lang/Object;)I
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 2 1 node TNode;
Exceptions:
throws java.io.IOException
Signature: (TNode;)V
MethodParameters:
Name Flags
node
private void writeBlocks(java.util.Collection<? extends Block>, );
descriptor: (Ljava/util/Collection;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 26
1: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: org.graalvm.graphio.GraphProtocol java.util.Collection java.lang.Object top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 3
start local 3 3: aload 0
aload 2
aload 3
invokevirtual org.graalvm.graphio.GraphProtocol.findBlockNodes:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Collection;
astore 5
start local 5 4: aload 5
ifnonnull 7
5: aload 0
iconst_0
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
6: return
end local 5 end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: aload 0
aload 1
invokeinterface java.util.Collection.size:()I
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
9: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 24
StackMap locals:
StackMap stack:
10: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 3
start local 3 11: aload 0
aload 2
aload 3
invokevirtual org.graalvm.graphio.GraphProtocol.findBlockNodes:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Collection;
astore 5
start local 5 12: aload 0
aload 0
aload 3
invokevirtual org.graalvm.graphio.GraphProtocol.findBlockId:(Ljava/lang/Object;)I
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
13: aload 0
aload 5
invokeinterface java.util.Collection.size:()I
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
14: aload 5
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 17
StackMap locals: org.graalvm.graphio.GraphProtocol java.util.Collection java.lang.Object java.lang.Object java.util.Iterator java.util.Collection top java.util.Iterator
StackMap stack:
15: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 6
start local 6 16: aload 0
aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findNodeId:(Ljava/lang/Object;)I
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
end local 6 17: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
18: aload 0
aload 3
invokevirtual org.graalvm.graphio.GraphProtocol.findBlockSuccessors:(Ljava/lang/Object;)Ljava/util/Collection;
astore 6
start local 6 19: aload 0
aload 6
invokeinterface java.util.Collection.size:()I
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
20: aload 6
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 8
goto 23
StackMap locals: org.graalvm.graphio.GraphProtocol java.util.Collection java.lang.Object java.lang.Object java.util.Iterator java.util.Collection java.util.Collection top java.util.Iterator
StackMap stack:
21: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 7
start local 7 22: aload 0
aload 0
aload 7
invokevirtual org.graalvm.graphio.GraphProtocol.findBlockId:(Ljava/lang/Object;)I
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
end local 7 23: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
end local 6 end local 5 end local 3 24: StackMap locals: org.graalvm.graphio.GraphProtocol java.util.Collection java.lang.Object top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
25: goto 27
26: StackMap locals: org.graalvm.graphio.GraphProtocol java.util.Collection java.lang.Object
StackMap stack:
aload 0
iconst_0
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
27: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 28 1 blocks Ljava/util/Collection<+TBlock;>;
0 28 2 info TGraph;
3 7 3 block TBlock;
4 7 5 nodes Ljava/util/Collection<+TNode;>;
11 24 3 block TBlock;
12 24 5 nodes Ljava/util/Collection<+TNode;>;
16 17 6 node TNode;
19 24 6 successors Ljava/util/Collection<+TBlock;>;
22 23 7 sux TBlock;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Collection<+TBlock;>;TGraph;)V
MethodParameters:
Name Flags
blocks
info
private void writeEdgesInfo(NodeClass, );
descriptor: (Ljava/lang/Object;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokevirtual org.graalvm.graphio.GraphProtocol.findClassEdges:(Ljava/lang/Object;Z)Ljava/lang/Object;
astore 3
start local 3 1: aload 0
aload 3
invokevirtual org.graalvm.graphio.GraphProtocol.findSize:(Ljava/lang/Object;)I
istore 4
start local 4 2: aload 0
iload 4
i2c
invokevirtual org.graalvm.graphio.GraphProtocol.writeShort:(C)V
3: iconst_0
istore 5
start local 5 4: goto 12
5: StackMap locals: java.lang.Object int int
StackMap stack:
aload 0
aload 0
aload 3
iload 5
invokevirtual org.graalvm.graphio.GraphProtocol.isDirect:(Ljava/lang/Object;I)Z
ifeq 6
iconst_0
goto 7
StackMap locals:
StackMap stack: org.graalvm.graphio.GraphProtocol
6: iconst_1
StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object int java.lang.Object int int
StackMap stack: org.graalvm.graphio.GraphProtocol int
7: invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
8: aload 0
aload 0
aload 3
iload 5
invokevirtual org.graalvm.graphio.GraphProtocol.findName:(Ljava/lang/Object;I)Ljava/lang/String;
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
9: iload 2
ifeq 11
10: aload 0
aload 0
aload 3
iload 5
invokevirtual org.graalvm.graphio.GraphProtocol.findType:(Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
iload 4
if_icmplt 5
end local 5 13: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 14 1 nodeClass TNodeClass;
0 14 2 dumpInputs Z
1 14 3 edges TEdges;
2 14 4 size I
4 13 5 i I
Exceptions:
throws java.io.IOException
Signature: (TNodeClass;Z)V
MethodParameters:
Name Flags
nodeClass
dumpInputs
private void addPoolEntry(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=13, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: aload 0
getfield org.graalvm.graphio.GraphProtocol.constantPool:Lorg/graalvm/graphio/GraphProtocol$ConstantPool;
aload 2
invokevirtual org.graalvm.graphio.GraphProtocol$ConstantPool.add:(Ljava/lang/Object;)C
istore 3
start local 3 2: aload 0
iconst_0
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
3: aload 0
iload 3
invokevirtual org.graalvm.graphio.GraphProtocol.writeShort:(C)V
4: iconst_1
anewarray java.lang.Object
astore 4
start local 4 5: aload 0
aload 2
aload 4
invokevirtual org.graalvm.graphio.GraphProtocol.findPoolType:(Ljava/lang/Object;[Ljava/lang/Object;)I
istore 5
start local 5 6: aload 0
iload 5
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
7: iload 5
tableswitch { // 1 - 10
1: 112
2: 108
3: 82
4: 97
5: 114
6: 70
7: 8
8: 15
9: 25
10: 65
default: 114
}
8: StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.lang.Object int java.lang.Object[] int
StackMap stack:
aload 4
iconst_0
aaload
astore 6
start local 6 9: aload 6
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findFieldDeclaringClass:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
11: aload 0
aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findFieldName:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
12: aload 0
aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findFieldTypeName:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
13: aload 0
aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findFieldModifiers:(Ljava/lang/Object;)I
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
14: goto 115
end local 6 15: StackMap locals:
StackMap stack:
aload 4
iconst_0
aaload
astore 6
start local 6 16: aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findSignatureParameterCount:(Ljava/lang/Object;)I
istore 7
start local 7 17: aload 0
iload 7
i2c
invokevirtual org.graalvm.graphio.GraphProtocol.writeShort:(C)V
18: iconst_0
istore 8
start local 8 19: goto 22
20: StackMap locals: java.lang.Object int int
StackMap stack:
aload 0
aload 0
aload 6
iload 8
invokevirtual org.graalvm.graphio.GraphProtocol.findSignatureParameterTypeName:(Ljava/lang/Object;I)Ljava/lang/String;
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
21: iinc 8 1
StackMap locals:
StackMap stack:
22: iload 8
iload 7
if_icmplt 20
end local 8 23: aload 0
aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findSignatureReturnTypeName:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
24: goto 115
end local 7 end local 6 25: StackMap locals:
StackMap stack:
aload 4
iconst_0
aaload
astore 6
start local 6 26: aload 6
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
27: aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findNodeSourcePositionMethod:(Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 28: aload 0
aload 7
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
29: aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findNodeSourcePositionBCI:(Ljava/lang/Object;)I
istore 8
start local 8 30: aload 0
iload 8
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
31: aload 0
aload 7
iload 8
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findLocation:(Ljava/lang/Object;ILjava/lang/Object;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 9
start local 9 32: aload 0
getfield org.graalvm.graphio.GraphProtocol.versionMajor:I
bipush 6
if_icmplt 52
33: goto 49
34: StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.lang.Object int java.lang.Object[] int java.lang.Object java.lang.Object int java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 10
start local 10 35: aload 0
aload 10
invokevirtual org.graalvm.graphio.GraphProtocol.findLocationURI:(Ljava/lang/Object;)Ljava/net/URI;
astore 11
start local 11 36: goto 39
end local 11 StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.lang.Object int java.lang.Object[] int java.lang.Object java.lang.Object int java.util.Iterator java.lang.Object
StackMap stack: java.net.URISyntaxException
37: astore 12
start local 12 38: new java.io.IOException
dup
aload 12
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 12 start local 11 39: StackMap locals: java.net.URI
StackMap stack:
aload 11
ifnonnull 41
40: goto 49
41: StackMap locals:
StackMap stack:
aload 0
aload 10
invokevirtual org.graalvm.graphio.GraphProtocol.findLocationLanguage:(Ljava/lang/Object;)Ljava/lang/String;
astore 12
start local 12 42: aload 12
ifnonnull 44
43: goto 49
44: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 11
invokevirtual java.net.URI.toString:()Ljava/lang/String;
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
45: aload 0
aload 12
invokevirtual org.graalvm.graphio.GraphProtocol.writeString:(Ljava/lang/String;)V
46: aload 0
aload 0
aload 10
invokevirtual org.graalvm.graphio.GraphProtocol.findLocationLine:(Ljava/lang/Object;)I
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
47: aload 0
aload 0
aload 10
invokevirtual org.graalvm.graphio.GraphProtocol.findLocationStart:(Ljava/lang/Object;)I
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
48: aload 0
aload 0
aload 10
invokevirtual org.graalvm.graphio.GraphProtocol.findLocationEnd:(Ljava/lang/Object;)I
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
end local 12 end local 11 end local 10 49: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 34
50: aload 0
aconst_null
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
51: goto 63
52: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 53
aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
goto 54
StackMap locals:
StackMap stack:
53: aconst_null
StackMap locals:
StackMap stack: java.lang.Object
54: astore 10
start local 10 55: aload 10
ifnull 56
aload 0
aload 10
invokevirtual org.graalvm.graphio.GraphProtocol.findLocationFile:(Ljava/lang/Object;)Ljava/lang/String;
goto 57
StackMap locals: java.lang.Object
StackMap stack:
56: aconst_null
StackMap locals:
StackMap stack: java.lang.String
57: astore 11
start local 11 58: aload 11
ifnull 62
59: aload 0
aload 11
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
60: aload 0
aload 0
aload 10
invokevirtual org.graalvm.graphio.GraphProtocol.findLocationLine:(Ljava/lang/Object;)I
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
61: goto 63
62: StackMap locals: java.lang.String
StackMap stack:
aload 0
aconst_null
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
end local 11 end local 10 63: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findNodeSourcePositionCaller:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
64: goto 115
end local 9 end local 8 end local 7 end local 6 65: StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.lang.Object int java.lang.Object[] int
StackMap stack:
aload 4
iconst_0
aaload
astore 6
start local 6 66: aload 6
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
67: aload 0
aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findNodeId:(Ljava/lang/Object;)I
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
68: aload 0
aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.classForNode:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
69: goto 115
end local 6 70: StackMap locals:
StackMap stack:
aload 4
iconst_0
aaload
astore 6
start local 6 71: aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findJavaClass:(Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 72: aload 0
getfield org.graalvm.graphio.GraphProtocol.versionMajor:I
iconst_3
if_icmplt 76
73: aload 0
aload 7
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
74: aload 0
aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findNameTemplate:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.graalvm.graphio.GraphProtocol.writeString:(Ljava/lang/String;)V
75: goto 79
76: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 0
aload 7
checkcast java.lang.Class
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual org.graalvm.graphio.GraphProtocol.writeString:(Ljava/lang/String;)V
77: aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findNameTemplate:(Ljava/lang/Object;)Ljava/lang/String;
astore 8
start local 8 78: aload 0
aload 8
invokevirtual org.graalvm.graphio.GraphProtocol.writeString:(Ljava/lang/String;)V
end local 8 79: StackMap locals:
StackMap stack:
aload 0
aload 6
iconst_1
invokevirtual org.graalvm.graphio.GraphProtocol.writeEdgesInfo:(Ljava/lang/Object;Z)V
80: aload 0
aload 6
iconst_0
invokevirtual org.graalvm.graphio.GraphProtocol.writeEdgesInfo:(Ljava/lang/Object;Z)V
81: goto 115
end local 7 end local 6 82: StackMap locals:
StackMap stack:
aload 4
iconst_0
aaload
checkcast java.lang.String
astore 6
start local 6 83: aload 6
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
84: aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.writeString:(Ljava/lang/String;)V
85: aload 0
aload 2
invokevirtual org.graalvm.graphio.GraphProtocol.findEnumTypeValues:(Ljava/lang/Object;)[Ljava/lang/String;
astore 7
start local 7 86: aload 7
ifnull 95
87: aload 0
iconst_1
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
88: aload 0
aload 7
arraylength
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
89: aload 7
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 93
StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.lang.Object int java.lang.Object[] int java.lang.String java.lang.String[] top int int java.lang.String[]
StackMap stack:
90: aload 11
iload 9
aaload
astore 8
start local 8 91: aload 0
aload 8
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
end local 8 92: iinc 9 1
StackMap locals:
StackMap stack:
93: iload 9
iload 10
if_icmplt 90
94: goto 115
95: StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.lang.Object int java.lang.Object[] int java.lang.String java.lang.String[]
StackMap stack:
aload 0
iconst_0
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
96: goto 115
end local 7 end local 6 97: StackMap locals:
StackMap stack:
aload 4
iconst_0
aaload
astore 6
start local 6 98: aload 6
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
99: aload 0
aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findMethodDeclaringClass:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
100: aload 0
aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findMethodName:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
101: aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findMethodSignature:(Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 102: aload 0
aload 7
invokevirtual org.graalvm.graphio.GraphProtocol.findSignature:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 104
103: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Should be recognized as signature: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
104: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 0
aload 7
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
105: aload 0
aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findMethodModifiers:(Ljava/lang/Object;)I
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
106: aload 0
aload 0
aload 6
invokevirtual org.graalvm.graphio.GraphProtocol.findMethodCode:(Ljava/lang/Object;)[B
invokevirtual org.graalvm.graphio.GraphProtocol.writeBytes:([B)V
107: goto 115
end local 7 end local 6 108: StackMap locals:
StackMap stack:
aload 4
iconst_0
aaload
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 6
start local 6 109: aload 0
aload 0
aload 2
invokevirtual org.graalvm.graphio.GraphProtocol.findEnumClass:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
110: aload 0
iload 6
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
111: goto 115
end local 6 112: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual org.graalvm.graphio.GraphProtocol.writeString:(Ljava/lang/String;)V
113: goto 115
114: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
115: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 116 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 116 1 obj Ljava/lang/Object;
1 116 2 object Ljava/lang/Object;
2 116 3 index C
5 116 4 found [Ljava/lang/Object;
6 116 5 type I
9 15 6 field TResolvedJavaField;
16 25 6 signature TSignature;
17 25 7 args I
19 23 8 i I
26 65 6 pos TNodeSourcePosition;
28 65 7 method TResolvedJavaMethod;
30 65 8 bci I
32 65 9 ste Ljava/util/Iterator<TLocation;>;
35 49 10 loc TLocation;
36 37 11 uri Ljava/net/URI;
39 49 11 uri Ljava/net/URI;
38 39 12 ex Ljava/net/URISyntaxException;
42 49 12 l Ljava/lang/String;
55 63 10 first TLocation;
58 63 11 fileName Ljava/lang/String;
66 70 6 node TNode;
71 82 6 nodeClass TNodeClass;
72 82 7 clazz Ljava/lang/Object;
78 79 8 nameTemplate Ljava/lang/String;
83 97 6 typeName Ljava/lang/String;
86 97 7 enumValueNames [Ljava/lang/String;
91 92 8 o Ljava/lang/String;
98 108 6 method TResolvedJavaMethod;
102 108 7 methodSignature TSignature;
109 112 6 enumOrdinal I
Exception table:
from to target type
35 36 37 Class java.net.URISyntaxException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
obj
private void writePropertyObject(Graph, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof java.lang.Integer
ifeq 4
1: aload 0
iconst_1
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
2: aload 0
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
3: goto 55
StackMap locals:
StackMap stack:
4: aload 2
instanceof java.lang.Long
ifeq 8
5: aload 0
iconst_2
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
6: aload 0
aload 2
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
invokevirtual org.graalvm.graphio.GraphProtocol.writeLong:(J)V
7: goto 55
StackMap locals:
StackMap stack:
8: aload 2
instanceof java.lang.Double
ifeq 12
9: aload 0
iconst_3
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
10: aload 0
aload 2
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
invokevirtual org.graalvm.graphio.GraphProtocol.writeDouble:(D)V
11: goto 55
StackMap locals:
StackMap stack:
12: aload 2
instanceof java.lang.Float
ifeq 16
13: aload 0
iconst_4
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
14: aload 0
aload 2
checkcast java.lang.Float
invokevirtual java.lang.Float.floatValue:()F
invokevirtual org.graalvm.graphio.GraphProtocol.writeFloat:(F)V
15: goto 55
StackMap locals:
StackMap stack:
16: aload 2
instanceof java.lang.Boolean
ifeq 22
17: aload 2
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 20
18: aload 0
iconst_5
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
19: goto 55
20: StackMap locals:
StackMap stack:
aload 0
bipush 6
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
21: goto 55
StackMap locals:
StackMap stack:
22: aload 2
ifnull 48
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifeq 48
23: aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 3
start local 3 24: aload 3
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 38
25: aload 3
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpne 30
26: aload 0
bipush 7
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
27: aload 0
iconst_3
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
28: aload 0
aload 2
checkcast double[]
invokevirtual org.graalvm.graphio.GraphProtocol.writeDoubles:([D)V
29: goto 55
StackMap locals: java.lang.Class
StackMap stack:
30: aload 3
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpne 35
31: aload 0
bipush 7
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
32: aload 0
iconst_1
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
33: aload 0
aload 2
checkcast int[]
invokevirtual org.graalvm.graphio.GraphProtocol.writeInts:([I)V
34: goto 55
35: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
36: aload 0
aload 2
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
37: goto 55
38: StackMap locals:
StackMap stack:
aload 0
bipush 7
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
39: aload 0
iconst_0
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
40: aload 2
checkcast java.lang.Object[]
astore 4
start local 4 41: aload 0
aload 4
arraylength
invokevirtual org.graalvm.graphio.GraphProtocol.writeInt:(I)V
42: aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 46
StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.lang.Object java.lang.Class java.lang.Object[] top int int java.lang.Object[]
StackMap stack:
43: aload 8
iload 6
aaload
astore 5
start local 5 44: aload 0
aload 5
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
end local 5 45: iinc 6 1
StackMap locals:
StackMap stack:
46: iload 6
iload 7
if_icmplt 43
end local 4 end local 3 47: goto 55
48: StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.lang.Object
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.graalvm.graphio.GraphProtocol.findGraph:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 49: aload 3
ifnonnull 53
50: aload 0
iconst_0
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
51: aload 0
aload 2
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
52: goto 55
53: StackMap locals: java.lang.Object
StackMap stack:
aload 0
bipush 8
invokevirtual org.graalvm.graphio.GraphProtocol.writeByte:(I)V
54: aload 0
aload 3
aconst_null
invokevirtual org.graalvm.graphio.GraphProtocol.writeGraph:(Ljava/lang/Object;Ljava/util/Map;)V
end local 3 55: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 56 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 56 1 graph TGraph;
0 56 2 obj Ljava/lang/Object;
24 47 3 componentType Ljava/lang/Class<*>;
41 47 4 array [Ljava/lang/Object;
44 45 5 o Ljava/lang/Object;
49 55 3 g TGraph;
Exceptions:
throws java.io.IOException
Signature: (TGraph;Ljava/lang/Object;)V
MethodParameters:
Name Flags
graph
obj
private void writeProperties(Graph, java.util.Map<? extends java.lang.Object, ? extends java.lang.Object>);
descriptor: (Ljava/lang/Object;Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 3
1: aload 0
iconst_0
invokevirtual org.graalvm.graphio.GraphProtocol.writeShort:(C)V
2: return
3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map.size:()I
istore 3
start local 3 4: aload 0
iload 3
i2c
invokevirtual org.graalvm.graphio.GraphProtocol.writeShort:(C)V
5: iconst_0
istore 4
start local 4 6: aload 2
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 12
StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.util.Map int int top java.util.Iterator
StackMap stack:
7: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 8: aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 7
start local 7 9: aload 0
aload 7
invokevirtual org.graalvm.graphio.GraphProtocol.writePoolObject:(Ljava/lang/Object;)V
10: aload 0
aload 1
aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual org.graalvm.graphio.GraphProtocol.writePropertyObject:(Ljava/lang/Object;Ljava/lang/Object;)V
11: iinc 4 1
end local 7 end local 5 12: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
13: iload 3
iload 4
if_icmpeq 15
14: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Expecting "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " properties, but found only "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals: org.graalvm.graphio.GraphProtocol java.lang.Object java.util.Map int int
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/graphio/GraphProtocol<TGraph;TNode;TNodeClass;TEdges;TBlock;TResolvedJavaMethod;TResolvedJavaField;TSignature;TNodeSourcePosition;TLocation;>;
0 16 1 graph TGraph;
0 16 2 props Ljava/util/Map<+Ljava/lang/Object;+Ljava/lang/Object;>;
4 16 3 size I
6 16 4 cnt I
8 12 5 entry Ljava/util/Map$Entry<+Ljava/lang/Object;+Ljava/lang/Object;>;
9 12 7 key Ljava/lang/String;
Exceptions:
throws java.io.IOException
Signature: (TGraph;Ljava/util/Map<+Ljava/lang/Object;+Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
graph
props
private static boolean isFound(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 4
3: aload 1
iconst_0
aload 0
aastore
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 obj Ljava/lang/Object;
0 5 1 found [Ljava/lang/Object;
MethodParameters:
Name Flags
obj
found
}
Signature: <Graph:Ljava/lang/Object;Node:Ljava/lang/Object;NodeClass:Ljava/lang/Object;Edges:Ljava/lang/Object;Block:Ljava/lang/Object;ResolvedJavaMethod:Ljava/lang/Object;ResolvedJavaField:Ljava/lang/Object;Signature:Ljava/lang/Object;NodeSourcePosition:Ljava/lang/Object;Location:Ljava/lang/Object;>Ljava/lang/Object;Ljava/io/Closeable;
SourceFile: "GraphProtocol.java"
NestMembers:
org.graalvm.graphio.GraphProtocol$ConstantPool
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
private final ConstantPool = org.graalvm.graphio.GraphProtocol$ConstantPool of org.graalvm.graphio.GraphProtocol