I'm pretty sure I'm not going mad when I say that Thread objects do not seem to be garbage collected in my J2ME application when running on the WTK emulator (v 2.5.2_01).
I have a console message when my run method exits, and it is printed. At the same time I make a call back to the only object that has a reference to the thread and tell it to null its reference, which it duly does.
I then start a new thread later on in exactly the same way. Every time I start a new thread, the number of Thread objects on the WTK's memory monitor goes up by one. It never goes down. Start enough threads and eventually my app starts to slow down.
Is this a known bug in the WTK or am I actually going mad?