public abstract class org.glassfish.grizzly.threadpool.AbstractThreadPool extends java.util.concurrent.AbstractExecutorService implements java.lang.Thread$UncaughtExceptionHandler, org.glassfish.grizzly.monitoring.MonitoringAware<org.glassfish.grizzly.threadpool.ThreadPoolProbe>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.glassfish.grizzly.threadpool.AbstractThreadPool
super_class: java.util.concurrent.AbstractExecutorService
{
private static final java.util.logging.Logger logger;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final int DEFAULT_MIN_THREAD_COUNT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int DEFAULT_MAX_THREAD_COUNT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.lang.Long NEVER_TIMEOUT;
descriptor: Ljava/lang/Long;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final int DEFAULT_MAX_TASKS_QUEUED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -1
public static final int DEFAULT_IDLE_THREAD_KEEPALIVE_TIMEOUT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 30000
protected static final java.lang.Runnable poison;
descriptor: Ljava/lang/Runnable;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected final java.lang.Object stateLock;
descriptor: Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.util.Map<org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker, java.lang.Long> workers;
descriptor: Ljava/util/Map;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Map<Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;Ljava/lang/Long;>;
protected volatile boolean running;
descriptor: Z
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
protected final org.glassfish.grizzly.threadpool.ThreadPoolConfig config;
descriptor: Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final long transactionTimeoutMillis;
descriptor: J
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.glassfish.grizzly.utils.DelayedExecutor$DelayQueue<org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker> delayedQueue;
descriptor: Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue<Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;>;
private static final org.glassfish.grizzly.utils.DelayedExecutor$Resolver<org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker> transactionResolver;
descriptor: Lorg/glassfish/grizzly/utils/DelayedExecutor$Resolver;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lorg/glassfish/grizzly/utils/DelayedExecutor$Resolver<Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;>;
protected final org.glassfish.grizzly.monitoring.DefaultMonitoringConfig<org.glassfish.grizzly.threadpool.ThreadPoolProbe> monitoringConfig;
descriptor: Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig<Lorg/glassfish/grizzly/threadpool/ThreadPoolProbe;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.threadpool.AbstractThreadPool.logger:Ljava/util/logging/Logger;
1: ldc 9223372036854775807
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
putstatic org.glassfish.grizzly.threadpool.AbstractThreadPool.NEVER_TIMEOUT:Ljava/lang/Long;
2: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
invokevirtual java.lang.Runtime.availableProcessors:()I
istore 0
start local 0 3: iload 0
iconst_5
if_icmple 4
iload 0
goto 5
StackMap locals: int
StackMap stack:
4: iconst_5
StackMap locals:
StackMap stack: int
5: putstatic org.glassfish.grizzly.threadpool.AbstractThreadPool.DEFAULT_MIN_THREAD_COUNT:I
6: ldc 2147483647
putstatic org.glassfish.grizzly.threadpool.AbstractThreadPool.DEFAULT_MAX_THREAD_COUNT:I
end local 0 7: new org.glassfish.grizzly.threadpool.AbstractThreadPool$1
dup
invokespecial org.glassfish.grizzly.threadpool.AbstractThreadPool$1.<init>:()V
putstatic org.glassfish.grizzly.threadpool.AbstractThreadPool.poison:Ljava/lang/Runnable;
8: new org.glassfish.grizzly.threadpool.AbstractThreadPool$2
dup
invokespecial org.glassfish.grizzly.threadpool.AbstractThreadPool$2.<init>:()V
putstatic org.glassfish.grizzly.threadpool.AbstractThreadPool.transactionResolver:Lorg/glassfish/grizzly/utils/DelayedExecutor$Resolver;
9: return
LocalVariableTable:
Start End Slot Name Signature
3 7 0 processorsBasedThreadCount I
public void <init>(org.glassfish.grizzly.threadpool.ThreadPoolConfig);
descriptor: (Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.util.concurrent.AbstractExecutorService.<init>:()V
1: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield org.glassfish.grizzly.threadpool.AbstractThreadPool.stateLock:Ljava/lang/Object;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.glassfish.grizzly.threadpool.AbstractThreadPool.workers:Ljava/util/Map;
3: aload 0
iconst_1
putfield org.glassfish.grizzly.threadpool.AbstractThreadPool.running:Z
4: aload 0
new org.glassfish.grizzly.threadpool.AbstractThreadPool$3
dup
aload 0
ldc Lorg/glassfish/grizzly/threadpool/ThreadPoolProbe;
invokespecial org.glassfish.grizzly.threadpool.AbstractThreadPool$3.<init>:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;Ljava/lang/Class;)V
putfield org.glassfish.grizzly.threadpool.AbstractThreadPool.monitoringConfig:Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;
5: aload 1
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getMaxPoolSize:()I
iconst_1
if_icmpge 7
6: new java.lang.IllegalArgumentException
dup
ldc "poolsize < 1"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: org.glassfish.grizzly.threadpool.AbstractThreadPool org.glassfish.grizzly.threadpool.ThreadPoolConfig
StackMap stack:
aload 0
aload 1
putfield org.glassfish.grizzly.threadpool.AbstractThreadPool.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
8: aload 1
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getInitialMonitoringConfig:()Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;
invokevirtual org.glassfish.grizzly.monitoring.DefaultMonitoringConfig.hasProbes:()Z
ifeq 10
9: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.monitoringConfig:Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;
aload 1
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getInitialMonitoringConfig:()Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;
invokevirtual org.glassfish.grizzly.monitoring.DefaultMonitoringConfig.getProbes:()[Ljava/lang/Object;
checkcast org.glassfish.grizzly.threadpool.ThreadPoolProbe[]
invokevirtual org.glassfish.grizzly.monitoring.DefaultMonitoringConfig.addProbes:([Ljava/lang/Object;)V
10: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getThreadFactory:()Ljava/util/concurrent/ThreadFactory;
ifnonnull 12
11: aload 1
aload 0
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.getDefaultThreadFactory:()Ljava/util/concurrent/ThreadFactory;
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.setThreadFactory:(Ljava/util/concurrent/ThreadFactory;)Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
pop
12: StackMap locals:
StackMap stack:
aload 0
aload 1
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getTransactionTimeout:(Ljava/util/concurrent/TimeUnit;)J
putfield org.glassfish.grizzly.threadpool.AbstractThreadPool.transactionTimeoutMillis:J
13: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.transactionTimeoutMillis:J
lconst_0
lcmp
ifle 14
aload 1
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getTransactionMonitor:()Lorg/glassfish/grizzly/utils/DelayedExecutor;
goto 15
StackMap locals:
StackMap stack:
14: aconst_null
StackMap locals:
StackMap stack: org.glassfish.grizzly.utils.DelayedExecutor
15: astore 2
start local 2 16: aload 2
ifnull 20
17: new org.glassfish.grizzly.threadpool.AbstractThreadPool$4
dup
aload 0
invokespecial org.glassfish.grizzly.threadpool.AbstractThreadPool$4.<init>:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;)V
astore 3
start local 3 18: aload 0
aload 2
aload 3
getstatic org.glassfish.grizzly.threadpool.AbstractThreadPool.transactionResolver:Lorg/glassfish/grizzly/utils/DelayedExecutor$Resolver;
invokevirtual org.glassfish.grizzly.utils.DelayedExecutor.createDelayQueue:(Lorg/glassfish/grizzly/utils/DelayedExecutor$Worker;Lorg/glassfish/grizzly/utils/DelayedExecutor$Resolver;)Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
putfield org.glassfish.grizzly.threadpool.AbstractThreadPool.delayedQueue:Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
end local 3 19: goto 21
20: StackMap locals: org.glassfish.grizzly.utils.DelayedExecutor
StackMap stack:
aload 0
aconst_null
putfield org.glassfish.grizzly.threadpool.AbstractThreadPool.delayedQueue:Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
21: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
0 22 1 config Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
16 22 2 transactionMonitor Lorg/glassfish/grizzly/utils/DelayedExecutor;
18 19 3 transactionWorker Lorg/glassfish/grizzly/utils/DelayedExecutor$Worker<Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;>;
MethodParameters:
Name Flags
config
protected void startWorker(org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker);
descriptor: (Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getThreadFactory:()Ljava/util/concurrent/ThreadFactory;
aload 1
invokeinterface java.util.concurrent.ThreadFactory.newThread:(Ljava/lang/Runnable;)Ljava/lang/Thread;
astore 2
start local 2 1: aload 1
aload 2
putfield org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.t:Ljava/lang/Thread;
2: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.workers:Ljava/util/Map;
aload 1
invokestatic java.lang.System.currentTimeMillis:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 1
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.t:Ljava/lang/Thread;
invokevirtual java.lang.Thread.start:()V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
0 5 1 worker Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;
1 5 2 thread Ljava/lang/Thread;
MethodParameters:
Name Flags
worker final
public org.glassfish.grizzly.threadpool.ThreadPoolConfig getConfig();
descriptor: ()Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
public java.util.Queue<java.lang.Runnable> getQueue();
descriptor: ()Ljava/util/Queue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getQueue:()Ljava/util/Queue;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
Signature: ()Ljava/util/Queue<Ljava/lang/Runnable;>;
public final int getSize();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.stateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.workers:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
aload 1
monitorexit
2: ireturn
3: StackMap locals: org.glassfish.grizzly.threadpool.AbstractThreadPool java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public java.util.List<java.lang.Runnable> shutdownNow();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.stateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.running:Z
ifeq 16
3: aload 0
iconst_0
putfield org.glassfish.grizzly.threadpool.AbstractThreadPool.running:Z
4: aload 0
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.getQueue:()Ljava/util/Queue;
aload 2
invokestatic org.glassfish.grizzly.threadpool.AbstractThreadPool.drain:(Ljava/util/Queue;Ljava/util/Collection;)V
5: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: org.glassfish.grizzly.threadpool.AbstractThreadPool java.lang.Object java.util.List top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Runnable
astore 3
start local 3 7: aload 0
aload 3
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.onTaskDequeued:(Ljava/lang/Runnable;)V
8: aload 0
aload 3
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.onTaskCancelled:(Ljava/lang/Runnable;)V
end local 3 9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
10: aload 0
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.poisonAll:()V
11: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.workers:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 14
StackMap locals:
StackMap stack:
12: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker
astore 3
start local 3 13: aload 3
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.t:Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
end local 3 14: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
15: aload 0
invokestatic org.glassfish.grizzly.threadpool.ProbeNotifier.notifyThreadPoolStopped:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;)V
16: StackMap locals: org.glassfish.grizzly.threadpool.AbstractThreadPool java.lang.Object java.util.List
StackMap stack:
aload 2
aload 1
monitorexit
17: areturn
end local 2 18: StackMap locals: org.glassfish.grizzly.threadpool.AbstractThreadPool java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
19: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
2 18 2 drained Ljava/util/List<Ljava/lang/Runnable;>;
7 9 3 task Ljava/lang/Runnable;
13 14 3 w Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;
Exception table:
from to target type
1 17 18 any
18 19 18 any
Signature: ()Ljava/util/List<Ljava/lang/Runnable;>;
public void shutdown();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.stateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.running:Z
ifeq 6
2: aload 0
iconst_0
putfield org.glassfish.grizzly.threadpool.AbstractThreadPool.running:Z
3: aload 0
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.poisonAll:()V
4: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.stateLock:Ljava/lang/Object;
invokevirtual java.lang.Object.notifyAll:()V
5: aload 0
invokestatic org.glassfish.grizzly.threadpool.ProbeNotifier.notifyThreadPoolStopped:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;)V
6: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 1
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
Exception table:
from to target type
1 7 8 any
8 9 8 any
public boolean isShutdown();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.running:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
public boolean isTerminated();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.stateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.running:Z
ifne 2
aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.workers:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 2
iconst_1
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: aload 1
monitorexit
4: ireturn
5: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
6: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
Exception table:
from to target type
1 4 5 any
5 6 5 any
public boolean awaitTermination(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 3 0: aload 3
lload 1
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
lstore 4
start local 4 1: invokestatic java.lang.System.currentTimeMillis:()J
lload 4
ladd
lstore 6
start local 6 2: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.stateLock:Ljava/lang/Object;
dup
astore 8
monitorenter
3: aload 0
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.isTerminated:()Z
ifeq 6
4: aload 8
monitorexit
5: iconst_1
ireturn
6: StackMap locals: long long java.lang.Object
StackMap stack:
lload 4
ldc 20
lcmp
ifge 9
7: aload 8
monitorexit
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.stateLock:Ljava/lang/Object;
lload 4
invokevirtual java.lang.Object.wait:(J)V
10: aload 0
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.isTerminated:()Z
ifeq 13
11: aload 8
monitorexit
12: iconst_1
ireturn
13: StackMap locals:
StackMap stack:
lload 6
invokestatic java.lang.System.currentTimeMillis:()J
lsub
lstore 4
14: goto 6
15: StackMap locals:
StackMap stack: java.lang.Throwable
aload 8
monitorexit
16: athrow
end local 6 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
0 17 1 timeout J
0 17 3 unit Ljava/util/concurrent/TimeUnit;
1 17 4 millis J
2 17 6 timeEnd J
Exception table:
from to target type
3 5 15 any
6 8 15 any
9 12 15 any
13 16 15 any
Exceptions:
throws java.lang.InterruptedException
MethodParameters:
Name Flags
timeout final
unit final
protected void poisonAll();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getMaxPoolSize:()I
aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.workers:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
invokestatic java.lang.Math.max:(II)I
iconst_4
imul
iconst_3
idiv
istore 1
start local 1 1: aload 0
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.getQueue:()Ljava/util/Queue;
astore 2
start local 2 2: goto 4
3: StackMap locals: int java.util.Queue
StackMap stack:
aload 2
getstatic org.glassfish.grizzly.threadpool.AbstractThreadPool.poison:Ljava/lang/Runnable;
invokeinterface java.util.Queue.offer:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
iload 1
iinc 1 -1
ifgt 3
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
1 6 1 size I
2 6 2 q Ljava/util/Queue<Ljava/lang/Runnable;>;
protected static void drain(java.util.Queue<java.lang.Runnable>, java.util.Collection<java.lang.Runnable>);
descriptor: (Ljava/util/Queue;Ljava/util/Collection;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_1
istore 2
start local 2 1: goto 8
2: StackMap locals: int
StackMap stack:
aload 0
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
checkcast java.lang.Runnable
astore 3
start local 3 3: aload 3
ifnull 4
iconst_1
goto 5
StackMap locals: java.lang.Runnable
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: dup
istore 2
ifeq 8
6: aload 3
getstatic org.glassfish.grizzly.threadpool.AbstractThreadPool.poison:Ljava/lang/Runnable;
if_acmpeq 8
7: aload 1
aload 3
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 3 8: StackMap locals:
StackMap stack:
iload 2
ifne 2
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 from Ljava/util/Queue<Ljava/lang/Runnable;>;
0 10 1 to Ljava/util/Collection<Ljava/lang/Runnable;>;
1 10 2 cont Z
3 8 3 r Ljava/lang/Runnable;
Signature: (Ljava/util/Queue<Ljava/lang/Runnable;>;Ljava/util/Collection<Ljava/lang/Runnable;>;)V
MethodParameters:
Name Flags
from
to
protected void validateNewPoolSize(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iconst_1
if_icmpge 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "maxPoolsize < 1 :"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 1
iconst_1
if_icmpge 4
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "corePoolsize < 1 :"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmple 6
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "corePoolsize > maxPoolSize: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " > "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
0 7 1 corePoolsize I
0 7 2 maxPoolSize I
MethodParameters:
Name Flags
corePoolsize
maxPoolSize
protected void beforeExecute(org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker, java.lang.Thread, java.lang.Runnable);
descriptor: (Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;Ljava/lang/Thread;Ljava/lang/Runnable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.delayedQueue:Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
ifnull 2
1: aload 1
invokestatic java.lang.System.currentTimeMillis:()J
aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.transactionTimeoutMillis:J
ladd
putfield org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.transactionExpirationTime:J
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getInitialClassLoader:()Ljava/lang/ClassLoader;
astore 4
start local 4 3: aload 4
ifnull 5
4: aload 2
aload 4
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
5: StackMap locals: java.lang.ClassLoader
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
0 6 1 worker Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;
0 6 2 t Ljava/lang/Thread;
0 6 3 r Ljava/lang/Runnable;
3 6 4 initial Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
worker final
t final
r final
protected void afterExecute(org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker, java.lang.Thread, java.lang.Runnable, java.lang.Throwable);
descriptor: (Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;Ljava/lang/Thread;Ljava/lang/Runnable;Ljava/lang/Throwable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.delayedQueue:Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
ifnull 2
1: aload 1
getstatic org.glassfish.grizzly.threadpool.AbstractThreadPool.NEVER_TIMEOUT:Ljava/lang/Long;
invokevirtual java.lang.Long.longValue:()J
putfield org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.transactionExpirationTime:J
2: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
0 3 1 worker Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;
0 3 2 thread Ljava/lang/Thread;
0 3 3 r Ljava/lang/Runnable;
0 3 4 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
worker final
thread final
r final
t final
protected void onTaskCompletedEvent(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.glassfish.grizzly.threadpool.ProbeNotifier.notifyTaskCompleted:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;Ljava/lang/Runnable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
0 2 1 task Ljava/lang/Runnable;
MethodParameters:
Name Flags
task
protected void onWorkerStarted(org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker);
descriptor: (Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.delayedQueue:Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
ifnull 2
1: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.delayedQueue:Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
aload 1
getstatic org.glassfish.grizzly.threadpool.AbstractThreadPool.NEVER_TIMEOUT:Ljava/lang/Long;
invokevirtual java.lang.Long.longValue:()J
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual org.glassfish.grizzly.utils.DelayedExecutor$DelayQueue.add:(Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;)V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.t:Ljava/lang/Thread;
invokestatic org.glassfish.grizzly.threadpool.ProbeNotifier.notifyThreadAllocated:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;Ljava/lang/Thread;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
0 4 1 worker Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;
MethodParameters:
Name Flags
worker final
protected void onWorkerExit(org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker);
descriptor: (Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.stateLock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.workers:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.delayedQueue:Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
ifnull 4
3: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.delayedQueue:Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
aload 1
invokevirtual org.glassfish.grizzly.utils.DelayedExecutor$DelayQueue.remove:(Ljava/lang/Object;)V
4: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.workers:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 6
5: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.stateLock:Ljava/lang/Object;
invokevirtual java.lang.Object.notifyAll:()V
6: StackMap locals:
StackMap stack:
aload 2
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 2
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.t:Ljava/lang/Thread;
invokestatic org.glassfish.grizzly.threadpool.ProbeNotifier.notifyThreadReleased:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;Ljava/lang/Thread;)V
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
0 12 1 worker Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;
Exception table:
from to target type
1 7 8 any
8 9 8 any
MethodParameters:
Name Flags
worker
protected void onMaxNumberOfThreadsReached();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getMaxPoolSize:()I
invokestatic org.glassfish.grizzly.threadpool.ProbeNotifier.notifyMaxNumberOfThreads:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
protected void onTaskQueued(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.glassfish.grizzly.threadpool.ProbeNotifier.notifyTaskQueued:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;Ljava/lang/Runnable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
0 2 1 task Ljava/lang/Runnable;
MethodParameters:
Name Flags
task
protected void onTaskDequeued(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.glassfish.grizzly.threadpool.ProbeNotifier.notifyTaskDequeued:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;Ljava/lang/Runnable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
0 2 1 task Ljava/lang/Runnable;
MethodParameters:
Name Flags
task
protected void onTaskCancelled(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.glassfish.grizzly.threadpool.ProbeNotifier.notifyTaskCancelled:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;Ljava/lang/Runnable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
0 2 1 task Ljava/lang/Runnable;
MethodParameters:
Name Flags
task
protected void onTaskQueueOverflow();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.glassfish.grizzly.threadpool.ProbeNotifier.notifyTaskQueueOverflow:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;)V
1: new java.util.concurrent.RejectedExecutionException
dup
new java.lang.StringBuilder
dup
ldc "The thread pool's task queue is full, limit: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getQueueLimit:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.util.concurrent.RejectedExecutionException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
public org.glassfish.grizzly.monitoring.MonitoringConfig<org.glassfish.grizzly.threadpool.ThreadPoolProbe> getMonitoringConfig();
descriptor: ()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.monitoringConfig:Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
Signature: ()Lorg/glassfish/grizzly/monitoring/MonitoringConfig<Lorg/glassfish/grizzly/threadpool/ThreadPoolProbe;>;
public void uncaughtException(java.lang.Thread, java.lang.Throwable);
descriptor: (Ljava/lang/Thread;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.glassfish.grizzly.threadpool.AbstractThreadPool.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
aload 1
invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_THREADPOOL_UNCAUGHT_EXCEPTION:(Ljava/lang/Object;)Ljava/lang/String;
aload 2
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
0 2 1 thread Ljava/lang/Thread;
0 2 2 throwable Ljava/lang/Throwable;
MethodParameters:
Name Flags
thread
throwable
java.lang.Object createJmxManagementObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: ldc "org.glassfish.grizzly.threadpool.jmx.ThreadPool"
aload 0
ldc Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
invokestatic org.glassfish.grizzly.monitoring.MonitoringUtils.loadJmxObject:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
protected final java.util.concurrent.ThreadFactory getDefaultThreadFactory();
descriptor: ()Ljava/util/concurrent/ThreadFactory;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
astore 1
start local 1 1: new org.glassfish.grizzly.threadpool.AbstractThreadPool$5
dup
aload 0
aload 1
invokespecial org.glassfish.grizzly.threadpool.AbstractThreadPool$5.<init>:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;Ljava/util/concurrent/atomic/AtomicInteger;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
1 2 1 counter Ljava/util/concurrent/atomic/AtomicInteger;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
sipush 256
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
ldc " config: ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc ", is-shutdown="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.isShutdown:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
pop
4: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
1 5 1 sb Ljava/lang/StringBuilder;
}
Signature: Ljava/util/concurrent/AbstractExecutorService;Ljava/lang/Thread$UncaughtExceptionHandler;Lorg/glassfish/grizzly/monitoring/MonitoringAware<Lorg/glassfish/grizzly/threadpool/ThreadPoolProbe;>;
SourceFile: "AbstractThreadPool.java"
NestMembers:
org.glassfish.grizzly.threadpool.AbstractThreadPool$1 org.glassfish.grizzly.threadpool.AbstractThreadPool$2 org.glassfish.grizzly.threadpool.AbstractThreadPool$3 org.glassfish.grizzly.threadpool.AbstractThreadPool$4 org.glassfish.grizzly.threadpool.AbstractThreadPool$5 org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker
InnerClasses:
public abstract UncaughtExceptionHandler = java.lang.Thread$UncaughtExceptionHandler of java.lang.Thread
org.glassfish.grizzly.threadpool.AbstractThreadPool$1
org.glassfish.grizzly.threadpool.AbstractThreadPool$2
org.glassfish.grizzly.threadpool.AbstractThreadPool$3
org.glassfish.grizzly.threadpool.AbstractThreadPool$4
org.glassfish.grizzly.threadpool.AbstractThreadPool$5
public abstract Worker = org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker of org.glassfish.grizzly.threadpool.AbstractThreadPool
public DelayQueue = org.glassfish.grizzly.utils.DelayedExecutor$DelayQueue of org.glassfish.grizzly.utils.DelayedExecutor
public abstract Resolver = org.glassfish.grizzly.utils.DelayedExecutor$Resolver of org.glassfish.grizzly.utils.DelayedExecutor
public abstract Worker = org.glassfish.grizzly.utils.DelayedExecutor$Worker of org.glassfish.grizzly.utils.DelayedExecutor