Customizing Application Performance Analyzer for use with J9VM
- Use a preloaded JVMTI agent. This is the recommended option.
This option loads the JVMTI agent when the target Java job is started. The agent remains alive until the Java job terminates. The agent sits in a wait state until a sampling session is requested. After the sampling session completes, the agent returns to a wait state.
- Use a dynamically loaded JVMTI agent.
This option loads the JVMTI agent at the time that a sampling session is started. The JVMTI agent is loaded using the Java Attach API. The agent runs only for the duration of the sampling session.
- Install USS files in an Application Performance Analyzer directory on your system
- Provide APF authorization for the Application Performance Analyzer USS files
- Assign USS permissions to the Application Performance Analyzer started task
- Set up Security Access Rules
- Update the started task configuration settings
- Enable Java attach API (for a dynamically loaded JVMTI agent) or Specify a preloaded JVMTI agent
Application Performance Analyzer can be configured to support either 31-bit or 64-bit Java in the started task. Regardless of how it is configured, Application Performance Analyzer can sample both 31-bit Java applications and 64-bit Java applications, with the appropriate Java PTFs installed on your system.