Recommended profiling method for Java EE deployed in JBoss AS 5 [closed]
We开发者_StackOverflow don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this questionI'm attempting to profile a Java EE project (EJBs, Servlet, JSP) which is deployed in JBoss Application Server 5.
I would like to find the methods which use the most cpu and memory.
What are the recommended methods and tutorials?
Install JBoss Tools in Eclipse. This gives you a button to start the server in profile mode (and to deploy your app to the server).
Another option is to add -agentlib:JPIBootLoader=JPIAgent:server=standalone;CGProf
to the startup script of JBoss and attach a standard profiling tool (like TPTP) to the running instance, see Profiling J2SE 5.0 based applications using Eclipse TPTP.
精彩评论