class org.glassfish.grizzly.http.server.HttpServer$2 implements java.util.concurrent.ThreadFactory
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.grizzly.http.server.HttpServer$2
super_class: java.lang.Object
{
final org.glassfish.grizzly.http.server.HttpServer this$0;
descriptor: Lorg/glassfish/grizzly/http/server/HttpServer;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.util.concurrent.atomic.AtomicInteger val$threadCounter;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.glassfish.grizzly.http.server.HttpServer, java.util.concurrent.atomic.AtomicInteger);
descriptor: (Lorg/glassfish/grizzly/http/server/HttpServer;Ljava/util/concurrent/atomic/AtomicInteger;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 // org.glassfish.grizzly.http.server.HttpServer$2 this
0: .line 684
aload 0 /* this */
aload 1
putfield org.glassfish.grizzly.http.server.HttpServer$2.this$0:Lorg/glassfish/grizzly/http/server/HttpServer;
aload 0 /* this */
aload 2
putfield org.glassfish.grizzly.http.server.HttpServer$2.val$threadCounter:Ljava/util/concurrent/atomic/AtomicInteger;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.glassfish.grizzly.http.server.HttpServer$2 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/HttpServer$2;
MethodParameters:
Name Flags
this$0 final
val$threadCounter final
public java.lang.Thread newThread(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 // org.glassfish.grizzly.http.server.HttpServer$2 this
start local 1 // java.lang.Runnable r
0: .line 688
new org.glassfish.grizzly.threadpool.DefaultWorkerThread
dup
getstatic org.glassfish.grizzly.attributes.AttributeBuilder.DEFAULT_ATTRIBUTE_BUILDER:Lorg/glassfish/grizzly/attributes/AttributeBuilder;
1: .line 689
new java.lang.StringBuilder
dup
aload 0 /* this */
getfield org.glassfish.grizzly.http.server.HttpServer$2.this$0:Lorg/glassfish/grizzly/http/server/HttpServer;
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0 /* this */
getfield org.glassfish.grizzly.http.server.HttpServer$2.val$threadCounter:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
aload 1 /* r */
2: .line 688
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 2 /* newThread */
start local 2 // java.lang.Thread newThread
3: .line 690
aload 2 /* newThread */
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
4: .line 691
aload 2 /* newThread */
areturn
end local 2 // java.lang.Thread newThread
end local 1 // java.lang.Runnable r
end local 0 // org.glassfish.grizzly.http.server.HttpServer$2 this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/HttpServer$2;
0 5 1 r Ljava/lang/Runnable;
3 5 2 newThread Ljava/lang/Thread;
MethodParameters:
Name Flags
r
}
SourceFile: "HttpServer.java"
EnclosingMethod: org.glassfish.grizzly.http.server.HttpServer.configureAuxThreadPool:()V
NestHost: org.glassfish.grizzly.http.server.HttpServer
InnerClasses:
org.glassfish.grizzly.http.server.HttpServer$2