On 10/17/2013 05:26 AM, Bela Ban wrote:
The other thing to look at is the apparent cost of Thread.setName():
if
we cannot avoid thread many creations, we could experiment with *not*
naming threads, although this is IMO not a good idea.
I agree that not naming the threads is a bad idea.
The thread names are vital for debugging -- both in log messages and in
thread dumps.
Not naming the threads would lose a whole lot of information.
-Dennis