i had create the Billing interface which having tcp/ip protocol as well as http so for tcp/ip protocol i created the multi-threading and i m killing thread safely after requierments over but due to this thing i think cpu utilization is much more greater please anyone guide me on this. what are the reason for high cpu usage ? thanks in advance and how to resolve ? i m newbee!
Share
If you want to investigate high CPU usage I suggest you use a CPU profiler. There is a free one in VisualVM. When it comes to understanding your application’s usage you have to measure it, otherwise you are just guessing.