YourKit Java Profiler provides a way to profile J2EE applications in high-level terms like SQL statements and URLs.
This feature is available in Java 5 and newer only.
To get profiling results, make sure J2EE Profiling is enabled before starting CPU profiling:
After a CPU snapshot is captured, J2EE profiling results are available in the "J2EE Statistics" view:
The view consists of the following sections:
-
SQL
Shows a list of SQL statements and back traces for all methods invoked with these statements
-
JSPs and Servlets
Shows list a of URLs that correspond to JSP and Servlet calls, and merged callees for all methods invoked with these URLs
-
JNDI
Shows list of URLs that correspond to JNDI calls, and back traces for all methods invoked with these URLs
For each J2EE call CPU time and invocation count are reported.
J2EE profiling requires bytecode instrumentation and adds some additional overhead to the profiled application. For detailed information, see Profiling overhead: how to reduce or avoid
Lines can be copied to clipboard by using File | Copy to Clipboard (Ctrl + C):
