class com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout
super_class: java.lang.Object
{
final com.sun.jmx.remote.internal.ServerCommunicatorAdmin this$0;
descriptor: Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(com.sun.jmx.remote.internal.ServerCommunicatorAdmin);
descriptor: (Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 // com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout this
0: .line 135
aload 0 /* this */
aload 1
putfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin$Timeout;
MethodParameters:
Name Flags
this$0 final
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=1
start local 0 // com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout this
0: .line 137
iconst_0
istore 1 /* stopping */
start local 1 // boolean stopping
1: .line 139
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.lock:[I
dup
astore 2
monitorenter
2: .line 140
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.timestamp:J
lconst_0
lcmp
ifne 3
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
invokestatic java.lang.System.currentTimeMillis:()J
putfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.timestamp:J
3: .line 141
StackMap locals: int int[]
StackMap stack:
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
ldc "Admin: timeout="
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.timeout:J
invokevirtual com.sun.jmx.remote.internal.ServerCommunicatorAdmin.logtime:(Ljava/lang/String;J)V
4: .line 142
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
ldc "Admin: Timestamp="
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.timestamp:J
invokevirtual com.sun.jmx.remote.internal.ServerCommunicatorAdmin.logtime:(Ljava/lang/String;J)V
5: .line 144
goto 49
6: .line 148
StackMap locals:
StackMap stack:
getstatic com.sun.jmx.remote.internal.ServerCommunicatorAdmin.logger:Lcom/sun/jmx/remote/util/ClassLogger;
invokevirtual com.sun.jmx.remote.util.ClassLogger.traceOn:()Z
ifeq 10
7: .line 149
getstatic com.sun.jmx.remote.internal.ServerCommunicatorAdmin.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "Timeout-run"
8: .line 150
ldc "Waiting without timeout."
9: .line 149
invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/String;)V
10: .line 153
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.lock:[I
invokevirtual java.lang.Object.wait:()V
11: .line 147
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.terminated:Z
ifne 12
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.currentJobs:I
ifne 6
12: .line 156
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.terminated:Z
ifeq 15
13: aload 2
monitorexit
14: return
15: .line 159
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.timeout:J
invokestatic java.lang.System.currentTimeMillis:()J
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.timestamp:J
lsub
lsub
16: .line 158
lstore 3 /* remaining */
start local 3 // long remaining
17: .line 161
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
ldc "Admin: remaining timeout="
lload 3 /* remaining */
invokevirtual com.sun.jmx.remote.internal.ServerCommunicatorAdmin.logtime:(Ljava/lang/String;J)V
18: .line 163
lload 3 /* remaining */
lconst_0
lcmp
ifle 26
19: .line 165
getstatic com.sun.jmx.remote.internal.ServerCommunicatorAdmin.logger:Lcom/sun/jmx/remote/util/ClassLogger;
invokevirtual com.sun.jmx.remote.util.ClassLogger.traceOn:()Z
ifeq 25
20: .line 166
getstatic com.sun.jmx.remote.internal.ServerCommunicatorAdmin.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "Timeout-run"
21: .line 167
new java.lang.StringBuilder
dup
ldc "Waiting with timeout: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
22: .line 168
lload 3 /* remaining */
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " ms remaining"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
23: .line 167
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
24: .line 166
invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/String;)V
25: .line 171
StackMap locals: long
StackMap stack:
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.lock:[I
lload 3 /* remaining */
invokevirtual java.lang.Object.wait:(J)V
26: .line 174
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.currentJobs:I
ifle 28
27: goto 49
28: .line 177
StackMap locals:
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.timestamp:J
lsub
29: .line 176
lstore 5 /* elapsed */
start local 5 // long elapsed
30: .line 178
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
ldc "Admin: elapsed="
lload 5 /* elapsed */
invokevirtual com.sun.jmx.remote.internal.ServerCommunicatorAdmin.logtime:(Ljava/lang/String;J)V
31: .line 180
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.terminated:Z
ifne 49
lload 5 /* elapsed */
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.timeout:J
lcmp
ifle 49
32: .line 181
getstatic com.sun.jmx.remote.internal.ServerCommunicatorAdmin.logger:Lcom/sun/jmx/remote/util/ClassLogger;
invokevirtual com.sun.jmx.remote.util.ClassLogger.traceOn:()Z
ifeq 36
33: .line 182
getstatic com.sun.jmx.remote.internal.ServerCommunicatorAdmin.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "Timeout-run"
34: .line 183
ldc "timeout elapsed"
35: .line 182
invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/String;)V
36: .line 185
StackMap locals: long
StackMap stack:
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
new java.lang.StringBuilder
dup
ldc "Admin: timeout elapsed! "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
37: .line 186
lload 5 /* elapsed */
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.timeout:J
38: .line 185
invokevirtual com.sun.jmx.remote.internal.ServerCommunicatorAdmin.logtime:(Ljava/lang/String;J)V
39: .line 188
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
iconst_1
putfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.terminated:Z
40: .line 190
iconst_1
istore 1 /* stopping */
41: .line 191
goto 50
end local 5 // long elapsed
end local 3 // long remaining
42: .line 193
StackMap locals: com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout int int[]
StackMap stack: java.lang.InterruptedException
astore 3 /* ire */
start local 3 // java.lang.InterruptedException ire
43: .line 194
getstatic com.sun.jmx.remote.internal.ServerCommunicatorAdmin.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "Timeout-run"
new java.lang.StringBuilder
dup
ldc "Unexpected Exception: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
44: .line 195
aload 3 /* ire */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
45: .line 194
invokevirtual com.sun.jmx.remote.util.ClassLogger.warning:(Ljava/lang/String;Ljava/lang/String;)V
46: .line 196
getstatic com.sun.jmx.remote.internal.ServerCommunicatorAdmin.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "Timeout-run"
aload 3 /* ire */
invokevirtual com.sun.jmx.remote.util.ClassLogger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
47: .line 197
aload 2
monitorexit
48: return
end local 3 // java.lang.InterruptedException ire
49: .line 144
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin.terminated:Z
ifeq 11
50: .line 139
StackMap locals:
StackMap stack:
aload 2
monitorexit
51: goto 54
StackMap locals:
StackMap stack: java.lang.Throwable
52: aload 2
monitorexit
53: athrow
54: .line 202
StackMap locals:
StackMap stack:
iload 1 /* stopping */
ifeq 58
55: .line 203
getstatic com.sun.jmx.remote.internal.ServerCommunicatorAdmin.logger:Lcom/sun/jmx/remote/util/ClassLogger;
invokevirtual com.sun.jmx.remote.util.ClassLogger.traceOn:()Z
ifeq 57
56: .line 204
getstatic com.sun.jmx.remote.internal.ServerCommunicatorAdmin.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "Timeout-run"
ldc "Call the doStop."
invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/String;)V
57: .line 207
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.this$0:Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin;
invokevirtual com.sun.jmx.remote.internal.ServerCommunicatorAdmin.doStop:()V
58: .line 209
StackMap locals:
StackMap stack:
return
end local 1 // boolean stopping
end local 0 // com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout this
LocalVariableTable:
Start End Slot Name Signature
0 59 0 this Lcom/sun/jmx/remote/internal/ServerCommunicatorAdmin$Timeout;
1 59 1 stopping Z
17 42 3 remaining J
30 42 5 elapsed J
43 49 3 ire Ljava/lang/InterruptedException;
Exception table:
from to target type
6 13 42 Class java.lang.InterruptedException
15 27 42 Class java.lang.InterruptedException
28 41 42 Class java.lang.InterruptedException
2 14 52 any
15 48 52 any
49 51 52 any
52 53 52 any
}
SourceFile: "ServerCommunicatorAdmin.java"
NestHost: com.sun.jmx.remote.internal.ServerCommunicatorAdmin
InnerClasses:
private Timeout = com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout of com.sun.jmx.remote.internal.ServerCommunicatorAdmin