public class org.glassfish.grizzly.threadpool.GrizzlyExecutorService extends java.util.concurrent.AbstractExecutorService implements org.glassfish.grizzly.monitoring.MonitoringAware<org.glassfish.grizzly.threadpool.ThreadPoolProbe>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.threadpool.GrizzlyExecutorService
super_class: java.util.concurrent.AbstractExecutorService
{
private final java.lang.Object statelock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile org.glassfish.grizzly.threadpool.AbstractThreadPool pool;
descriptor: Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
protected volatile org.glassfish.grizzly.threadpool.ThreadPoolConfig config;
descriptor: Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
public static org.glassfish.grizzly.threadpool.GrizzlyExecutorService createInstance();
descriptor: ()Lorg/glassfish/grizzly/threadpool/GrizzlyExecutorService;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.glassfish.grizzly.threadpool.ThreadPoolConfig.defaultConfig:()Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
invokestatic org.glassfish.grizzly.threadpool.GrizzlyExecutorService.createInstance:(Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;)Lorg/glassfish/grizzly/threadpool/GrizzlyExecutorService;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.glassfish.grizzly.threadpool.GrizzlyExecutorService createInstance(org.glassfish.grizzly.threadpool.ThreadPoolConfig);
descriptor: (Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;)Lorg/glassfish/grizzly/threadpool/GrizzlyExecutorService;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.glassfish.grizzly.threadpool.GrizzlyExecutorService
dup
aload 0
invokespecial org.glassfish.grizzly.threadpool.GrizzlyExecutorService.<init>:(Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cfg Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
MethodParameters:
Name Flags
cfg
protected void <init>(org.glassfish.grizzly.threadpool.ThreadPoolConfig);
descriptor: (Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, 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.GrizzlyExecutorService.statelock:Ljava/lang/Object;
2: aload 0
aload 1
invokevirtual org.glassfish.grizzly.threadpool.GrizzlyExecutorService.setImpl:(Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/threadpool/GrizzlyExecutorService;
0 4 1 config Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
MethodParameters:
Name Flags
config
protected final void setImpl(org.glassfish.grizzly.threadpool.ThreadPoolConfig);
descriptor: (Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "config is null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.copy:()Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
astore 1
3: aload 1
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getMemoryManager:()Lorg/glassfish/grizzly/memory/MemoryManager;
ifnonnull 5
4: aload 1
getstatic org.glassfish.grizzly.memory.MemoryManager.DEFAULT_MEMORY_MANAGER:Lorg/glassfish/grizzly/memory/MemoryManager;
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.setMemoryManager:(Lorg/glassfish/grizzly/memory/MemoryManager;)Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
pop
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getQueue:()Ljava/util/Queue;
astore 2
start local 2 6: aload 2
ifnull 7
aload 2
instanceof java.util.concurrent.BlockingQueue
ifeq 12
StackMap locals: java.util.Queue
StackMap stack:
7: aload 1
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getCorePoolSize:()I
iflt 8
aload 1
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getCorePoolSize:()I
aload 1
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getMaxPoolSize:()I
if_icmpne 12
8: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getQueueLimit:()I
ifge 9
new org.glassfish.grizzly.threadpool.FixedThreadPool
dup
aload 1
invokespecial org.glassfish.grizzly.threadpool.FixedThreadPool.<init>:(Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;)V
goto 10
StackMap locals:
StackMap stack: org.glassfish.grizzly.threadpool.GrizzlyExecutorService
9: new org.glassfish.grizzly.threadpool.QueueLimitedThreadPool
dup
aload 1
invokespecial org.glassfish.grizzly.threadpool.QueueLimitedThreadPool.<init>:(Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;)V
StackMap locals: org.glassfish.grizzly.threadpool.GrizzlyExecutorService org.glassfish.grizzly.threadpool.ThreadPoolConfig java.util.Queue
StackMap stack: org.glassfish.grizzly.threadpool.GrizzlyExecutorService org.glassfish.grizzly.threadpool.FixedThreadPool
10: putfield org.glassfish.grizzly.threadpool.GrizzlyExecutorService.pool:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
new org.glassfish.grizzly.threadpool.SyncThreadPool
dup
aload 1
invokespecial org.glassfish.grizzly.threadpool.SyncThreadPool.<init>:(Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;)V
putfield org.glassfish.grizzly.threadpool.GrizzlyExecutorService.pool:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
13: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.glassfish.grizzly.threadpool.GrizzlyExecutorService.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/glassfish/grizzly/threadpool/GrizzlyExecutorService;
0 15 1 cfg Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
6 15 2 queue Ljava/util/Queue<Ljava/lang/Runnable;>;
MethodParameters:
Name Flags
cfg
public org.glassfish.grizzly.threadpool.GrizzlyExecutorService reconfigure(org.glassfish.grizzly.threadpool.ThreadPoolConfig);
descriptor: (Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;)Lorg/glassfish/grizzly/threadpool/GrizzlyExecutorService;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.threadpool.GrizzlyExecutorService.statelock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
getfield org.glassfish.grizzly.threadpool.GrizzlyExecutorService.pool:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
astore 3
start local 3 2: aload 1
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getQueue:()Ljava/util/Queue;
aload 3
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.getQueue:()Ljava/util/Queue;
if_acmpne 4
3: aload 1
aconst_null
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.setQueue:(Ljava/util/Queue;)Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
pop
4: StackMap locals: java.lang.Object org.glassfish.grizzly.threadpool.AbstractThreadPool
StackMap stack:
aload 0
aload 1
invokevirtual org.glassfish.grizzly.threadpool.GrizzlyExecutorService.setImpl:(Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;)V
5: aload 3
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.getQueue:()Ljava/util/Queue;
aload 0
getfield org.glassfish.grizzly.threadpool.GrizzlyExecutorService.pool:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.getQueue:()Ljava/util/Queue;
invokestatic org.glassfish.grizzly.threadpool.AbstractThreadPool.drain:(Ljava/util/Queue;Ljava/util/Collection;)V
6: aload 3
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.shutdown:()V
end local 3 7: aload 2
monitorexit
8: goto 11
StackMap locals: org.glassfish.grizzly.threadpool.GrizzlyExecutorService org.glassfish.grizzly.threadpool.ThreadPoolConfig java.lang.Object
StackMap stack: java.lang.Throwable
9: aload 2
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/glassfish/grizzly/threadpool/GrizzlyExecutorService;
0 12 1 config Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
2 7 3 oldpool Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
Exception table:
from to target type
1 8 9 any
9 10 9 any
MethodParameters:
Name Flags
config
public org.glassfish.grizzly.threadpool.ThreadPoolConfig getConfiguration();
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.GrizzlyExecutorService.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.copy:()Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/GrizzlyExecutorService;
public void shutdown();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.threadpool.GrizzlyExecutorService.pool:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.shutdown:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/threadpool/GrizzlyExecutorService;
public java.util.List<java.lang.Runnable> shutdownNow();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.threadpool.GrizzlyExecutorService.pool:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.shutdownNow:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/GrizzlyExecutorService;
Signature: ()Ljava/util/List<Ljava/lang/Runnable;>;
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.GrizzlyExecutorService.pool:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.isShutdown:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/GrizzlyExecutorService;
public boolean isTerminated();
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.GrizzlyExecutorService.pool:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.isTerminated:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/GrizzlyExecutorService;
public void execute(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.threadpool.GrizzlyExecutorService.pool:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
aload 1
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.execute:(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/GrizzlyExecutorService;
0 2 1 r Ljava/lang/Runnable;
MethodParameters:
Name Flags
r
public boolean awaitTermination(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield org.glassfish.grizzly.threadpool.GrizzlyExecutorService.pool:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
lload 1
aload 3
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/GrizzlyExecutorService;
0 1 1 timeout J
0 1 3 unit Ljava/util/concurrent/TimeUnit;
Exceptions:
throws java.lang.InterruptedException
MethodParameters:
Name Flags
timeout
unit
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.GrizzlyExecutorService.pool:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
invokevirtual org.glassfish.grizzly.threadpool.AbstractThreadPool.getMonitoringConfig:()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/GrizzlyExecutorService;
Signature: ()Lorg/glassfish/grizzly/monitoring/MonitoringConfig<Lorg/glassfish/grizzly/threadpool/ThreadPoolProbe;>;
}
Signature: Ljava/util/concurrent/AbstractExecutorService;Lorg/glassfish/grizzly/monitoring/MonitoringAware<Lorg/glassfish/grizzly/threadpool/ThreadPoolProbe;>;
SourceFile: "GrizzlyExecutorService.java"