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
static final java.lang.String nameSuffix;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, 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 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
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: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 3: aload 0
aload 2
ifnull 4
aload 2
invokevirtual java.lang.SecurityManager.getThreadGroup:()Ljava/lang/ThreadGroup;
goto 5
4: 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;
5: 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;
6: aload 0
new java.lang.StringBuilder
dup
ldc "JMX Monitor "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/management/monitor/Monitor$DaemonThreadFactory;
0 8 1 poolName Ljava/lang/String;
3 8 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 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
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: aload 0
aload 2
putfield javax.management.monitor.Monitor$DaemonThreadFactory.group:Ljava/lang/ThreadGroup;
3: aload 0
new java.lang.StringBuilder
dup
ldc "JMX Monitor "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/management/monitor/Monitor$DaemonThreadFactory;
0 5 1 poolName Ljava/lang/String;
0 5 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 0: aload 0
getfield javax.management.monitor.Monitor$DaemonThreadFactory.group:Ljava/lang/ThreadGroup;
areturn
end local 0 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=8, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.Thread
dup
1: aload 0
getfield javax.management.monitor.Monitor$DaemonThreadFactory.group:Ljava/lang/ThreadGroup;
2: aload 1
3: new java.lang.StringBuilder
dup
aload 0
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
aload 0
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;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: lconst_0
5: iconst_0
6: invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;JZ)V
astore 2
start local 2 7: aload 2
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
8: aload 2
invokevirtual java.lang.Thread.getPriority:()I
iconst_5
if_icmpeq 10
9: aload 2
iconst_5
invokevirtual java.lang.Thread.setPriority:(I)V
10: StackMap locals: java.lang.Thread
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/management/monitor/Monitor$DaemonThreadFactory;
0 11 1 r Ljava/lang/Runnable;
7 11 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