I have a B4J console app that accepts TCP connections. They are raw socket connections not HTTP. There is a class that handles the connection so each time a new connection is request a new instance of the class is created and it handles the connection. Everything is working fine.
I am monitoring the app using VisulaVM 1.3.9 and have noticed the following:
1. When a new connection is established 3 thread seem to be created. In img below its Thread 4,5,6
Notice Thread 6 is a sleeping Thread
2. when I close the connection I see the following: thread 4,5 are terminated but thread 6 is still sleeping
My question is what will happen Thread 6 ? Is this a memory leak ? Should I be concerned ?
Regards
John
I am monitoring the app using VisulaVM 1.3.9 and have noticed the following:
1. When a new connection is established 3 thread seem to be created. In img below its Thread 4,5,6
Notice Thread 6 is a sleeping Thread
2. when I close the connection I see the following: thread 4,5 are terminated but thread 6 is still sleeping
My question is what will happen Thread 6 ? Is this a memory leak ? Should I be concerned ?
Regards
John