class org.springframework.boot.devtools.restart.Restarter$LeakSafeThreadFactory implements java.util.concurrent.ThreadFactory
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.devtools.restart.Restarter$LeakSafeThreadFactory
super_class: java.lang.Object
{
final org.springframework.boot.devtools.restart.Restarter this$0;
descriptor: Lorg/springframework/boot/devtools/restart/Restarter;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(org.springframework.boot.devtools.restart.Restarter);
descriptor: (Lorg/springframework/boot/devtools/restart/Restarter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 // org.springframework.boot.devtools.restart.Restarter$LeakSafeThreadFactory this
0: .line 642
aload 0 /* this */
aload 1
putfield org.springframework.boot.devtools.restart.Restarter$LeakSafeThreadFactory.this$0:Lorg/springframework/boot/devtools/restart/Restarter;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.springframework.boot.devtools.restart.Restarter$LeakSafeThreadFactory this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/restart/Restarter$LeakSafeThreadFactory;
MethodParameters:
Name Flags
this$0 final
public java.lang.Thread newThread(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 // org.springframework.boot.devtools.restart.Restarter$LeakSafeThreadFactory this
start local 1 // java.lang.Runnable runnable
0: .line 646
aload 0 /* this */
getfield org.springframework.boot.devtools.restart.Restarter$LeakSafeThreadFactory.this$0:Lorg/springframework/boot/devtools/restart/Restarter;
invokevirtual org.springframework.boot.devtools.restart.Restarter.getLeakSafeThread:()Lorg/springframework/boot/devtools/restart/Restarter$LeakSafeThread;
aload 0 /* this */
aload 1 /* runnable */
invokedynamic call(Lorg/springframework/boot/devtools/restart/Restarter$LeakSafeThreadFactory;Ljava/lang/Runnable;)Ljava/util/concurrent/Callable;
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:
()Ljava/lang/Object;
org/springframework/boot/devtools/restart/Restarter$LeakSafeThreadFactory.lambda$0(Ljava/lang/Runnable;)Ljava/lang/Thread; (7)
()Ljava/lang/Thread;
invokevirtual org.springframework.boot.devtools.restart.Restarter$LeakSafeThread.callAndWait:(Ljava/util/concurrent/Callable;)Ljava/lang/Object;
checkcast java.lang.Thread
areturn
end local 1 // java.lang.Runnable runnable
end local 0 // org.springframework.boot.devtools.restart.Restarter$LeakSafeThreadFactory this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/restart/Restarter$LeakSafeThreadFactory;
0 1 1 runnable Ljava/lang/Runnable;
MethodParameters:
Name Flags
runnable
private java.lang.Thread lambda$0(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
start local 0 // org.springframework.boot.devtools.restart.Restarter$LeakSafeThreadFactory this
0: .line 647
new java.lang.Thread
dup
aload 1
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
astore 2 /* thread */
start local 2 // java.lang.Thread thread
1: .line 648
aload 2 /* thread */
aload 0 /* this */
getfield org.springframework.boot.devtools.restart.Restarter$LeakSafeThreadFactory.this$0:Lorg/springframework/boot/devtools/restart/Restarter;
getfield org.springframework.boot.devtools.restart.Restarter.applicationClassLoader:Ljava/lang/ClassLoader;
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
2: .line 649
aload 2 /* thread */
areturn
end local 2 // java.lang.Thread thread
end local 0 // org.springframework.boot.devtools.restart.Restarter$LeakSafeThreadFactory this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/devtools/restart/Restarter$LeakSafeThreadFactory;
1 3 2 thread Ljava/lang/Thread;
Exceptions:
throws java.lang.Exception
}
SourceFile: "Restarter.java"
NestHost: org.springframework.boot.devtools.restart.Restarter
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private LeakSafeThread = org.springframework.boot.devtools.restart.Restarter$LeakSafeThread of org.springframework.boot.devtools.restart.Restarter
private LeakSafeThreadFactory = org.springframework.boot.devtools.restart.Restarter$LeakSafeThreadFactory of org.springframework.boot.devtools.restart.Restarter