IBM User Guide for Java V7 on Windows > Troubleshooting and support > Using diagnostic tools > Using the Reliability, Availability, and Serviceability Interface > Preparing to use JVMRI
Changing trace options
This example uses the TraceSet() function to change the JVM trace setting. It makes the assumption that the options string that is specified with the -Xrun option and passed to JVM_Onload() is a trace setting.
/* * If an option was supplied, assume it is a trace setting */ if (options != NULL && strlen(options) > 0) { rc = jvmri_intf->TraceSet(env, options); if (rc != JNI_OK) { fprintf(stderr, "RASplugin004 Return code %d setting trace options\n", rc); fflush(stderr); return JNI_ERR; } }To set Maximal tracing for 'j9mm', use the following command when launching the JVM and your agent:
java -Xrunjvmri:maximal=j9mm -Xtrace:external=j9mm App.classNote: Trace must be enabled before the agent can be used. To do this, specify the trace option on the command-line: -Xtrace:external=j9mm.
Parent: Preparing to use JVMRI
Error 404 - Not Found Error 404 - Not Found
The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.