class com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread extends java.lang.Thread
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread
super_class: java.lang.Thread
{
final com.sun.jmx.snmp.tasks.ThreadService this$0;
descriptor: Lcom/sun/jmx/snmp/tasks/ThreadService;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(com.sun.jmx.snmp.tasks.ThreadService);
descriptor: (Lcom/sun/jmx/snmp/tasks/ThreadService;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=2
start local 0 // com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread this
0: .line 155
aload 0 /* this */
aload 1
putfield com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.this$0:Lcom/sun/jmx/snmp/tasks/ThreadService;
1: .line 156
aload 0 /* this */
aload 1
getfield com.sun.jmx.snmp.tasks.ThreadService.threadGroup:Ljava/lang/ThreadGroup;
new java.lang.StringBuilder
dup
ldc "ThreadService-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.jmx.snmp.tasks.ThreadService.counter:J
dup2
lconst_1
ladd
putstatic com.sun.jmx.snmp.tasks.ThreadService.counter:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/String;)V
2: .line 157
aload 0 /* this */
iconst_1
invokevirtual com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.setDaemon:(Z)V
3: .line 160
aload 0 /* this */
aload 1
getfield com.sun.jmx.snmp.tasks.ThreadService.priority:I
invokevirtual com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.setPriority:(I)V
4: .line 161
aload 0 /* this */
aload 1
getfield com.sun.jmx.snmp.tasks.ThreadService.cloader:Ljava/lang/ClassLoader;
invokevirtual com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
5: .line 163
aload 1
dup
getfield com.sun.jmx.snmp.tasks.ThreadService.idle:I
iconst_1
iadd
putfield com.sun.jmx.snmp.tasks.ThreadService.idle:I
6: .line 164
return
end local 0 // com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/jmx/snmp/tasks/ThreadService$ExecutorThread;
MethodParameters:
Name Flags
this$0 final
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 // com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread this
0: .line 168
goto 31
1: .line 169
StackMap locals:
StackMap stack:
aconst_null
astore 1 /* job */
start local 1 // java.lang.Runnable job
2: .line 171
aload 0 /* this */
getfield com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.this$0:Lcom/sun/jmx/snmp/tasks/ThreadService;
getfield com.sun.jmx.snmp.tasks.ThreadService.jobList:Ljava/util/ArrayList;
dup
astore 2
monitorenter
3: .line 172
aload 0 /* this */
getfield com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.this$0:Lcom/sun/jmx/snmp/tasks/ThreadService;
getfield com.sun.jmx.snmp.tasks.ThreadService.jobList:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ifle 8
4: .line 173
aload 0 /* this */
getfield com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.this$0:Lcom/sun/jmx/snmp/tasks/ThreadService;
getfield com.sun.jmx.snmp.tasks.ThreadService.jobList:Ljava/util/ArrayList;
iconst_0
invokevirtual java.util.ArrayList.remove:(I)Ljava/lang/Object;
checkcast java.lang.Runnable
astore 1 /* job */
5: .line 174
aload 0 /* this */
getfield com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.this$0:Lcom/sun/jmx/snmp/tasks/ThreadService;
getfield com.sun.jmx.snmp.tasks.ThreadService.jobList:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ifle 13
6: .line 175
aload 0 /* this */
getfield com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.this$0:Lcom/sun/jmx/snmp/tasks/ThreadService;
getfield com.sun.jmx.snmp.tasks.ThreadService.jobList:Ljava/util/ArrayList;
invokevirtual java.lang.Object.notify:()V
7: .line 178
goto 13
8: .line 180
StackMap locals: java.lang.Runnable java.util.ArrayList
StackMap stack:
aload 0 /* this */
getfield com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.this$0:Lcom/sun/jmx/snmp/tasks/ThreadService;
getfield com.sun.jmx.snmp.tasks.ThreadService.jobList:Ljava/util/ArrayList;
invokevirtual java.lang.Object.wait:()V
9: .line 181
goto 11
StackMap locals:
StackMap stack: java.lang.InterruptedException
10: pop
11: .line 185
StackMap locals:
StackMap stack:
aload 2
monitorexit
12: goto 31
13: .line 171
StackMap locals:
StackMap stack:
aload 2
monitorexit
14: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
15: aload 2
monitorexit
16: athrow
17: .line 188
StackMap locals:
StackMap stack:
aload 1 /* job */
ifnull 28
18: .line 190
aload 0 /* this */
getfield com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.this$0:Lcom/sun/jmx/snmp/tasks/ThreadService;
dup
getfield com.sun.jmx.snmp.tasks.ThreadService.idle:I
iconst_1
isub
putfield com.sun.jmx.snmp.tasks.ThreadService.idle:I
19: .line 191
aload 1 /* job */
invokeinterface java.lang.Runnable.run:()V
20: .line 192
goto 27
StackMap locals:
StackMap stack: java.lang.Exception
21: astore 2 /* e */
start local 2 // java.lang.Exception e
22: .line 194
aload 2 /* e */
invokevirtual java.lang.Exception.printStackTrace:()V
end local 2 // java.lang.Exception e
23: .line 196
aload 0 /* this */
getfield com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.this$0:Lcom/sun/jmx/snmp/tasks/ThreadService;
dup
getfield com.sun.jmx.snmp.tasks.ThreadService.idle:I
iconst_1
iadd
putfield com.sun.jmx.snmp.tasks.ThreadService.idle:I
goto 28
24: .line 195
StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
25: .line 196
aload 0 /* this */
getfield com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.this$0:Lcom/sun/jmx/snmp/tasks/ThreadService;
dup
getfield com.sun.jmx.snmp.tasks.ThreadService.idle:I
iconst_1
iadd
putfield com.sun.jmx.snmp.tasks.ThreadService.idle:I
26: .line 197
aload 3
athrow
27: .line 196
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.this$0:Lcom/sun/jmx/snmp/tasks/ThreadService;
dup
getfield com.sun.jmx.snmp.tasks.ThreadService.idle:I
iconst_1
iadd
putfield com.sun.jmx.snmp.tasks.ThreadService.idle:I
28: .line 201
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 0 /* this */
getfield com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.this$0:Lcom/sun/jmx/snmp/tasks/ThreadService;
getfield com.sun.jmx.snmp.tasks.ThreadService.priority:I
invokevirtual com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.setPriority:(I)V
29: .line 202
invokestatic com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.interrupted:()Z
pop
30: .line 203
aload 0 /* this */
aload 0 /* this */
getfield com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.this$0:Lcom/sun/jmx/snmp/tasks/ThreadService;
getfield com.sun.jmx.snmp.tasks.ThreadService.cloader:Ljava/lang/ClassLoader;
invokevirtual com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
end local 1 // java.lang.Runnable job
31: .line 168
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread.this$0:Lcom/sun/jmx/snmp/tasks/ThreadService;
getfield com.sun.jmx.snmp.tasks.ThreadService.terminated:Z
ifeq 1
32: .line 205
return
end local 0 // com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread this
LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lcom/sun/jmx/snmp/tasks/ThreadService$ExecutorThread;
2 31 1 job Ljava/lang/Runnable;
22 23 2 e Ljava/lang/Exception;
Exception table:
from to target type
8 9 10 Class java.lang.InterruptedException
3 12 15 any
13 14 15 any
15 16 15 any
18 20 21 Class java.lang.Exception
18 23 24 any
}
SourceFile: "ThreadService.java"
NestHost: com.sun.jmx.snmp.tasks.ThreadService
InnerClasses:
private ExecutorThread = com.sun.jmx.snmp.tasks.ThreadService$ExecutorThread of com.sun.jmx.snmp.tasks.ThreadService