Animesh Sahu
12/13/2020, 1:28 PM@ThreadLocal
annotated property gets allocated for every thread everytime a new thread is created or when it is accessed for the first time?Arkadii Ivanov
01/07/2021, 5:30 PMAnimesh Sahu
01/07/2021, 5:32 PMArkadii Ivanov
01/07/2021, 5:33 PMArkadii Ivanov
01/07/2021, 5:34 PMKris Wong
01/07/2021, 5:53 PMArkadii Ivanov
01/07/2021, 5:55 PMKris Wong
01/07/2021, 6:01 PMkpgalligan
01/08/2021, 2:40 PMkpgalligan
01/08/2021, 2:42 PMWorker
at top level, that would create a thread for the worker, which would create another top level Worker
, which would create another thread, and repeat until it crashed or you shut it down. I'm 99% sure that's why all top levels are treated special (main thread only).Animesh Sahu
01/08/2021, 2:54 PM