Java source code
Test RealTime - User Guide
Command Line Runtime Analysis for Java
The runtime analysis features for Java covered in this section include:
These features use Source Code Insertion (SCI) technology. Memory Profiling for
Java relies on JVMPI instead of SCI technology. Please refer to the JVMPI Agent
section of the Reference Manual.
The easiest way to implement SCI from the command line is to use the Java
. The product provides two methods for use of javic:
Java Instrumentation Launcher: designed to fit directly into your compilation
sequence; simply add the javic command in front of your usual compilation or
link command line
Java Instrumentation Launcher for Ant: this integrates javic with the Apache
Jakarta Ant utility
For details of command line usage and option syntax, see the Reference Manual.
To perform runtime analysis on Java source code:
First, set up the necessary environment variables. See Setting Environment
Edit your usual makefile by adding the Java Instrumentation Launcher to the
javic [-options] -- <compiler command line>
<compiler command line>
is the command that you usually invoke to build
Please refer to the Instrumentation Launcher section of the Reference Manual for
information on the options and settings.
After execution, to obtain the final test results, as well as any SCI dump
information, you need to separate the output file into separate result files. See
Splitting the SCI Dump File.
Graphical User Interface to view the test reports. See the
Graphical User Interface command line section in the Reference Manual..