Search
Support & Downloads
All of Support
This Category
This Product
 
Software Products
Intel® VTune™ Performance Analyzer for Windows*
Java* Managed Run Time Environment Compatibility and Usage FAQs

Page Contents:

Compatibility

Usage
Compatibility

Supported Platforms and System Requirements
What Java Virtual Machines (JVMs) does the VTune™ Performance Analyzer 7.1 support? Are there any restrictions?
  • On IA-32 systems running a Microsoft* operating system:
    • BEA* WebLogic* JRockit* 8.0/8.1
    • IBM* JDK* 1.3.1
    • Sun* JDK* 1.4.1/1.4.2
    • Microsoft* JView*
  • On Itanium®-based systems running a Microsoft* operating system:
    • IBM* JDK 1.3.1
    • BEA* WebLogic* JRockit* 8.0/8.1
  • On IA-32 Linux* systems:
    • BEA* WebLogic* JRockit* 7.0SP2/8.0/8.1SP1
    • IBM* JDK* 1.3.1/1.4.0
    • Sun* JDK* 1.4.1/1.4.2
Notes: Profiling Java programs invoked via a script is not supported on IA-32 Linux systems.

It appears that IBM* JDK* 1.3.1 only works on SuSe* 9.0 with the environment variable LD_ASSUME_KERNEL set to 2.2.5 - with and without profiling. However, check with JVM vendors on which platform each JVM version is supported.

Please read the next item in this FAQ for specific issues with the versions of Linux* that introduced Native POSIX* Thread Library support.

Java* Profiling on Linux* Versions Enabled with the Native POSIX Thread Library*
How can I profile Java programs on an NPTL enabled Linux* operating system?
Java profiling using the VTune analyzer has been validated to function on Red Hat* 9 (with the latest patches available from Red Hat), Red Hat* Fedora core 1, and Red Hat* Enterprise Linux* 3.0 with the following restrictions:
  • Red Hat* 9 (with updated errata packages) and Red Hat* Fedora core 1
    • BEA*/JRockit* - Set the environment variable LD_ASSUME_KERNEL to 2.4.1.
    • IBM* JDK* - Set the environment variable LD_ASSUME_KERNEL to 2.2.5.
    • Sun* JDK* - No restrictions.
  • Red Hat* Enterprise Linux* 3.0
    • BEA*/JRockit* - Set the environment variable LD_ASSUME_KERNEL to 2.4.1.
    • IBM* JDK* - This does not seem to execute successfully ... even without profiling.
    • Sun* JDK* - No restrictions.
Note: Please check with the JVM vendor on support for specific Linux* operating systems. This section summarizes findings from profiling applications using the VTune analyzer and may not necessarily agree with recommendations made by JVM vendors for your version of Linux*.


Usage

Viewing Call Graph of Java Program Without the Native DLLs
How do I get a call graph of my Java program only, without all the native DLLs that execute under the profiled process?
Select the Java profiling option in the call graph wizard. Specify all the relevant information about your application in the various wizard steps. The last step enables you to choose between call graph with Java classes only, and a complete call graph: Java and native calls. The default is Java classes only. Select Java classes only.

Viewing Call Graph of Java Program Including the Native DLLs
How do I get a call graph of my Java program including all the native DLLs that execute under the profiled process?
Select the Java profiling option in the call graph wizard. Specify all the relevant information about your application in the various wizard steps. The last step enables you to choose between call graph with Java classes only, and a complete call graph that includes both Java and native calls. The default is Java* classes only. Select All Java* classes and all native modules to get both Java and native code call graph data. This feature is not supported when profiling on a remote Linux* system.

Viewing the Java Command Line with Configuration Information
How can I see the Java command line that the VTune™ Performance Analyzer invokes after I enter all the configuration information via the wizard?
After entering the application details in the call graph or sampling wizard, you can view the command line that the analyzer has configuration based on your information. You also have the option to edit the command line. This occurs within the wizard, prior to completing the creation of the activity.

Specifying a JAR File
How do I specify a JAR file for the Java application?
The call graph and sampling wizards enable you to specify a JAR file as the application to execute. The JAR file must contain a Main function.

Specifying a Java Package
How do I specify a Java package?
The call graph and sampling wizards enable you to specify a package name as the application to execute.

Specifying the CLASSPATH
How do I specify the CLASSPATH that is associated with my Java application?
The call graph and sampling wizards enable you to specify the CLASSPATH for your application.

Launching Outside of the VTune Analyzer
Can I profile a Java application that I launch outside of the VTune analyzer?
Yes. Please refer to the VTune analyzer online Help for more details.

Java Applet Executed Within the Internet Explorer
How can I profile a Java applet that executes within the Internet Explorer?
Currently, the VTune analyzer does not support applet profiling within the Internet Explorer. You can use the appletviewer as the launched JVM to profile applets.

Invoking Your Application Via a Script
How can I profile a Java program invoked via a script?
The call graph and sampling wizards enable you to specify a script that invokes your application. You should add the -Xrunjavaperf option on IA-32 systems and the -Xrunjavaperf64 option on Itanium* systems to the jvm command line. This feature is not supported when profiling on a remote Linux* system.

This applies to:
Intel® VTune™ Performance Analyzer for Windows*

Solution ID: CS-009675
Date Created: 25-Feb-2004
Last Modified: 19-Mar-2008
Back to Top