java.*) cannot be profiled this way
and are filtered automatically. Dynamic instrumentation is more accurate than sampling.
If sampling is enabled, the sampling frequency can be adjusted with a slider. The possible range is 1 - 20 ms. A lower sampling frequency incurs a higher CPU overhead when profiling.
Note: allocations will be reported according to the call traces recorded by the sampling procedure. This may lead to incorrect allocation spots.
java.*), but is considerably slower
than dynamic instrumentation, especially for 1.4 JVMs. Full instrumentation is not
available for 1.5 JVMs (JVMTI).
With full instrumentation you can optionally show the concrete classes on which the methods are invoked rather than the classes where the methods are implemented.
In the table below, you choose the filter sets which are active for the session being edited. These filters specify the end points for CPU profiling. In packages or classes matching one of the filter sets, further calls into other filtered classes will be collapsed into the first filtered method. Methods in filtered classes are opaque and will be labeled with a red corner in the call tree view.
Filter sets can be edited on the
"Filter sets" tab
of JProfiler's general settings
which are accessible by clicking the
[General settings] button
on the bottom of the dialog or invoking the context menu on the filter sets
table.
Click on the checkboxes in the "Apply" column to toggle filter sets. And select or deselect all filter sets at once with the buttons [Select all] and [Deselect all] or the corresponding entries in the context menu.
Enter comma separated filters for packages and classes in the text box. Only calls into matching packages and classes will be resolved for CPU profiling.
For example, if you specify
com.mycorp.,com.othercorp. as the inclusive filters,
a call into com.mycorp.MyClass.myMethod() and all calls it
makes will be measured and displayed. All calls from
com.mycorp.MyClass.myMethod() that don't belong to the
packages com.mycorp or com.othercorp are treated
as opaque and will be labeled with a red corner in the
call tree view.