I am optimizing my server app by using profiling in Netbeans and found some wild threads with default names (something like pool-25-thread-1) produce 40 of them when every new user login and never terminate. I am tracking the threads I started by thread pool, but those threads seems comes from third-party class and out of my control.
I have to find a way to track and find the source of those threads (which class started it) to avoid or improve those third-party codes.
Thanks.
You could attach a debugger and put a breakpoint in
Thread.start().