2

I use maven to run my web application, then I use the JProfiler to trace it. But the invocation shows n/a, what do I miss any settings ?

This is what I start server's command.

maven tomcat7:run

JProfiler Hot Spots view

thmspl
  • 2,437
  • 3
  • 22
  • 48
David0120
  • 23
  • 2

1 Answers1

1

When you use sampling as the method call recording type, the profiler has no way of knowing how many invocations there were for any method. With instrumentation, the entry and exit of method invocations are tracked and an invocation count can be shown. You can switch between sampling and instrumentation in the session startup dialog by editing the call tree recording setting.

For an in-depth explanation, see the help topic on method call recording.

Ingo Kegel
  • 46,523
  • 10
  • 71
  • 102