public class sun.rmi.transport.DGCAckHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.rmi.transport.DGCAckHandler
super_class: java.lang.Object
{
private static final long dgcAckTimeout;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.concurrent.ScheduledExecutorService scheduler;
descriptor: Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Map<java.rmi.server.UID, sun.rmi.transport.DGCAckHandler> idTable;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/rmi/server/UID;Lsun/rmi/transport/DGCAckHandler;>;
private final java.rmi.server.UID id;
descriptor: Ljava/rmi/server/UID;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.List<java.lang.Object> objList;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/Object;>;
private java.util.concurrent.Future<?> task;
descriptor: Ljava/util/concurrent/Future;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/concurrent/Future<*>;
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=2, locals=0, args_size=0
0: ldc Lsun/rmi/transport/DGCAckHandler;
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 sun.rmi.transport.DGCAckHandler.$assertionsDisabled:Z
3: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
sun/rmi/transport/DGCAckHandler.lambda$0()Ljava/lang/Long; (6)
()Ljava/lang/Long;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
4: putstatic sun.rmi.transport.DGCAckHandler.dgcAckTimeout:J
5: new sun.rmi.runtime.RuntimeUtil$GetInstanceAction
dup
invokespecial sun.rmi.runtime.RuntimeUtil$GetInstanceAction.<init>:()V
6: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast sun.rmi.runtime.RuntimeUtil
7: invokevirtual sun.rmi.runtime.RuntimeUtil.getScheduler:()Ljava/util/concurrent/ScheduledThreadPoolExecutor;
8: putstatic sun.rmi.transport.DGCAckHandler.scheduler:Ljava/util/concurrent/ScheduledExecutorService;
9: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
invokestatic java.util.Collections.synchronizedMap:(Ljava/util/Map;)Ljava/util/Map;
10: putstatic sun.rmi.transport.DGCAckHandler.idTable:Ljava/util/Map;
11: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.rmi.server.UID);
descriptor: (Ljava/rmi/server/UID;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.rmi.transport.DGCAckHandler.objList:Ljava/util/List;
2: aload 0
aconst_null
putfield sun.rmi.transport.DGCAckHandler.task:Ljava/util/concurrent/Future;
3: aload 0
aload 1
putfield sun.rmi.transport.DGCAckHandler.id:Ljava/rmi/server/UID;
4: aload 1
ifnull 7
5: getstatic sun.rmi.transport.DGCAckHandler.$assertionsDisabled:Z
ifne 6
getstatic sun.rmi.transport.DGCAckHandler.idTable:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: sun.rmi.transport.DGCAckHandler java.rmi.server.UID
StackMap stack:
getstatic sun.rmi.transport.DGCAckHandler.idTable:Ljava/util/Map;
aload 1
aload 0
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/rmi/transport/DGCAckHandler;
0 8 1 id Ljava/rmi/server/UID;
MethodParameters:
Name Flags
id
synchronized void add(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.rmi.transport.DGCAckHandler.objList:Ljava/util/List;
ifnull 2
1: aload 0
getfield sun.rmi.transport.DGCAckHandler.objList:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/rmi/transport/DGCAckHandler;
0 3 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
synchronized void startTimer();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.DGCAckHandler.objList:Ljava/util/List;
ifnull 4
aload 0
getfield sun.rmi.transport.DGCAckHandler.task:Ljava/util/concurrent/Future;
ifnonnull 4
1: aload 0
getstatic sun.rmi.transport.DGCAckHandler.scheduler:Ljava/util/concurrent/ScheduledExecutorService;
new sun.rmi.transport.DGCAckHandler$1
dup
aload 0
invokespecial sun.rmi.transport.DGCAckHandler$1.<init>:(Lsun/rmi/transport/DGCAckHandler;)V
2: getstatic sun.rmi.transport.DGCAckHandler.dgcAckTimeout:J
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
3: invokeinterface java.util.concurrent.ScheduledExecutorService.schedule:(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
putfield sun.rmi.transport.DGCAckHandler.task:Ljava/util/concurrent/Future;
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/rmi/transport/DGCAckHandler;
synchronized void release();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.DGCAckHandler.task:Ljava/util/concurrent/Future;
ifnull 3
1: aload 0
getfield sun.rmi.transport.DGCAckHandler.task:Ljava/util/concurrent/Future;
iconst_0
invokeinterface java.util.concurrent.Future.cancel:(Z)Z
pop
2: aload 0
aconst_null
putfield sun.rmi.transport.DGCAckHandler.task:Ljava/util/concurrent/Future;
3: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.rmi.transport.DGCAckHandler.objList:Ljava/util/List;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/rmi/transport/DGCAckHandler;
public static void received(java.rmi.server.UID);
descriptor: (Ljava/rmi/server/UID;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.rmi.transport.DGCAckHandler.idTable:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.rmi.transport.DGCAckHandler
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual sun.rmi.transport.DGCAckHandler.release:()V
3: StackMap locals: sun.rmi.transport.DGCAckHandler
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 id Ljava/rmi/server/UID;
1 4 1 h Lsun/rmi/transport/DGCAckHandler;
MethodParameters:
Name Flags
id
private static java.lang.Long lambda$0();
descriptor: ()Ljava/lang/Long;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=0, args_size=0
0: ldc "sun.rmi.dgc.ackTimeout"
ldc 300000
invokestatic java.lang.Long.getLong:(Ljava/lang/String;J)Ljava/lang/Long;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "DGCAckHandler.java"
NestMembers:
sun.rmi.transport.DGCAckHandler$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public GetInstanceAction = sun.rmi.runtime.RuntimeUtil$GetInstanceAction of sun.rmi.runtime.RuntimeUtil
sun.rmi.transport.DGCAckHandler$1