class jdk.internal.logger.BootstrapLogger$BootstrapExecutors implements java.util.concurrent.ThreadFactory
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.logger.BootstrapLogger$BootstrapExecutors
super_class: java.lang.Object
{
static final long KEEP_EXECUTOR_ALIVE_SECONDS;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 30
private static volatile java.lang.ref.WeakReference<java.util.concurrent.ExecutorService> executorRef;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
Signature: Ljava/lang/ref/WeakReference<Ljava/util/concurrent/ExecutorService;>;
static jdk.internal.logger.BootstrapLogger$LogEvent head;
descriptor: Ljdk/internal/logger/BootstrapLogger$LogEvent;
flags: (0x0008) ACC_STATIC
static jdk.internal.logger.BootstrapLogger$LogEvent tail;
descriptor: Ljdk/internal/logger/BootstrapLogger$LogEvent;
flags: (0x0008) ACC_STATIC
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/logger/BootstrapLogger$BootstrapExecutors;
private static java.util.concurrent.ExecutorService getExecutor();
descriptor: ()Ljava/util/concurrent/ExecutorService;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=10, locals=3, args_size=0
0: getstatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.executorRef:Ljava/lang/ref/WeakReference;
astore 0
start local 0 1: aload 0
ifnonnull 2
aconst_null
goto 3
StackMap locals: java.lang.ref.WeakReference
StackMap stack:
2: aload 0
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast java.util.concurrent.ExecutorService
StackMap locals:
StackMap stack: java.util.concurrent.ExecutorService
3: astore 1
start local 1 4: aload 1
ifnull 5
aload 1
areturn
5: StackMap locals: java.util.concurrent.ExecutorService
StackMap stack:
ldc Ljdk/internal/logger/BootstrapLogger$BootstrapExecutors;
dup
astore 2
monitorenter
6: getstatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.executorRef:Ljava/lang/ref/WeakReference;
astore 0
7: aload 0
ifnonnull 8
aconst_null
goto 9
StackMap locals: java.lang.Class
StackMap stack:
8: aload 0
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast java.util.concurrent.ExecutorService
StackMap locals:
StackMap stack: java.util.concurrent.ExecutorService
9: astore 1
10: aload 1
ifnonnull 15
11: new java.util.concurrent.ThreadPoolExecutor
dup
iconst_0
iconst_1
12: ldc 30
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
13: new java.util.concurrent.LinkedBlockingQueue
dup
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:()V
new jdk.internal.logger.BootstrapLogger$BootstrapExecutors
dup
invokespecial jdk.internal.logger.BootstrapLogger$BootstrapExecutors.<init>:()V
14: invokespecial java.util.concurrent.ThreadPoolExecutor.<init>:(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V
astore 1
15: StackMap locals:
StackMap stack:
new java.lang.ref.WeakReference
dup
aload 1
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putstatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.executorRef:Ljava/lang/ref/WeakReference;
16: getstatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.executorRef:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast java.util.concurrent.ExecutorService
aload 2
monitorexit
17: areturn
18: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
19: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 20 0 ref Ljava/lang/ref/WeakReference<Ljava/util/concurrent/ExecutorService;>;
4 20 1 executor Ljava/util/concurrent/ExecutorService;
Exception table:
from to target type
6 17 18 any
18 19 18 any
public java.lang.Thread newThread(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: invokestatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.getExecutor:()Ljava/util/concurrent/ExecutorService;
astore 2
start local 2 1: new jdk.internal.logger.BootstrapLogger$BootstrapExecutors$1
dup
aload 0
aload 2
aload 1
invokespecial jdk.internal.logger.BootstrapLogger$BootstrapExecutors$1.<init>:(Ljdk/internal/logger/BootstrapLogger$BootstrapExecutors;Ljava/util/concurrent/ExecutorService;Ljava/lang/Runnable;)V
2: aconst_null
iconst_1
anewarray java.security.Permission
dup
iconst_0
new java.lang.RuntimePermission
dup
ldc "enableContextClassLoaderOverride"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
aastore
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object;
checkcast java.lang.Thread
astore 3
start local 3 4: aload 3
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
5: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/logger/BootstrapLogger$BootstrapExecutors;
0 6 1 r Ljava/lang/Runnable;
1 6 2 owner Ljava/util/concurrent/ExecutorService;
4 6 3 thread Ljava/lang/Thread;
MethodParameters:
Name Flags
r
static void submit(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.getExecutor:()Ljava/util/concurrent/ExecutorService;
aload 0
invokeinterface java.util.concurrent.ExecutorService.execute:(Ljava/lang/Runnable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 r Ljava/lang/Runnable;
MethodParameters:
Name Flags
r
static void join(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.getExecutor:()Ljava/util/concurrent/ExecutorService;
aload 0
invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
pop
1: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
2: astore 1
start local 1 3: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 r Ljava/lang/Runnable;
3 4 1 ex Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.InterruptedException
0 1 2 Class java.util.concurrent.ExecutionException
MethodParameters:
Name Flags
r
static void awaitPendingTasks();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=0
0: getstatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.executorRef:Ljava/lang/ref/WeakReference;
astore 0
start local 0 1: aload 0
ifnonnull 2
aconst_null
goto 3
StackMap locals: java.lang.ref.WeakReference
StackMap stack:
2: aload 0
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast java.util.concurrent.ExecutorService
StackMap locals:
StackMap stack: java.util.concurrent.ExecutorService
3: astore 1
start local 1 4: aload 0
ifnonnull 14
5: ldc Ljdk/internal/logger/BootstrapLogger$BootstrapExecutors;
dup
astore 2
monitorenter
6: getstatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.executorRef:Ljava/lang/ref/WeakReference;
astore 0
7: aload 0
ifnonnull 8
aconst_null
goto 9
StackMap locals: java.util.concurrent.ExecutorService java.lang.Class
StackMap stack:
8: aload 0
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast java.util.concurrent.ExecutorService
StackMap locals:
StackMap stack: java.util.concurrent.ExecutorService
9: astore 1
10: aload 2
monitorexit
11: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: aload 2
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
aload 1
ifnull 16
15: invokedynamic run()Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
jdk/internal/logger/BootstrapLogger$BootstrapExecutors.lambda$0()V (6)
()V
invokestatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.join:(Ljava/lang/Runnable;)V
16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 17 0 ref Ljava/lang/ref/WeakReference<Ljava/util/concurrent/ExecutorService;>;
4 17 1 executor Ljava/util/concurrent/ExecutorService;
Exception table:
from to target type
6 11 12 any
12 13 12 any
static boolean isAlive();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=0
0: getstatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.executorRef:Ljava/lang/ref/WeakReference;
astore 0
start local 0 1: aload 0
ifnonnull 2
aconst_null
goto 3
StackMap locals: java.lang.ref.WeakReference
StackMap stack:
2: aload 0
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast java.util.concurrent.ExecutorService
StackMap locals:
StackMap stack: java.util.concurrent.ExecutorService
3: astore 1
start local 1 4: aload 1
ifnull 5
iconst_1
ireturn
5: StackMap locals: java.util.concurrent.ExecutorService
StackMap stack:
ldc Ljdk/internal/logger/BootstrapLogger$BootstrapExecutors;
dup
astore 2
monitorenter
6: getstatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.executorRef:Ljava/lang/ref/WeakReference;
astore 0
7: aload 0
ifnonnull 8
aconst_null
goto 9
StackMap locals: java.lang.Class
StackMap stack:
8: aload 0
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast java.util.concurrent.ExecutorService
StackMap locals:
StackMap stack: java.util.concurrent.ExecutorService
9: astore 1
10: aload 1
ifnull 11
iconst_1
goto 12
StackMap locals:
StackMap stack:
11: iconst_0
StackMap locals:
StackMap stack: int
12: aload 2
monitorexit
13: ireturn
14: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
15: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 16 0 ref Ljava/lang/ref/WeakReference<Ljava/util/concurrent/ExecutorService;>;
4 16 1 executor Ljava/util/concurrent/ExecutorService;
Exception table:
from to target type
6 13 14 any
14 15 14 any
static void enqueue(jdk.internal.logger.BootstrapLogger$LogEvent);
descriptor: (Ljdk/internal/logger/BootstrapLogger$LogEvent;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.logger.BootstrapLogger$LogEvent.next:Ljdk/internal/logger/BootstrapLogger$LogEvent;
ifnull 1
return
1: StackMap locals:
StackMap stack:
ldc Ljdk/internal/logger/BootstrapLogger$BootstrapExecutors;
dup
astore 1
monitorenter
2: aload 0
getfield jdk.internal.logger.BootstrapLogger$LogEvent.next:Ljdk/internal/logger/BootstrapLogger$LogEvent;
ifnull 4
aload 1
monitorexit
3: return
4: StackMap locals: java.lang.Class
StackMap stack:
aload 0
aload 0
putfield jdk.internal.logger.BootstrapLogger$LogEvent.next:Ljdk/internal/logger/BootstrapLogger$LogEvent;
5: getstatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.tail:Ljdk/internal/logger/BootstrapLogger$LogEvent;
ifnonnull 8
6: aload 0
dup
putstatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.tail:Ljdk/internal/logger/BootstrapLogger$LogEvent;
putstatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.head:Ljdk/internal/logger/BootstrapLogger$LogEvent;
7: goto 10
8: StackMap locals:
StackMap stack:
getstatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.tail:Ljdk/internal/logger/BootstrapLogger$LogEvent;
aload 0
putfield jdk.internal.logger.BootstrapLogger$LogEvent.next:Ljdk/internal/logger/BootstrapLogger$LogEvent;
9: aload 0
putstatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.tail:Ljdk/internal/logger/BootstrapLogger$LogEvent;
10: StackMap locals:
StackMap stack:
aload 1
monitorexit
11: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: aload 1
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 event Ljdk/internal/logger/BootstrapLogger$LogEvent;
Exception table:
from to target type
2 3 12 any
4 11 12 any
12 13 12 any
MethodParameters:
Name Flags
event
static void flush();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=0
0: ldc Ljdk/internal/logger/BootstrapLogger$BootstrapExecutors;
dup
astore 1
monitorenter
1: getstatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.head:Ljdk/internal/logger/BootstrapLogger$LogEvent;
astore 0
start local 0 2: aconst_null
dup
putstatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.tail:Ljdk/internal/logger/BootstrapLogger$LogEvent;
putstatic jdk.internal.logger.BootstrapLogger$BootstrapExecutors.head:Ljdk/internal/logger/BootstrapLogger$LogEvent;
3: aload 1
monitorexit
4: goto 18
end local 0 StackMap locals: top java.lang.Class
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
start local 0 7: StackMap locals: jdk.internal.logger.BootstrapLogger$LogEvent
StackMap stack:
aload 0
invokestatic jdk.internal.logger.BootstrapLogger$LogEvent.log:(Ljdk/internal/logger/BootstrapLogger$LogEvent;)V
8: ldc Ljdk/internal/logger/BootstrapLogger$BootstrapExecutors;
dup
astore 1
monitorenter
9: aload 0
astore 2
start local 2 10: aload 0
getfield jdk.internal.logger.BootstrapLogger$LogEvent.next:Ljdk/internal/logger/BootstrapLogger$LogEvent;
aload 0
if_acmpne 11
aconst_null
goto 12
StackMap locals: java.lang.Class jdk.internal.logger.BootstrapLogger$LogEvent
StackMap stack:
11: aload 0
getfield jdk.internal.logger.BootstrapLogger$LogEvent.next:Ljdk/internal/logger/BootstrapLogger$LogEvent;
StackMap locals:
StackMap stack: jdk.internal.logger.BootstrapLogger$LogEvent
12: astore 0
13: aload 2
aconst_null
putfield jdk.internal.logger.BootstrapLogger$LogEvent.next:Ljdk/internal/logger/BootstrapLogger$LogEvent;
end local 2 14: aload 1
monitorexit
15: goto 18
StackMap locals: jdk.internal.logger.BootstrapLogger$LogEvent java.lang.Class
StackMap stack: java.lang.Throwable
16: aload 1
monitorexit
17: athrow
18: StackMap locals:
StackMap stack:
aload 0
ifnonnull 7
19: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
2 5 0 event Ljdk/internal/logger/BootstrapLogger$LogEvent;
7 20 0 event Ljdk/internal/logger/BootstrapLogger$LogEvent;
10 14 2 prev Ljdk/internal/logger/BootstrapLogger$LogEvent;
Exception table:
from to target type
1 4 5 any
5 6 5 any
9 15 16 any
16 17 16 any
private static void lambda$0();
descriptor: ()V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=0, args_size=0
0: return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "BootstrapLogger.java"
NestHost: jdk.internal.logger.BootstrapLogger
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private BootstrapExecutors = jdk.internal.logger.BootstrapLogger$BootstrapExecutors of jdk.internal.logger.BootstrapLogger
jdk.internal.logger.BootstrapLogger$BootstrapExecutors$1
private BootstrapMessageLoggerTask = jdk.internal.logger.BootstrapLogger$BootstrapExecutors$BootstrapMessageLoggerTask of jdk.internal.logger.BootstrapLogger$BootstrapExecutors
final LogEvent = jdk.internal.logger.BootstrapLogger$LogEvent of jdk.internal.logger.BootstrapLogger