[infinispan-dev] The windup of 6.0.0

Dan Berindei dan.berindei at gmail.com
Thu Oct 17 10:52:40 EDT 2013


Bela, do you really need to rename the thread? You already pass a name
argument to the Thread constructor, why not create the thread with the
"correct" name directly?


On Thu, Oct 17, 2013 at 5:48 PM, Dennis Reed <dereed at redhat.com> wrote:

> 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
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20131017/0e4f2f56/attachment.html 


More information about the infinispan-dev mailing list