I have a problem with daemon threads on Linux. My application on a Windows server is working fine when I dump a stream, I see if the stream is daemons or not.
But when I port my application on Tomcat to a Linux server and dump using Java Visual VM, I no longer see the daemon in the thread details.
Does this mean that daemon threads only work on Windows? And is there a workaround or do I need to close each thread when I exit the application?
source
share