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 60
aload 0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.fetchNotifs:()Ljavax/management/remote/NotificationResult;
dup
astore 1
ifnull 60
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: 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
pop
21: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
start local 4 22: iconst_0
istore 9
start local 9 23: goto 39
24: 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 25: aload 10
invokevirtual javax.management.remote.TargetedNotification.getListenerID:()Ljava/lang/Integer;
astore 11
start local 11 26: 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 31
27: 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 28: aload 12
ifnull 38
29: aload 4
aload 11
aload 12
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
30: goto 38
end local 12 31: 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 32: aload 12
instanceof javax.management.MBeanServerNotification
ifeq 38
33: aload 12
invokevirtual javax.management.Notification.getType:()Ljava/lang/String;
ldc "JMX.mbean.unregistered"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 38
34: aload 12
checkcast javax.management.MBeanServerNotification
35: astore 13
start local 13 36: aload 13
invokevirtual javax.management.MBeanServerNotification.getMBeanName:()Ljavax/management/ObjectName;
astore 14
start local 14 37: 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 38: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
39: iload 9
iload 3
if_icmplt 24
end local 9 40: 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 41: aload 8
monitorexit
42: goto 45
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
43: aload 8
monitorexit
44: athrow
start local 4 start local 5 45: 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 54
46: 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;
47: ldc " notification"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 6
lconst_1
lcmp
ifne 48
ldc ""
goto 49
StackMap locals:
StackMap stack: java.lang.StringBuilder
48: 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
49: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
50: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
51: astore 8
start local 8 52: 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
53: 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 54: StackMap locals:
StackMap stack:
iconst_0
istore 8
start local 8 55: goto 59
56: StackMap locals: int
StackMap stack:
aload 2
iload 8
aaload
astore 9
start local 9 57: 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 58: iinc 8 1
StackMap locals:
StackMap stack:
59: iload 8
iload 3
if_icmplt 56
end local 8 end local 6 end local 5 end local 4 end local 3 end local 2 60: 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
61: 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;
62: aload 2
monitorexit
63: goto 66
StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher javax.management.remote.NotificationResult com.sun.jmx.remote.internal.ClientNotifForwarder
StackMap stack: java.lang.Throwable
64: aload 2
monitorexit
65: athrow
66: StackMap locals:
StackMap stack:
aload 1
ifnull 67
aload 0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.shouldStop:()Z
ifeq 69
67: 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
68: goto 70
69: 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
70: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 71 0 this Lcom/sun/jmx/remote/internal/ClientNotifForwarder$NotifFetcher;
9 71 1 nr Ljavax/management/remote/NotificationResult;
12 60 2 notifs [Ljavax/management/remote/TargetedNotification;
13 60 3 len I
22 43 4 listeners Ljava/util/Map<Ljava/lang/Integer;Lcom/sun/jmx/remote/internal/ClientListenerInfo;>;
45 60 4 listeners Ljava/util/Map<Ljava/lang/Integer;Lcom/sun/jmx/remote/internal/ClientListenerInfo;>;
41 43 5 myListenerID Ljava/lang/Integer;
45 60 5 myListenerID Ljava/lang/Integer;
14 60 6 missed J
23 40 9 i I
25 38 10 tn Ljavax/management/remote/TargetedNotification;
26 38 11 listenerID Ljava/lang/Integer;
28 31 12 li Lcom/sun/jmx/remote/internal/ClientListenerInfo;
32 38 12 notif Ljavax/management/Notification;
36 38 13 mbsn Ljavax/management/MBeanServerNotification;
37 38 14 name Ljavax/management/ObjectName;
52 54 8 msg Ljava/lang/String;
55 60 8 i I
57 58 9 tn Ljavax/management/remote/TargetedNotification;
Exception table:
from to target type
1 5 6 any
6 7 6 any
15 42 43 any
43 44 43 any
61 63 64 any
64 65 64 any
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=6, locals=8, 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: goto 38
5: StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher com.sun.jmx.remote.internal.ClientNotifForwarder long int javax.management.remote.NotificationResult
StackMap stack:
aload 1
lload 2
iconst_0
lconst_0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder.fetchNotifs:(JIJ)Ljavax/management/remote/NotificationResult;
astore 6
start local 6 6: goto 17
end local 6 StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
7: astore 7
start local 7 8: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher.fetchOneNotif"
9: new java.lang.StringBuilder
dup
ldc "Impossible exception: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokevirtual com.sun.jmx.remote.util.ClassLogger.warning:(Ljava/lang/String;Ljava/lang/String;)V
11: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher.fetchOneNotif"
aload 7
invokevirtual com.sun.jmx.remote.util.ClassLogger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
12: aconst_null
areturn
end local 7 13: StackMap locals:
StackMap stack: java.io.IOException
astore 7
start local 7 14: aload 0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.shouldStop:()Z
ifne 16
15: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher.fetchOneNotif"
aload 7
invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
16: StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher com.sun.jmx.remote.internal.ClientNotifForwarder long int javax.management.remote.NotificationResult top java.io.IOException
StackMap stack:
aconst_null
areturn
end local 7 start local 6 17: StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher com.sun.jmx.remote.internal.ClientNotifForwarder long int javax.management.remote.NotificationResult javax.management.remote.NotificationResult
StackMap stack:
aload 0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.shouldStop:()Z
ifeq 19
18: aconst_null
areturn
19: StackMap locals:
StackMap stack:
aload 6
invokevirtual javax.management.remote.NotificationResult.getNextSequenceNumber:()J
lstore 2
20: aload 1
lload 2
iconst_1
lconst_0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder.fetchNotifs:(JIJ)Ljavax/management/remote/NotificationResult;
astore 5
21: goto 38
StackMap locals:
StackMap stack: java.lang.Exception
22: astore 7
start local 7 23: aload 7
instanceof java.lang.ClassNotFoundException
ifne 25
24: aload 7
instanceof java.io.NotSerializableException
ifeq 35
25: StackMap locals: java.lang.Exception
StackMap stack:
getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher.fetchOneNotif"
26: new java.lang.StringBuilder
dup
ldc "Failed to deserialize a notification: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
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;
27: invokevirtual com.sun.jmx.remote.util.ClassLogger.warning:(Ljava/lang/String;Ljava/lang/String;)V
28: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
invokevirtual com.sun.jmx.remote.util.ClassLogger.traceOn:()Z
ifeq 32
29: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher.fetchOneNotif"
30: ldc "Failed to deserialize a notification."
aload 7
31: invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
32: StackMap locals:
StackMap stack:
iinc 4 1
33: lload 2
lconst_1
ladd
lstore 2
34: goto 38
35: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.shouldStop:()Z
ifne 37
36: getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "NotifFetcher.fetchOneNotif"
aload 7
invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
37: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 7 end local 6 38: StackMap locals:
StackMap stack:
aload 5
ifnonnull 39
aload 0
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.shouldStop:()Z
ifeq 5
39: StackMap locals:
StackMap stack:
iload 4
ifle 48
40: 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;
41: iload 4
iconst_1
if_icmpne 42
ldc ""
goto 43
StackMap locals:
StackMap stack: java.lang.StringBuilder
42: ldc "s"
StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher com.sun.jmx.remote.internal.ClientNotifForwarder long int javax.management.remote.NotificationResult
StackMap stack: java.lang.StringBuilder java.lang.String
43: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
44: ldc " because classes were missing locally"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
45: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
46: astore 6
start local 6 47: aload 0
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.this$0:Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
aload 6
iload 4
i2l
invokevirtual com.sun.jmx.remote.internal.ClientNotifForwarder.lostNotifs:(Ljava/lang/String;J)V
end local 6 48: StackMap locals:
StackMap stack:
aload 5
areturn
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Lcom/sun/jmx/remote/internal/ClientNotifForwarder$NotifFetcher;
1 49 1 cnf Lcom/sun/jmx/remote/internal/ClientNotifForwarder;
2 49 2 startSequenceNumber J
3 49 4 notFoundCount I
4 49 5 result Ljavax/management/remote/NotificationResult;
6 7 6 nr Ljavax/management/remote/NotificationResult;
17 38 6 nr Ljavax/management/remote/NotificationResult;
8 13 7 e Ljava/lang/ClassNotFoundException;
14 17 7 e Ljava/io/IOException;
23 38 7 e Ljava/lang/Exception;
47 48 6 msg Ljava/lang/String;
Exception table:
from to target type
5 6 7 Class java.lang.ClassNotFoundException
5 6 13 Class java.io.IOException
20 21 22 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