Xiaobin Lu said the following on 08/11/10 08:07:
Thanks for your reply. For a lot of enterprise applications (such as the
one I work for), a fair amount of time goes to that Thread.setName call
which I believe a significant portion is to do new char allocation and
copy char array etc. So I thin
Hi David,
Thanks for your reply. For a lot of enterprise applications (such as the one
I work for), a fair amount of time goes to that Thread.setName call which I
believe a significant portion is to do new char allocation and copy char
array etc. So I think we should give a second thought about ho
Hi Xiaobin,
Xiaobin Lu said the following on 08/11/10 07:42:
Would anyone please let me know why we convert the incoming argument of
Thread.setName() to a char array? Why can't we just store the incoming
argument to the name since String is immutable anyways?
I know I've wondered the same thi