Java Virtual Machine Profiler Interface

 

The Tivoli Performance Viewer leverages a Java Virtual Machine Profiler Interface (JVMPI) to enable more comprehensive performance analysis. This profiling tool enables the collection of information, such as data about garbage collection.

JVMPI is a two-way function call interface between the JVM API and an in-process profiler agent. The JVM API notifies the profiler agent of various events, such as heap allocations and thread starts. The profiler agent can activate or deactivate specific event notifications, based on the needs of the profiler.

JVMPI supports partial profiling by enabling the user to choose which types of profiling information to collect and to select certain subsets of the time during which the JVM API is active. JVMPI moderately increases the performance impact.

 

Enable JVMPI data reporting

To enable Java Virtual Machine Profiler Interface (JVMPI) data reporting for each individual appserver...

    Go to...

    Administrative console | Servers | Application Servers | appserver | Process Definition | Java Virtual Machine
    ...and type -XrunpmiJvmpiProfiler in the Generic JVM arguments field.

  1. Click Apply and Save.

  2. Go to...

    Administrative console | Servers | Application Servers | appserver | Configuration tab | Performance Monitoring Service

  3. Select the checkbox Startup.

  4. Set initial specification level to Custom and jvmRuntimeModule=X

  5. Click Apply and Save.

  6. Restart the appserver if it is currently running.

  7. Refresh the Tivoli Performance Viewer if you are using it. The changes you make will not take affect until you restart the appserver.