cpu usage - Java CPU resource hog, 100% -
i have written program when starts runs 96% cpu , tips cpu 100% before crashing. need trace being done cpu whether program running though or particular method or call being worked on.
any suggestions or links?
thanks.
java visualvm should help. tool included in standard jdk. allows profile , inspect running java program. should in same directory javac executable.
here quick synopsis of command line use invoke tool.
Comments
Post a Comment