Symbol:
This event occurs when a method is called. Several methods can be configured for the same action sequence. Besides the standard actions, there are several special actions for this trigger type.
The second step of the trigger wizard will then be the "Specify methods" step. Here you can edit the list of methods for which this trigger will be activated. There are several ways to enter new methods:
The context menu offers the option to edit existing entries in this dialog.
In addition, all views with call trees offer the possibility to select methods for a method trigger in the context menu.
Symbol:
Requirements: Java 1.4+
This event occurs when the heap usage exceeds a certain threshold in percent of the maximum heap size for a minimum period of time.
The second step of the trigger wizard will then be the "Threshold" step. Here you can configure the
Symbol:
Requirements: Java 1.5+
This event occurs when the CPU load exceeds a certain threshold in percent for a minimum period of time.
The second step of the trigger wizard will then be the "Threshold" step which is explained above for the "Heap usage threshold" trigger with the only difference that the threshold value is the CPU load in percent.
Symbol:
Requirements: Java 1.6+
This event occurs when an OutOfMemoryException is thrown. You can only save an HPROF snapshot in this case since the trigger works by adding -XX:+HeapDumpOnOutOfMemoryError to the VM options. Also, this trigger only works with a Java 6+ JVM. For 1.5.0_07+ and 1.4.2_12+, this VM option is also supported, however, it cannot be added by the profiling agent, so you have to add it manually to the VM options of the profiled application.
Symbol:
With a timer trigger, you can periodically execute a certain set of actions, such as saving a snapshot.
The second step of the trigger wizard will then be the "Timer" step where you can configure the following properties of the timer: