Hi all,
This may sound like a silly question for a somewhat experienced programmer to be asking but I need some pointers/help with diagnosing excess CPU usage by my application.
What Im looking for are some introductory articles/tips that explain what are the common reasons for high CPU usage in a Java application. We have a number of calls to a database plus calls to a number of third party libraries so its possible the problem could lie in any of these.
Im ashamed to say but I dont fully understand what are the factors which lead to overuse of the CPU. I understand that a large number of uninterupted instructions could contribute to this but Im somewhat vague on other issues such as the effects of IO and memory allocation issues.
All feedback appreciated.
John
This may sound like a silly question for a somewhat experienced programmer to be asking but I need some pointers/help with diagnosing excess CPU usage by my application.
What Im looking for are some introductory articles/tips that explain what are the common reasons for high CPU usage in a Java application. We have a number of calls to a database plus calls to a number of third party libraries so its possible the problem could lie in any of these.
Im ashamed to say but I dont fully understand what are the factors which lead to overuse of the CPU. I understand that a large number of uninterupted instructions could contribute to this but Im somewhat vague on other issues such as the effects of IO and memory allocation issues.
All feedback appreciated.
John