public class io.vertx.core.impl.VertxThreadFactory implements java.util.concurrent.ThreadFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.impl.VertxThreadFactory
super_class: java.lang.Object
{
private static final java.lang.Object FOO;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static java.util.Map<io.vertx.core.impl.VertxThread, java.lang.Object> weakMap;
descriptor: Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Map<Lio/vertx/core/impl/VertxThread;Ljava/lang/Object;>;
private final java.lang.String prefix;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicInteger threadCount;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.impl.BlockedThreadChecker checker;
descriptor: Lio/vertx/core/impl/BlockedThreadChecker;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean worker;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long maxExecTime;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.TimeUnit maxExecTimeUnit;
descriptor: Ljava/util/concurrent/TimeUnit;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic io.vertx.core.impl.VertxThreadFactory.FOO:Ljava/lang/Object;
1: new java.util.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
putstatic io.vertx.core.impl.VertxThreadFactory.weakMap:Ljava/util/Map;
return
LocalVariableTable:
Start End Slot Name Signature
private static synchronized void addToMap(io.vertx.core.impl.VertxThread);
descriptor: (Lio/vertx/core/impl/VertxThread;)V
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic io.vertx.core.impl.VertxThreadFactory.weakMap:Ljava/util/Map;
aload 0
getstatic io.vertx.core.impl.VertxThreadFactory.FOO:Ljava/lang/Object;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 thread Lio/vertx/core/impl/VertxThread;
MethodParameters:
Name Flags
thread
void <init>(java.lang.String, io.vertx.core.impl.BlockedThreadChecker, boolean, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/lang/String;Lio/vertx/core/impl/BlockedThreadChecker;ZJLjava/util/concurrent/TimeUnit;)V
flags: (0x0000)
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield io.vertx.core.impl.VertxThreadFactory.threadCount:Ljava/util/concurrent/atomic/AtomicInteger;
2: aload 0
aload 1
putfield io.vertx.core.impl.VertxThreadFactory.prefix:Ljava/lang/String;
3: aload 0
aload 2
putfield io.vertx.core.impl.VertxThreadFactory.checker:Lio/vertx/core/impl/BlockedThreadChecker;
4: aload 0
iload 3
putfield io.vertx.core.impl.VertxThreadFactory.worker:Z
5: aload 0
lload 4
putfield io.vertx.core.impl.VertxThreadFactory.maxExecTime:J
6: aload 0
aload 6
putfield io.vertx.core.impl.VertxThreadFactory.maxExecTimeUnit:Ljava/util/concurrent/TimeUnit;
7: return
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/impl/VertxThreadFactory;
0 8 1 prefix Ljava/lang/String;
0 8 2 checker Lio/vertx/core/impl/BlockedThreadChecker;
0 8 3 worker Z
0 8 4 maxExecTime J
0 8 6 maxExecTimeUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
prefix
checker
worker
maxExecTime
maxExecTimeUnit
public static synchronized void unsetContext(io.vertx.core.impl.ContextImpl);
descriptor: (Lio/vertx/core/impl/ContextImpl;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic io.vertx.core.impl.VertxThreadFactory.weakMap:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: io.vertx.core.impl.ContextImpl top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.impl.VertxThread
astore 1
start local 1 2: aload 1
invokevirtual io.vertx.core.impl.VertxThread.getContext:()Lio/vertx/core/impl/ContextImpl;
aload 0
if_acmpne 4
3: aload 1
aconst_null
invokevirtual io.vertx.core.impl.VertxThread.setContext:(Lio/vertx/core/impl/ContextImpl;)V
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 ctx Lio/vertx/core/impl/ContextImpl;
2 4 1 thread Lio/vertx/core/impl/VertxThread;
MethodParameters:
Name Flags
ctx
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 io.vertx.core.impl.VertxThread
dup
aload 1
new java.lang.StringBuilder
dup
aload 0
getfield io.vertx.core.impl.VertxThreadFactory.prefix: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 io.vertx.core.impl.VertxThreadFactory.threadCount: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;
aload 0
getfield io.vertx.core.impl.VertxThreadFactory.worker:Z
aload 0
getfield io.vertx.core.impl.VertxThreadFactory.maxExecTime:J
aload 0
getfield io.vertx.core.impl.VertxThreadFactory.maxExecTimeUnit:Ljava/util/concurrent/TimeUnit;
invokespecial io.vertx.core.impl.VertxThread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;ZJLjava/util/concurrent/TimeUnit;)V
astore 2
start local 2 1: aload 0
getfield io.vertx.core.impl.VertxThreadFactory.checker:Lio/vertx/core/impl/BlockedThreadChecker;
ifnull 3
2: aload 0
getfield io.vertx.core.impl.VertxThreadFactory.checker:Lio/vertx/core/impl/BlockedThreadChecker;
aload 2
aload 2
invokevirtual io.vertx.core.impl.BlockedThreadChecker.registerThread:(Ljava/lang/Thread;Lio/vertx/core/impl/BlockedThreadChecker$Task;)V
3: StackMap locals: io.vertx.core.impl.VertxThread
StackMap stack:
aload 2
invokestatic io.vertx.core.impl.VertxThreadFactory.addToMap:(Lio/vertx/core/impl/VertxThread;)V
4: aload 2
iconst_0
invokevirtual io.vertx.core.impl.VertxThread.setDaemon:(Z)V
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/impl/VertxThreadFactory;
0 6 1 runnable Ljava/lang/Runnable;
1 6 2 t Lio/vertx/core/impl/VertxThread;
MethodParameters:
Name Flags
runnable
}
SourceFile: "VertxThreadFactory.java"
InnerClasses:
public abstract Task = io.vertx.core.impl.BlockedThreadChecker$Task of io.vertx.core.impl.BlockedThreadChecker