class javax.management.monitor.Monitor$DaemonThreadFactory implements java.util.concurrent.ThreadFactory
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.management.monitor.Monitor$DaemonThreadFactory
super_class: java.lang.Object
{
final java.lang.ThreadGroup group;
descriptor: Ljava/lang/ThreadGroup;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicInteger threadNumber;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0010) ACC_FINAL
final java.lang.String namePrefix;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final java.lang.String nameSuffix;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
ConstantValue: "]"
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 // javax.management.monitor.Monitor$DaemonThreadFactory this
start local 1 // java.lang.String poolName
0: .line 1659
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 1655
aload 0 /* this */
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_1
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield javax.management.monitor.Monitor$DaemonThreadFactory.threadNumber:Ljava/util/concurrent/atomic/AtomicInteger;
2: .line 1657
aload 0 /* this */
ldc "]"
putfield javax.management.monitor.Monitor$DaemonThreadFactory.nameSuffix:Ljava/lang/String;
3: .line 1660
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2 /* s */
start local 2 // java.lang.SecurityManager s
4: .line 1661
aload 0 /* this */
aload 2 /* s */
ifnull 5
aload 2 /* s */
invokevirtual java.lang.SecurityManager.getThreadGroup:()Ljava/lang/ThreadGroup;
goto 6
5: .line 1662
StackMap locals: javax.management.monitor.Monitor$DaemonThreadFactory java.lang.String java.lang.SecurityManager
StackMap stack: javax.management.monitor.Monitor$DaemonThreadFactory
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getThreadGroup:()Ljava/lang/ThreadGroup;
6: .line 1661
StackMap locals: javax.management.monitor.Monitor$DaemonThreadFactory java.lang.String java.lang.SecurityManager
StackMap stack: javax.management.monitor.Monitor$DaemonThreadFactory java.lang.ThreadGroup
putfield javax.management.monitor.Monitor$DaemonThreadFactory.group:Ljava/lang/ThreadGroup;
7: .line 1663
aload 0 /* this */
new java.lang.StringBuilder
dup
ldc "JMX Monitor "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1 /* poolName */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " Pool [Thread-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield javax.management.monitor.Monitor$DaemonThreadFactory.namePrefix:Ljava/lang/String;
8: .line 1664
return
end local 2 // java.lang.SecurityManager s
end local 1 // java.lang.String poolName
end local 0 // javax.management.monitor.Monitor$DaemonThreadFactory this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/management/monitor/Monitor$DaemonThreadFactory;
0 9 1 poolName Ljava/lang/String;
4 9 2 s Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
poolName
public void <init>(java.lang.String, java.lang.ThreadGroup);
descriptor: (Ljava/lang/String;Ljava/lang/ThreadGroup;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 // javax.management.monitor.Monitor$DaemonThreadFactory this
start local 1 // java.lang.String poolName
start local 2 // java.lang.ThreadGroup threadGroup
0: .line 1666
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 1655
aload 0 /* this */
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_1
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield javax.management.monitor.Monitor$DaemonThreadFactory.threadNumber:Ljava/util/concurrent/atomic/AtomicInteger;
2: .line 1657
aload 0 /* this */
ldc "]"
putfield javax.management.monitor.Monitor$DaemonThreadFactory.nameSuffix:Ljava/lang/String;
3: .line 1667
aload 0 /* this */
aload 2 /* threadGroup */
putfield javax.management.monitor.Monitor$DaemonThreadFactory.group:Ljava/lang/ThreadGroup;
4: .line 1668
aload 0 /* this */
new java.lang.StringBuilder
dup
ldc "JMX Monitor "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1 /* poolName */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " Pool [Thread-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield javax.management.monitor.Monitor$DaemonThreadFactory.namePrefix:Ljava/lang/String;
5: .line 1669
return
end local 2 // java.lang.ThreadGroup threadGroup
end local 1 // java.lang.String poolName
end local 0 // javax.management.monitor.Monitor$DaemonThreadFactory this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/management/monitor/Monitor$DaemonThreadFactory;
0 6 1 poolName Ljava/lang/String;
0 6 2 threadGroup Ljava/lang/ThreadGroup;
MethodParameters:
Name Flags
poolName
threadGroup
public java.lang.ThreadGroup getThreadGroup();
descriptor: ()Ljava/lang/ThreadGroup;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // javax.management.monitor.Monitor$DaemonThreadFactory this
0: .line 1672
aload 0 /* this */
getfield javax.management.monitor.Monitor$DaemonThreadFactory.group:Ljava/lang/ThreadGroup;
areturn
end local 0 // javax.management.monitor.Monitor$DaemonThreadFactory this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/monitor/Monitor$DaemonThreadFactory;
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 // javax.management.monitor.Monitor$DaemonThreadFactory this
start local 1 // java.lang.Runnable r
0: .line 1676
new java.lang.Thread
dup
aload 0 /* this */
getfield javax.management.monitor.Monitor$DaemonThreadFactory.group:Ljava/lang/ThreadGroup;
1: .line 1677
aload 1 /* r */
2: .line 1678
new java.lang.StringBuilder
dup
aload 0 /* this */
getfield javax.management.monitor.Monitor$DaemonThreadFactory.namePrefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: .line 1679
aload 0 /* this */
getfield javax.management.monitor.Monitor$DaemonThreadFactory.threadNumber:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
4: .line 1680
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: .line 1678
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: .line 1681
lconst_0
7: .line 1676
invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;J)V
astore 2 /* t */
start local 2 // java.lang.Thread t
8: .line 1682
aload 2 /* t */
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
9: .line 1683
aload 2 /* t */
invokevirtual java.lang.Thread.getPriority:()I
iconst_5
if_icmpeq 11
10: .line 1684
aload 2 /* t */
iconst_5
invokevirtual java.lang.Thread.setPriority:(I)V
11: .line 1685
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 // javax.management.monitor.Monitor$DaemonThreadFactory this
LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/management/monitor/Monitor$DaemonThreadFactory;
0 12 1 r Ljava/lang/Runnable;
8 12 2 t Ljava/lang/Thread;
MethodParameters:
Name Flags
r
}
SourceFile: "Monitor.java"
NestHost: javax.management.monitor.Monitor
InnerClasses:
private DaemonThreadFactory = javax.management.monitor.Monitor$DaemonThreadFactory of javax.management.monitor.Monitor