Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
It appears that currently there's no way to create a thread without inheriting inheritable Thread Local Storage (duh), and context class loader. This is unfortunate as jdk spawns a lot of long-lived threads (for example, all shutdown hooks are threads), and most of them created from user threads, and thus could cause leaks both by holding on to TLS and context class loader. (The latter could be addressed by resetting the CCS)
|