| Summary: | (Plat) Documentation fix for document "An introduction to profiling Java applications" | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Dave Smith <smith> |
| Component: | Hyades | Assignee: | Nellie Chau <nelliec> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | Keywords: | Documentation |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | closed460 | ||
|
Description
Dave Smith
I was able to start the workbench to be profiled with the following command on Linux: eclipse -vmargs -XrunpiAgent:server=enabled I propose to change list item 3 in section 3.5 to the following: 3. The Java Profiling Agent is invoked by specifying the JVM argument - XrunpiAgent:server=enabled on the java command to start the application to be profiled. For example: java -XrunpiAgent:server=enabled javaApp . In our case we want to profile an instance of the Eclipse workbench and we will use the eclipse program to start the workbench. Navigate to the home directory of the Eclipse workbench and run the following command to start a second workbench with the default workspace: eclipse -vmargs -XrunpiAgent:server=enabled where -vmargs is how to specify JVM arguments to the JVM used to run Eclipse -XrunpiAgent invokes the Java Profiling Agent :server=enabled Specifies the mode of the Java profiling agent. Enabled mode will allow the Java application to run normally with the Java profiling agent running in the background. If the mode is changed to controlled, then the application will be locked (i.e. not executed) until it is attached to. For more details on the -XrunpiAgent argument, type java -XrunpiAgent:help in a console window. Note: This command is case-sensitive on most platforms. The profiling agent is installed as part of the Hyades Data Collection Engine. Ensure that the bin directory of the Hyades Data Collection Engine is in the PATH environment variable on Windows systems and the lib directory is in the LD_LIBRARY_PATH environment variable on Linux systems. Fixed. As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this originator of this enhancement/defect has an inactive Bugzilla account and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open. |