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.- Click Apply and Save.
- Go to...
Administrative console | Servers | Application Servers | appserver | Configuration tab | Performance Monitoring Service- Select the checkbox Startup.
- Set initial specification level to Custom and jvmRuntimeModule=X
- Click Apply and Save.
- Restart the appserver if it is currently running.
- Refresh the Tivoli Performance Viewer if you are using it. The changes you make will not take affect until you restart the appserver.