> but wondered if this annotation was doing what I expected. > > @ThreadLeakLingering(linger = 60000)
Yes, it's doing what you think it's doing. But 60 seconds lingering time is *really* long. This annotation was added because in certain scenarios you don't have direct control over forked threads (as in thread pools). The threads there eventually die, but there is no way to call join() on them. The typical lingering in such scenarios is well below one second... If a thread is lingering for more than 10 seconds then I'd say the chances of it quitting are zero (and something is not right). Dawid --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
