class org.glassfish.grizzly.threadpool.AbstractThreadPool$5 implements java.util.concurrent.ThreadFactory
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.grizzly.threadpool.AbstractThreadPool$5
super_class: java.lang.Object
{
final org.glassfish.grizzly.threadpool.AbstractThreadPool this$0;
descriptor: Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.util.concurrent.atomic.AtomicInteger val$counter;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.glassfish.grizzly.threadpool.AbstractThreadPool, java.util.concurrent.atomic.AtomicInteger);
descriptor: (Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;Ljava/util/concurrent/atomic/AtomicInteger;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 // org.glassfish.grizzly.threadpool.AbstractThreadPool$5 this
0: .line 468
aload 0 /* this */
aload 1
putfield org.glassfish.grizzly.threadpool.AbstractThreadPool$5.this$0:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
aload 0 /* this */
aload 2
putfield org.glassfish.grizzly.threadpool.AbstractThreadPool$5.val$counter:Ljava/util/concurrent/atomic/AtomicInteger;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.glassfish.grizzly.threadpool.AbstractThreadPool$5 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$5;
MethodParameters:
Name Flags
this$0 final
val$counter final
public java.lang.Thread newThread(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 // org.glassfish.grizzly.threadpool.AbstractThreadPool$5 this
start local 1 // java.lang.Runnable r
0: .line 471
aload 0 /* this */
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool$5.this$0:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getMemoryManager:()Lorg/glassfish/grizzly/memory/MemoryManager;
astore 2 /* mm */
start local 2 // org.glassfish.grizzly.memory.MemoryManager mm
1: .line 474
aload 2 /* mm */
instanceof org.glassfish.grizzly.memory.ThreadLocalPoolProvider
ifeq 4
2: .line 475
aload 2 /* mm */
checkcast org.glassfish.grizzly.memory.ThreadLocalPoolProvider
astore 3 /* threadLocalPoolProvider */
start local 3 // org.glassfish.grizzly.memory.ThreadLocalPoolProvider threadLocalPoolProvider
3: .line 476
goto 5
end local 3 // org.glassfish.grizzly.memory.ThreadLocalPoolProvider threadLocalPoolProvider
4: .line 477
StackMap locals: org.glassfish.grizzly.memory.MemoryManager
StackMap stack:
aconst_null
astore 3 /* threadLocalPoolProvider */
start local 3 // org.glassfish.grizzly.memory.ThreadLocalPoolProvider threadLocalPoolProvider
5: .line 480
StackMap locals: org.glassfish.grizzly.memory.ThreadLocalPoolProvider
StackMap stack:
new org.glassfish.grizzly.threadpool.DefaultWorkerThread
dup
getstatic org.glassfish.grizzly.Grizzly.DEFAULT_ATTRIBUTE_BUILDER:Lorg/glassfish/grizzly/attributes/AttributeBuilder;
6: .line 481
new java.lang.StringBuilder
dup
aload 0 /* this */
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool$5.this$0:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getPoolName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0 /* this */
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool$5.val$counter:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: .line 482
aload 3 /* threadLocalPoolProvider */
ifnull 8
aload 3 /* threadLocalPoolProvider */
invokeinterface org.glassfish.grizzly.memory.ThreadLocalPoolProvider.createThreadLocalPool:()Lorg/glassfish/grizzly/memory/ThreadLocalPool;
goto 9
StackMap locals: org.glassfish.grizzly.threadpool.AbstractThreadPool$5 java.lang.Runnable org.glassfish.grizzly.memory.MemoryManager org.glassfish.grizzly.memory.ThreadLocalPoolProvider
StackMap stack: new 5 new 5 org.glassfish.grizzly.attributes.AttributeBuilder java.lang.String
8: aconst_null
StackMap locals: org.glassfish.grizzly.threadpool.AbstractThreadPool$5 java.lang.Runnable org.glassfish.grizzly.memory.MemoryManager org.glassfish.grizzly.memory.ThreadLocalPoolProvider
StackMap stack: new 5 new 5 org.glassfish.grizzly.attributes.AttributeBuilder java.lang.String org.glassfish.grizzly.memory.ThreadLocalPool
9: aload 1 /* r */
10: .line 480
invokespecial org.glassfish.grizzly.threadpool.DefaultWorkerThread.<init>:(Lorg/glassfish/grizzly/attributes/AttributeBuilder;Ljava/lang/String;Lorg/glassfish/grizzly/memory/ThreadLocalPool;Ljava/lang/Runnable;)V
astore 4 /* thread */
start local 4 // org.glassfish.grizzly.threadpool.DefaultWorkerThread thread
11: .line 484
aload 4 /* thread */
aload 0 /* this */
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool$5.this$0:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
invokevirtual org.glassfish.grizzly.threadpool.DefaultWorkerThread.setUncaughtExceptionHandler:(Ljava/lang/Thread$UncaughtExceptionHandler;)V
12: .line 485
aload 4 /* thread */
aload 0 /* this */
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool$5.this$0:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getPriority:()I
invokevirtual org.glassfish.grizzly.threadpool.DefaultWorkerThread.setPriority:(I)V
13: .line 486
aload 4 /* thread */
aload 0 /* this */
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool$5.this$0:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.isDaemon:()Z
invokevirtual org.glassfish.grizzly.threadpool.DefaultWorkerThread.setDaemon:(Z)V
14: .line 487
aload 0 /* this */
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool$5.this$0:Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;
getfield org.glassfish.grizzly.threadpool.AbstractThreadPool.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getInitialClassLoader:()Ljava/lang/ClassLoader;
astore 5 /* initial */
start local 5 // java.lang.ClassLoader initial
15: .line 488
aload 5 /* initial */
ifnull 17
16: .line 489
aload 4 /* thread */
aload 5 /* initial */
invokevirtual org.glassfish.grizzly.threadpool.DefaultWorkerThread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
17: .line 492
StackMap locals: org.glassfish.grizzly.threadpool.DefaultWorkerThread java.lang.ClassLoader
StackMap stack:
aload 4 /* thread */
areturn
end local 5 // java.lang.ClassLoader initial
end local 4 // org.glassfish.grizzly.threadpool.DefaultWorkerThread thread
end local 3 // org.glassfish.grizzly.memory.ThreadLocalPoolProvider threadLocalPoolProvider
end local 2 // org.glassfish.grizzly.memory.MemoryManager mm
end local 1 // java.lang.Runnable r
end local 0 // org.glassfish.grizzly.threadpool.AbstractThreadPool$5 this
LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$5;
0 18 1 r Ljava/lang/Runnable;
1 18 2 mm Lorg/glassfish/grizzly/memory/MemoryManager;
3 4 3 threadLocalPoolProvider Lorg/glassfish/grizzly/memory/ThreadLocalPoolProvider;
5 18 3 threadLocalPoolProvider Lorg/glassfish/grizzly/memory/ThreadLocalPoolProvider;
11 18 4 thread Lorg/glassfish/grizzly/threadpool/DefaultWorkerThread;
15 18 5 initial Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
r
}
SourceFile: "AbstractThreadPool.java"
EnclosingMethod: org.glassfish.grizzly.threadpool.AbstractThreadPool.getDefaultThreadFactory:()Ljava/util/concurrent/ThreadFactory;
NestHost: org.glassfish.grizzly.threadpool.AbstractThreadPool
InnerClasses:
public abstract UncaughtExceptionHandler = java.lang.Thread$UncaughtExceptionHandler of java.lang.Thread
org.glassfish.grizzly.threadpool.AbstractThreadPool$5