class sun.rmi.transport.ConnectionInputStream extends sun.rmi.server.MarshalInputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.rmi.transport.ConnectionInputStream
super_class: sun.rmi.server.MarshalInputStream
{
private boolean dgcAckNeeded;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.Map<sun.rmi.transport.Endpoint, java.util.List<sun.rmi.transport.LiveRef>> incomingRefTable;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Lsun/rmi/transport/Endpoint;Ljava/util/List<Lsun/rmi/transport/LiveRef;>;>;
private java.rmi.server.UID ackID;
descriptor: Ljava/rmi/server/UID;
flags: (0x0002) ACC_PRIVATE
void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.rmi.server.MarshalInputStream.<init>:(Ljava/io/InputStream;)V
1: aload 0
iconst_0
putfield sun.rmi.transport.ConnectionInputStream.dgcAckNeeded:Z
2: aload 0
new java.util.HashMap
dup
iconst_5
invokespecial java.util.HashMap.<init>:(I)V
putfield sun.rmi.transport.ConnectionInputStream.incomingRefTable:Ljava/util/Map;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/rmi/transport/ConnectionInputStream;
0 4 1 in Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
void readID();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokestatic java.rmi.server.UID.read:(Ljava/io/DataInput;)Ljava/rmi/server/UID;
putfield sun.rmi.transport.ConnectionInputStream.ackID:Ljava/rmi/server/UID;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/transport/ConnectionInputStream;
Exceptions:
throws java.io.IOException
void saveRef(sun.rmi.transport.LiveRef);
descriptor: (Lsun/rmi/transport/LiveRef;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.rmi.transport.LiveRef.getEndpoint:()Lsun/rmi/transport/Endpoint;
astore 2
start local 2 1: aload 0
getfield sun.rmi.transport.ConnectionInputStream.incomingRefTable:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 2: aload 3
ifnonnull 5
3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
4: aload 0
getfield sun.rmi.transport.ConnectionInputStream.incomingRefTable:Ljava/util/Map;
aload 2
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: sun.rmi.transport.Endpoint java.util.List
StackMap stack:
aload 3
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/rmi/transport/ConnectionInputStream;
0 7 1 ref Lsun/rmi/transport/LiveRef;
1 7 2 ep Lsun/rmi/transport/Endpoint;
2 7 3 refList Ljava/util/List<Lsun/rmi/transport/LiveRef;>;
MethodParameters:
Name Flags
ref
void discardRefs();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.ConnectionInputStream.incomingRefTable:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/transport/ConnectionInputStream;
void registerRefs();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.ConnectionInputStream.incomingRefTable:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifne 5
1: aload 0
getfield sun.rmi.transport.ConnectionInputStream.incomingRefTable:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: sun.rmi.transport.ConnectionInputStream top java.util.Iterator
StackMap stack:
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 1
start local 1 3: aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast sun.rmi.transport.Endpoint
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
invokestatic sun.rmi.transport.DGCClient.registerRefs:(Lsun/rmi/transport/Endpoint;Ljava/util/List;)V
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: StackMap locals: sun.rmi.transport.ConnectionInputStream
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/rmi/transport/ConnectionInputStream;
3 4 1 entry Ljava/util/Map$Entry<Lsun/rmi/transport/Endpoint;Ljava/util/List<Lsun/rmi/transport/LiveRef;>;>;
Exceptions:
throws java.io.IOException
void setAckNeeded();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield sun.rmi.transport.ConnectionInputStream.dgcAckNeeded:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/transport/ConnectionInputStream;
void done(sun.rmi.transport.Connection);
descriptor: (Lsun/rmi/transport/Connection;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.rmi.transport.ConnectionInputStream.dgcAckNeeded:Z
ifeq 25
1: aconst_null
astore 2
start local 2 2: aconst_null
astore 3
start local 3 3: iconst_1
istore 4
start local 4 4: getstatic sun.rmi.transport.DGCImpl.dgcLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
ldc "send ack"
invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
5: aload 1
invokeinterface sun.rmi.transport.Connection.getChannel:()Lsun/rmi/transport/Channel;
astore 3
6: aload 3
invokeinterface sun.rmi.transport.Channel.newConnection:()Lsun/rmi/transport/Connection;
astore 2
7: new java.io.DataOutputStream
dup
aload 2
invokeinterface sun.rmi.transport.Connection.getOutputStream:()Ljava/io/OutputStream;
invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
8: astore 5
start local 5 9: aload 5
bipush 84
invokevirtual java.io.DataOutputStream.writeByte:(I)V
10: aload 0
getfield sun.rmi.transport.ConnectionInputStream.ackID:Ljava/rmi/server/UID;
ifnonnull 12
11: aload 0
new java.rmi.server.UID
dup
invokespecial java.rmi.server.UID.<init>:()V
putfield sun.rmi.transport.ConnectionInputStream.ackID:Ljava/rmi/server/UID;
12: StackMap locals: sun.rmi.transport.ConnectionInputStream sun.rmi.transport.Connection sun.rmi.transport.Connection sun.rmi.transport.Channel int java.io.DataOutputStream
StackMap stack:
aload 0
getfield sun.rmi.transport.ConnectionInputStream.ackID:Ljava/rmi/server/UID;
aload 5
invokevirtual java.rmi.server.UID.write:(Ljava/io/DataOutput;)V
13: aload 2
invokeinterface sun.rmi.transport.Connection.releaseOutputStream:()V
14: aload 2
invokeinterface sun.rmi.transport.Connection.getInputStream:()Ljava/io/InputStream;
invokevirtual java.io.InputStream.available:()I
pop
15: aload 2
invokeinterface sun.rmi.transport.Connection.releaseInputStream:()V
end local 5 16: goto 21
StackMap locals: sun.rmi.transport.ConnectionInputStream sun.rmi.transport.Connection sun.rmi.transport.Connection sun.rmi.transport.Channel int
StackMap stack: java.rmi.RemoteException
17: pop
18: iconst_0
istore 4
goto 21
19: StackMap locals:
StackMap stack: java.io.IOException
pop
20: iconst_0
istore 4
21: StackMap locals:
StackMap stack:
aload 2
ifnull 25
22: aload 3
aload 2
iload 4
invokeinterface sun.rmi.transport.Channel.free:(Lsun/rmi/transport/Connection;Z)V
23: goto 25
StackMap locals:
StackMap stack: java.rmi.RemoteException
24: pop
end local 4 end local 3 end local 2 25: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lsun/rmi/transport/ConnectionInputStream;
0 26 1 c Lsun/rmi/transport/Connection;
2 25 2 conn Lsun/rmi/transport/Connection;
3 25 3 ch Lsun/rmi/transport/Channel;
4 25 4 reuse Z
9 16 5 out Ljava/io/DataOutputStream;
Exception table:
from to target type
5 16 17 Class java.rmi.RemoteException
5 16 19 Class java.io.IOException
21 23 24 Class java.rmi.RemoteException
MethodParameters:
Name Flags
c
}
SourceFile: "ConnectionInputStream.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map