IBM®
Skip to main content
    United States change      Terms of use
 
 
Select a scope:    
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  Research topics  >  Visualization  >  

JinsightLive for IBM System z

A tool that provides a dynamic, lightweight Java profiler and visualizer for Linux on System z and z/OS.


Date Posted: February 5, 2008
Overview Requirements DownloadFAQsForum Reviews

1. How do I deal with large traces?
2. What if test_jinsight_trace fails with "Invalid class name" or "No such file"?
3. What does a visualizer exception such as "Corrupted Trace" mean?
4. Why can't I see anything after I hit the Workspace Window's "Load" button?
5. The visualizer appears to pause for several seconds after "Start One Burst."
6. Tracing message "Timetest not on classpath" appears on "stderr" during tracing initialization.
7. The following message appears on the visualizer console: "Didn't find expected Jinsight trace header: java.lang.RuntimeException: Invalid version in Header: 7(or 8)".
8. Tracing initialization pauses before "JinsightLive status" appears on "stderr".
9. The visualizer displays the message "Warning: memory is getting limited. No longer recording sequence of methods."
10. What are the command keys for the execution view?
11. Who can I contact for support?


1. How do I deal with large traces?

Read this page about creating traces.
Back to top Back to top

2. What if test_jinsight_trace fails with "Invalid class name" or "No such file"?

It could be you haven't specified the right class name. Another possibility is that your complete CLASSPATH string contains spaces. For example, it might have the string Program Files... in it. If it does, test_jinsight_trace will treat the remainder of your CLASSPATH string as the program name you are trying to trace, and it will fail.
Back to top Back to top

3. What does a visualizer exception such as "Corrupted Trace" mean?

The trace is probably incomplete because the application or the tracing activity did not end normally. The visualizer is unable to read the final incomplete event(s). This problem affects only the end of the trace; the trace up to that point can still be viewed.

This problem will likely be accompanied by the Workspace Window failing to show the total number of events. A properly completed trace normally records the total number of events. The Workspace Window uses this information to show progress as it loads the trace:

27% of 10855 events read

If the number of events is not available because, for example, tracing ended abruptly, the Workspace Window shows only the number of events read so far:

2000 events read

In order to ensure a complete trace, terminate your trace by, for example, Stop Burst.

Back to top Back to top

4. Why can't I see anything after I hit the Workspace Window's "Load" button?

No views are visible initially. You must open each view by choosing it in the Workspace Window's Views menu (for example, choose Views > Execution for the Execution view).
Back to top Back to top

5. The visualizer appears to pause for several seconds after "Start One Burst."

This is OK. It may appear that the burst command is not working. But the additional delay should be due merely to buffering of the trace data before transmission to the visualizer.
Back to top Back to top

6. Tracing message "Timetest not on classpath" appears on "stderr" during tracing initialization.

We have refined the overhead compensation calculations in JinsightLive tracing to account more accurately for overhead time due to JVM (Java™ Virtual Machine) tracing. As part of these improved calculations, the JinsightLive Timetest.class (inside file jinsightServer.jar) is used at tracing start-up to do some timing calibrations. The message indicates that the JinsightLive profiling agent could not find Timetest.class, so timings reported will be less accurate. You should fix this by placing JINSIGHT_HOME/jinsightServer.jar on the class path.

Please refer to the installation guide for instructions on updating the JVM's classpath. A restart of the JVM is required in order to pick up changes to the class path setting.

Back to top Back to top

7. The following message appears on the visualizer console: "Didn't find expected Jinsight trace header: java.lang.RuntimeException: Invalid version in Header: 7(or 8)".

You're probably not using a visualizer with the same build number as the tracing profiling agent. Check the visualizer build number by clicking on Help > About, and check the tracing profiling agent build number that appears on stderr when you start running the program to be traced. The visualizer should be able to read any traces produced by any earlier build of any version of Jinsight, but it is best to use a pair matched by build date.
Back to top Back to top

8. Tracing initialization pauses before "JinsightLive status" appears on "stderr".

This is OK. The pause is probably due to the overhead compensation calculations that the profiling agent is performing during initialization. These calculations will account more accurately for overhead time due to JVM tracing.
Back to top Back to top

9. The visualizer displays the message "Warning: memory is getting limited. No longer recording sequence of methods."

The visualizer is running out of memory. You can use two settings on the Java invocation of the visualizer in order to affect the amount of memory. For example:
  • -Xmx205M
  • -DJINSIGHT_MAXHEAP=300M
The JINSIGHT_MAXHEAP setting alerts the visualizer to put out error messages such as the one above because memory gets tight while reading a large amount of trace data. See the example in the command file named jinsightLive.bat. In that command file, you can adjust the environment variable JINSIGHT_HEAP to be about 80% of your actual memory on the machine running the visualizer.
Back to top Back to top

10. What are the command keys for the execution view?

There are several keys that control the execution view. They include the following:
  • The up, down, left, and right arrow keys move the view of the view up, down, left, and right in the frame, as would be expected.
  • The comma "," and period "." keys compress and expand the time index, respectively.
  • The plus "+" and minus "-" keys zoom in and zoom out on the view, respectively.
  • CTL + first mouse button allows you to drag the current execution view across the screen.
  • Dragging the mouse over a rectangular area lets you zoom in on the view and fills the screen with this area.
  • The HOME key will reset the view as originally displayed. The same effect is achieved with the menu entry Zoom > Home.
Back to top Back to top

11. Who can I contact for support?

Please email Louis Wilen for support.


Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.
Other company, product, or service names may be trademarks or service marks of others.

Back to top Back to top
View screenshots:
Execution of a Java System.out.println() invocation

Download now Download now
View demo View demo

Related technologies

For platform(s):
Multi-Platform

For topics:
analysis, debugging, Java technology, linux, performance, trace, visualization


 

    About IBM Privacy Contact