final class com.sun.webkit.network.SocketStreamHandle$CustomThreadFactory implements java.util.concurrent.ThreadFactory
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.webkit.network.SocketStreamHandle$CustomThreadFactory
super_class: java.lang.Object
{
private final java.lang.ThreadGroup group;
descriptor: Ljava/lang/ThreadGroup;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicInteger index;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 // com.sun.webkit.network.SocketStreamHandle$CustomThreadFactory this
0: .line 421
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 419
aload 0 /* this */
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_1
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield com.sun.webkit.network.SocketStreamHandle$CustomThreadFactory.index:Ljava/util/concurrent/atomic/AtomicInteger;
2: .line 422
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1 /* sm */
start local 1 // java.lang.SecurityManager sm
3: .line 423
aload 0 /* this */
aload 1 /* sm */
ifnull 4
aload 1 /* sm */
invokevirtual java.lang.SecurityManager.getThreadGroup:()Ljava/lang/ThreadGroup;
goto 5
4: .line 424
StackMap locals: com.sun.webkit.network.SocketStreamHandle$CustomThreadFactory java.lang.SecurityManager
StackMap stack: com.sun.webkit.network.SocketStreamHandle$CustomThreadFactory
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getThreadGroup:()Ljava/lang/ThreadGroup;
5: .line 423
StackMap locals: com.sun.webkit.network.SocketStreamHandle$CustomThreadFactory java.lang.SecurityManager
StackMap stack: com.sun.webkit.network.SocketStreamHandle$CustomThreadFactory java.lang.ThreadGroup
putfield com.sun.webkit.network.SocketStreamHandle$CustomThreadFactory.group:Ljava/lang/ThreadGroup;
6: .line 425
return
end local 1 // java.lang.SecurityManager sm
end local 0 // com.sun.webkit.network.SocketStreamHandle$CustomThreadFactory this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/webkit/network/SocketStreamHandle$CustomThreadFactory;
3 7 1 sm Ljava/lang/SecurityManager;
public java.lang.Thread newThread(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 // com.sun.webkit.network.SocketStreamHandle$CustomThreadFactory this
start local 1 // java.lang.Runnable r
0: .line 429
new java.lang.Thread
dup
aload 0 /* this */
getfield com.sun.webkit.network.SocketStreamHandle$CustomThreadFactory.group:Ljava/lang/ThreadGroup;
aload 1 /* r */
new java.lang.StringBuilder
dup
ldc "SocketStreamHandle-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: .line 430
aload 0 /* this */
getfield com.sun.webkit.network.SocketStreamHandle$CustomThreadFactory.index: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;
2: .line 429
invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;)V
astore 2 /* t */
start local 2 // java.lang.Thread t
3: .line 431
aload 2 /* t */
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
4: .line 432
aload 2 /* t */
invokevirtual java.lang.Thread.getPriority:()I
iconst_5
if_icmpeq 6
5: .line 433
aload 2 /* t */
iconst_5
invokevirtual java.lang.Thread.setPriority:(I)V
6: .line 435
StackMap locals: java.lang.Thread
StackMap stack:
aload 2 /* t */
areturn
end local 2 // java.lang.Thread t
end local 1 // java.lang.Runnable r
end local 0 // com.sun.webkit.network.SocketStreamHandle$CustomThreadFactory this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/webkit/network/SocketStreamHandle$CustomThreadFactory;
0 7 1 r Ljava/lang/Runnable;
3 7 2 t Ljava/lang/Thread;
MethodParameters:
Name Flags
r
}
SourceFile: "SocketStreamHandle.java"
NestHost: com.sun.webkit.network.SocketStreamHandle
InnerClasses:
private final CustomThreadFactory = com.sun.webkit.network.SocketStreamHandle$CustomThreadFactory of com.sun.webkit.network.SocketStreamHandle