class com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher
super_class: java.lang.Object
{
private volatile boolean alreadyLogged;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
final com.sun.jmx.remote.internal.ClientNotifForwarder this$0;
descriptor: Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(com.sun.jmx.remote.internal.ClientNotifForwarder);
descriptor: (Lcom/sun/jmx/remote/internal/ClientNotifForwarder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.alreadyLogged:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jmx/remote/internal/ClientNotifForwarder$NotifFetcher;
MethodParameters:
Name Flags
this$0 final
private void logOnce(java.lang.String, java.lang.SecurityException);
descriptor: (Ljava/lang/String;Ljava/lang/SecurityException;)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
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.alreadyLogged:Z
ifeq 1
return
1: StackMap locals:
StackMap stack:
getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "setContextClassLoader"
aload 1
invokevirtual com.sun.jmx.remote.util.ClassLogger.config:(Ljava/lang/String;Ljava/lang/String;)V
2: aload 2
ifnull 3
getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "setContextClassLoader"
aload 2
invokevirtual com.sun.jmx.remote.util.ClassLogger.fine:(Ljava/lang/String;Ljava/lang/Throwable;)V
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.alreadyLogged:Z
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/jmx/remote/internal/ClientNotifForwarder$NotifFetcher;
0 5 1 msg Ljava/lang/String;
0 5 2 x Ljava/lang/SecurityException;
MethodParameters:
Name Flags
msg
x
private final java.lang.ClassLoader setContextClassLoader(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.acc:Ljava/security/AccessControlContext;
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 0
ldc "AccessControlContext must not be null."
aconst_null
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.logOnce:(Ljava/lang/String;Ljava/lang/SecurityException;)V
3: new java.lang.SecurityException
dup
ldc "AccessControlContext must not be null"
invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.security.AccessControlContext
StackMap stack:
new com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher$1
dup
aload 0
aload 1
invokespecial com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher$1.<init>:(Lcom/sun/jmx/remote/internal/ClientNotifForwarder$NotifFetcher;Ljava/lang/ClassLoader;)V
5: aload 2
6: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/jmx/remote/internal/ClientNotifForwarder$NotifFetcher;
0 7 1 loader Ljava/lang/ClassLoader;
1 7 2 ctxt Ljava/security/AccessControlContext;
MethodParameters:
Name Flags
loader final
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.defaultClassLoader:Ljava/lang/ClassLoader;
ifnull 3
1: aload 0
aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.defaultClassLoader:Ljava/lang/ClassLoader;
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.setContextClassLoader:(Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
astore 1
start local 1 2: goto 4
end local 1 3: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 4: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.doRun:()V
5: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
7: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.defaultClassLoader:Ljava/lang/ClassLoader;
ifnull 9
8: aload 0
aload 1
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.setContextClassLoader:(Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
pop
9: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.defaultClassLoader:Ljava/lang/ClassLoader;
ifnull 12
11: aload 0
aload 1
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.setContextClassLoader:(Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
pop
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/jmx/remote/internal/ClientNotifForwarder$NotifFetcher;
2 3 1 previous Ljava/lang/ClassLoader;
4 13 1 previous Ljava/lang/ClassLoader;
Exception table:
from to target type
4 6 6 any
private void doRun();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=15, args_size=1
start local 0 0: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
dup
astore 1
monitorenter
1: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
putfield com.sun.jmx.remote.internal.ClientNotifForwarder.currentFetchThread:Ljava/lang/Thread;
2: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.state:I
ifne 4
3: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
iconst_1
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder.setState:(I)V
4: StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder
StackMap stack:
aload 1
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 9: aload 0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.shouldStop:()Z
ifne 59
aload 0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.fetchNotifs:()Ljavax/management/remote/NotificationResult;
dup
astore 1
ifnull 59
10: aload 1
invokevirtual javax.management.remote.NotificationResult.getTargetedNotifications:()[Ljavax/management/remote/TargetedNotification;
11: astore 2
start local 2 12: aload 2
arraylength
istore 3
start local 3 13: lconst_0
lstore 6
start local 6 14: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
dup
astore 8
monitorenter
15: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.clientSequenceNumber:J
lconst_0
lcmp
iflt 19
16: aload 1
invokevirtual javax.management.remote.NotificationResult.getEarliestSequenceNumber:()J
17: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.clientSequenceNumber:J
18: lsub
lstore 6
19: StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher javax.management.remote.NotificationResult javax.management.remote.TargetedNotification[] int top top long com.sun.jmx.remote.internal.ClientNotifForwarder
StackMap stack:
aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
aload 1
invokevirtual javax.management.remote.NotificationResult.getNextSequenceNumber:()J
putfield com.sun.jmx.remote.internal.ClientNotifForwarder.clientSequenceNumber:J
20: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
start local 4 21: iconst_0
istore 9
start local 9 22: goto 38
23: StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher javax.management.remote.NotificationResult javax.management.remote.TargetedNotification[] int java.util.Map top long com.sun.jmx.remote.internal.ClientNotifForwarder int
StackMap stack:
aload 2
iload 9
aaload
astore 10
start local 10 24: aload 10
invokevirtual javax.management.remote.TargetedNotification.getListenerID:()Ljava/lang/Integer;
astore 11
start local 11 25: aload 11
aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.mbeanRemovedNotifID:Ljava/lang/Integer;
invokevirtual java.lang.Integer.equals:(Ljava/lang/Object;)Z
ifne 30
26: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.infoList:Ljava/util/Map;
aload 11
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.jmx.remote.internal.ClientListenerInfo
astore 12
start local 12 27: aload 12
ifnull 37
28: aload 4
aload 11
aload 12
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
29: goto 37
end local 12 30: StackMap locals: javax.management.remote.TargetedNotification java.lang.Integer
StackMap stack:
aload 10
invokevirtual javax.management.remote.TargetedNotification.getNotification:()Ljavax/management/Notification;
astore 12
start local 12 31: aload 12
instanceof javax.management.MBeanServerNotification
ifeq 37
32: aload 12
invokevirtual javax.management.Notification.getType:()Ljava/lang/String;
ldc "JMX.mbean.unregistered"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 37
33: aload 12
checkcast javax.management.MBeanServerNotification
34: astore 13
start local 13 35: aload 13
invokevirtual javax.management.MBeanServerNotification.getMBeanName:()Ljavax/management/ObjectName;
astore 14
start local 14 36: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
aload 14
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder.removeNotificationListener:(Ljavax/management/ObjectName;)[Ljava/lang/Integer;
pop
end local 14 end local 13 end local 12 end local 11 end local 10 37: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
38: iload 9
iload 3
if_icmplt 23
end local 9 39: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.mbeanRemovedNotifID:Ljava/lang/Integer;
astore 5
start local 5 40: aload 8
monitorexit
41: goto 44
end local 5 end local 4 StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher javax.management.remote.NotificationResult javax.management.remote.TargetedNotification[] int top top long com.sun.jmx.remote.internal.ClientNotifForwarder
StackMap stack: java.lang.Throwable
42: aload 8
monitorexit
43: athrow
start local 4 start local 5 44: StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher javax.management.remote.NotificationResult javax.management.remote.TargetedNotification[] int java.util.Map java.lang.Integer long
StackMap stack:
lload 6
lconst_0
lcmp
ifle 53
45: new java.lang.StringBuilder
dup
ldc "May have lost up to "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 6
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
46: ldc " notification"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 6
lconst_1
lcmp
ifne 47
ldc ""
goto 48
StackMap locals:
StackMap stack: java.lang.StringBuilder
47: ldc "s"
StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher javax.management.remote.NotificationResult javax.management.remote.TargetedNotification[] int java.util.Map java.lang.Integer long
StackMap stack: java.lang.StringBuilder java.lang.String
48: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
49: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
50: astore 8
start local 8 51: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
aload 8
lload 6
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder.lostNotifs:(Ljava/lang/String;J)V
52: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher.run"
aload 8
invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/String;)V
end local 8 53: StackMap locals:
StackMap stack:
iconst_0
istore 8
start local 8 54: goto 58
55: StackMap locals: int
StackMap stack:
aload 2
iload 8
aaload
astore 9
start local 9 56: aload 0
aload 9
aload 5
aload 4
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.dispatchNotification:(Ljavax/management/remote/TargetedNotification;Ljava/lang/Integer;Ljava/util/Map;)V
end local 9 57: iinc 8 1
StackMap locals:
StackMap stack:
58: iload 8
iload 3
if_icmplt 55
end local 8 end local 6 end local 5 end local 4 end local 3 end local 2 59: StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher javax.management.remote.NotificationResult
StackMap stack:
aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
dup
astore 2
monitorenter
60: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
aconst_null
putfield com.sun.jmx.remote.internal.ClientNotifForwarder.currentFetchThread:Ljava/lang/Thread;
61: aload 2
monitorexit
62: goto 65
StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher javax.management.remote.NotificationResult com.sun.jmx.remote.internal.ClientNotifForwarder
StackMap stack: java.lang.Throwable
63: aload 2
monitorexit
64: athrow
65: StackMap locals:
StackMap stack:
aload 1
ifnull 66
aload 0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.shouldStop:()Z
ifeq 75
66: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
iconst_3
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder.setState:(I)V
67: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.mbeanRemovedNotifID:Ljava/lang/Integer;
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder.removeListenerForMBeanRemovedNotif:(Ljava/lang/Integer;)V
68: goto 76
StackMap locals:
StackMap stack: java.lang.Exception
69: astore 2
start local 2 70: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
invokevirtual com.sun.jmx.remote.util.ClassLogger.traceOn:()Z
ifeq 76
71: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher-run"
72: ldc "removeListenerForMBeanRemovedNotif"
aload 2
73: invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 74: goto 76
75: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.executor:Ljava/util/concurrent/Executor;
aload 0
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
76: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 77 0 this Lcom/sun/jmx/remote/internal/ClientNotifForwarder$NotifFetcher;
9 77 1 nr Ljavax/management/remote/NotificationResult;
12 59 2 notifs [Ljavax/management/remote/TargetedNotification;
13 59 3 len I
21 42 4 listeners Ljava/util/Map<Ljava/lang/Integer;Lcom/sun/jmx/remote/internal/ClientListenerInfo;>;
44 59 4 listeners Ljava/util/Map<Ljava/lang/Integer;Lcom/sun/jmx/remote/internal/ClientListenerInfo;>;
40 42 5 myListenerID Ljava/lang/Integer;
44 59 5 myListenerID Ljava/lang/Integer;
14 59 6 missed J
22 39 9 i I
24 37 10 tn Ljavax/management/remote/TargetedNotification;
25 37 11 listenerID Ljava/lang/Integer;
27 30 12 li Lcom/sun/jmx/remote/internal/ClientListenerInfo;
31 37 12 notif Ljavax/management/Notification;
35 37 13 mbsn Ljavax/management/MBeanServerNotification;
36 37 14 name Ljavax/management/ObjectName;
51 53 8 msg Ljava/lang/String;
54 59 8 i I
56 57 9 tn Ljavax/management/remote/TargetedNotification;
70 74 2 e Ljava/lang/Exception;
Exception table:
from to target type
1 5 6 any
6 7 6 any
15 41 42 any
42 43 42 any
60 62 63 any
63 64 63 any
67 68 69 Class java.lang.Exception
void dispatchNotification(javax.management.remote.TargetedNotification, java.lang.Integer, java.util.Map<java.lang.Integer, com.sun.jmx.remote.internal.ClientListenerInfo>);
descriptor: (Ljavax/management/remote/TargetedNotification;Ljava/lang/Integer;Ljava/util/Map;)V
flags: (0x0000)
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual javax.management.remote.TargetedNotification.getNotification:()Ljavax/management/Notification;
astore 4
start local 4 1: aload 1
invokevirtual javax.management.remote.TargetedNotification.getListenerID:()Ljava/lang/Integer;
astore 5
start local 5 2: aload 5
aload 2
invokevirtual java.lang.Integer.equals:(Ljava/lang/Object;)Z
ifeq 3
return
3: StackMap locals: javax.management.Notification java.lang.Integer
StackMap stack:
aload 3
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.jmx.remote.internal.ClientListenerInfo
astore 6
start local 6 4: aload 6
ifnonnull 9
5: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher.dispatch"
6: ldc "Listener ID not in map"
7: invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/String;)V
8: return
9: StackMap locals: com.sun.jmx.remote.internal.ClientListenerInfo
StackMap stack:
aload 6
invokevirtual com.sun.jmx.remote.internal.ClientListenerInfo.getListener:()Ljavax/management/NotificationListener;
astore 7
start local 7 10: aload 6
invokevirtual com.sun.jmx.remote.internal.ClientListenerInfo.getHandback:()Ljava/lang/Object;
astore 8
start local 8 11: aload 7
aload 4
aload 8
invokeinterface javax.management.NotificationListener.handleNotification:(Ljavax/management/Notification;Ljava/lang/Object;)V
12: goto 15
StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher javax.management.remote.TargetedNotification java.lang.Integer java.util.Map javax.management.Notification java.lang.Integer com.sun.jmx.remote.internal.ClientListenerInfo javax.management.NotificationListener java.lang.Object
StackMap stack: java.lang.RuntimeException
13: astore 9
start local 9 14: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher-run"
ldc "Failed to forward a notification to a listener"
aload 9
invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 9 15: StackMap locals:
StackMap stack:
return
end local 8 end local 7 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 16 0 this Lcom/sun/jmx/remote/internal/ClientNotifForwarder$NotifFetcher;
0 16 1 tn Ljavax/management/remote/TargetedNotification;
0 16 2 myListenerID Ljava/lang/Integer;
0 16 3 listeners Ljava/util/Map<Ljava/lang/Integer;Lcom/sun/jmx/remote/internal/ClientListenerInfo;>;
1 16 4 notif Ljavax/management/Notification;
2 16 5 listenerID Ljava/lang/Integer;
4 16 6 li Lcom/sun/jmx/remote/internal/ClientListenerInfo;
10 16 7 l Ljavax/management/NotificationListener;
11 16 8 h Ljava/lang/Object;
14 15 9 e Ljava/lang/RuntimeException;
Exception table:
from to target type
11 12 13 Class java.lang.RuntimeException
Signature: (Ljavax/management/remote/TargetedNotification;Ljava/lang/Integer;Ljava/util/Map<Ljava/lang/Integer;Lcom/sun/jmx/remote/internal/ClientListenerInfo;>;)V
MethodParameters:
Name Flags
tn
myListenerID
listeners
private javax.management.remote.NotificationResult fetchNotifs();
descriptor: ()Ljavax/management/remote/NotificationResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
1: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.clientSequenceNumber:J
aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.maxNotifications:I
2: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.timeout:J
3: invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder.fetchNotifs:(JIJ)Ljavax/management/remote/NotificationResult;
4: astore 1
start local 1 5: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
invokevirtual com.sun.jmx.remote.util.ClassLogger.traceOn:()Z
ifeq 9
6: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher-run"
7: new java.lang.StringBuilder
dup
ldc "Got notifications from the server: "
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;
8: invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/String;)V
9: StackMap locals: javax.management.remote.NotificationResult
StackMap stack:
aload 1
10: areturn
end local 1 11: StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher
StackMap stack: java.lang.ClassNotFoundException
astore 1
start local 1 12: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher.fetchNotifs"
aload 1
invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
13: aload 0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.fetchOneNotif:()Ljavax/management/remote/NotificationResult;
areturn
end local 1 14: StackMap locals:
StackMap stack: java.io.NotSerializableException
astore 1
start local 1 15: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher.fetchNotifs"
aload 1
invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
16: aload 0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.fetchOneNotif:()Ljavax/management/remote/NotificationResult;
areturn
end local 1 17: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 18: aload 0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.shouldStop:()Z
ifne 26
19: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher-run"
20: new java.lang.StringBuilder
dup
ldc "Failed to fetch notification, stopping thread. Error is: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
21: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
22: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: aload 1
24: invokevirtual com.sun.jmx.remote.util.ClassLogger.error:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
25: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher-run"
aload 1
invokevirtual com.sun.jmx.remote.util.ClassLogger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
26: StackMap locals: java.io.IOException
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/sun/jmx/remote/internal/ClientNotifForwarder$NotifFetcher;
5 11 1 nr Ljavax/management/remote/NotificationResult;
12 14 1 e Ljava/lang/ClassNotFoundException;
15 17 1 e Ljava/io/NotSerializableException;
18 27 1 ioe Ljava/io/IOException;
Exception table:
from to target type
0 10 11 Class java.lang.ClassNotFoundException
0 10 14 Class java.io.NotSerializableException
0 10 17 Class java.io.IOException
private javax.management.remote.NotificationResult fetchOneNotif();
descriptor: ()Ljavax/management/remote/NotificationResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=10, args_size=1
start local 0 0: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
astore 1
start local 1 1: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.clientSequenceNumber:J
lstore 2
start local 2 2: iconst_0
istore 4
start local 4 3: aconst_null
astore 5
start local 5 4: ldc -1
lstore 6
start local 6 5: goto 41
6: StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher com.sun.jmx.remote.internal.ClientNotifForwarder long int javax.management.remote.NotificationResult long
StackMap stack:
aload 1
lload 2
iconst_0
lconst_0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder.fetchNotifs:(JIJ)Ljavax/management/remote/NotificationResult;
astore 8
start local 8 7: goto 18
end local 8 StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
8: astore 9
start local 9 9: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher.fetchOneNotif"
10: new java.lang.StringBuilder
dup
ldc "Impossible exception: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokevirtual com.sun.jmx.remote.util.ClassLogger.warning:(Ljava/lang/String;Ljava/lang/String;)V
12: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher.fetchOneNotif"
aload 9
invokevirtual com.sun.jmx.remote.util.ClassLogger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
13: aconst_null
areturn
end local 9 14: StackMap locals:
StackMap stack: java.io.IOException
astore 9
start local 9 15: aload 0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.shouldStop:()Z
ifne 17
16: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher.fetchOneNotif"
aload 9
invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
17: StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher com.sun.jmx.remote.internal.ClientNotifForwarder long int javax.management.remote.NotificationResult long top java.io.IOException
StackMap stack:
aconst_null
areturn
end local 9 start local 8 18: StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher com.sun.jmx.remote.internal.ClientNotifForwarder long int javax.management.remote.NotificationResult long javax.management.remote.NotificationResult
StackMap stack:
aload 0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.shouldStop:()Z
ifeq 20
19: aconst_null
areturn
20: StackMap locals:
StackMap stack:
aload 8
invokevirtual javax.management.remote.NotificationResult.getNextSequenceNumber:()J
lstore 2
21: lload 6
lconst_0
lcmp
ifge 23
22: aload 8
invokevirtual javax.management.remote.NotificationResult.getEarliestSequenceNumber:()J
lstore 6
23: StackMap locals:
StackMap stack:
aload 1
lload 2
iconst_1
lconst_0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder.fetchNotifs:(JIJ)Ljavax/management/remote/NotificationResult;
astore 5
24: goto 41
StackMap locals:
StackMap stack: java.lang.Exception
25: astore 9
start local 9 26: aload 9
instanceof java.lang.ClassNotFoundException
ifne 28
27: aload 9
instanceof java.io.NotSerializableException
ifeq 38
28: StackMap locals: java.lang.Exception
StackMap stack:
getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher.fetchOneNotif"
29: new java.lang.StringBuilder
dup
ldc "Failed to deserialize a notification: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
30: invokevirtual com.sun.jmx.remote.util.ClassLogger.warning:(Ljava/lang/String;Ljava/lang/String;)V
31: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
invokevirtual com.sun.jmx.remote.util.ClassLogger.traceOn:()Z
ifeq 35
32: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher.fetchOneNotif"
33: ldc "Failed to deserialize a notification."
aload 9
34: invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
35: StackMap locals:
StackMap stack:
iinc 4 1
36: lload 2
lconst_1
ladd
lstore 2
37: goto 41
38: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.shouldStop:()Z
ifne 40
39: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher.fetchOneNotif"
aload 9
invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
40: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 9 end local 8 41: StackMap locals:
StackMap stack:
aload 5
ifnonnull 42
aload 0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.shouldStop:()Z
ifeq 6
42: StackMap locals:
StackMap stack:
iload 4
ifle 56
43: new java.lang.StringBuilder
dup
ldc "Dropped "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " notification"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
44: iload 4
iconst_1
if_icmpne 45
ldc ""
goto 46
StackMap locals:
StackMap stack: java.lang.StringBuilder
45: ldc "s"
StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher com.sun.jmx.remote.internal.ClientNotifForwarder long int javax.management.remote.NotificationResult long
StackMap stack: java.lang.StringBuilder java.lang.String
46: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
47: ldc " because classes were missing locally"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
48: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
49: astore 8
start local 8 50: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
aload 8
iload 4
i2l
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder.lostNotifs:(Ljava/lang/String;J)V
51: aload 5
ifnull 56
52: new javax.management.remote.NotificationResult
dup
53: lload 6
aload 5
invokevirtual javax.management.remote.NotificationResult.getNextSequenceNumber:()J
54: aload 5
invokevirtual javax.management.remote.NotificationResult.getTargetedNotifications:()[Ljavax/management/remote/TargetedNotification;
55: invokespecial javax.management.remote.NotificationResult.<init>:(JJ[Ljavax/management/remote/TargetedNotification;)V
astore 5
end local 8 56: StackMap locals:
StackMap stack:
aload 5
areturn
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 57 0 this Lcom/sun/jmx/remote/internal/ClientNotifForwarder$NotifFetcher;
1 57 1 cnf Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
2 57 2 startSequenceNumber J
3 57 4 notFoundCount I
4 57 5 result Ljavax/management/remote/NotificationResult;
5 57 6 firstEarliest J
7 8 8 nr Ljavax/management/remote/NotificationResult;
18 41 8 nr Ljavax/management/remote/NotificationResult;
9 14 9 e Ljava/lang/ClassNotFoundException;
15 18 9 e Ljava/io/IOException;
26 41 9 e Ljava/lang/Exception;
50 56 8 msg Ljava/lang/String;
Exception table:
from to target type
6 7 8 Class java.lang.ClassNotFoundException
6 7 14 Class java.io.IOException
23 24 25 Class java.lang.Exception
private boolean shouldStop();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
dup
astore 1
monitorenter
1: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.state:I
iconst_1
if_icmpeq 4
2: aload 1
monitorexit
3: iconst_1
ireturn
4: StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder
StackMap stack:
aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
getfield com.sun.jmx.remote.internal.ClientNotifForwarder.infoList:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
ifne 8
5: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
iconst_2
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder.setState:(I)V
6: aload 1
monitorexit
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
aload 1
monitorexit
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
11: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/jmx/remote/internal/ClientNotifForwarder$NotifFetcher;
Exception table:
from to target type
1 3 10 any
4 7 10 any
8 9 10 any
10 11 10 any
}
SourceFile: "ClientNotifForwarder.java"
NestHost: com.sun.jmx.remote.internal.ClientNotifForwarder
InnerClasses:
private NotifFetcher = com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher of com.sun.jmx.remote.internal.ClientNotifForwarder
com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher$1