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

Multi-Thread Run-time Analysis Tool for Java

A tool that detects and analyzes potential data race and deadlock conditions that might occur in multi-threaded Java programs.


Date Posted: March 11, 2008
Overview Requirements DownloadFAQsForum Reviews

1. Is Multi-Thread Run-time Analysis Tool for Java™ for developers or for testers?
2. How do I know what classes are instrumented and what classes are not instrumented?
3. Why do the error reports vary from time to time?
4. Why does a window pop up with the message "Could not locate the JAR files for instrumentation!" when I click on the red button in order to launch the application?
5. Why do I get the error "Please run this program at least one time before in this tool"?


1. Is Multi-Thread Run-time Analysis Tool for Java™ for developers or for testers?

Both. The tool can be valuable to developers in checking the correctness of concurrent programs they write, as well as for testers in checking concurrency problems in software components or products.
Back to top Back to top

2. How do I know what classes are instrumented and what classes are not instrumented?

In command line mode, set property -Dcom.ibm.mtrat.dbg.cl=true. In the Eclipse plug-in's front-end, go to Window > Preferences > Thread Analysis and select the check box Print debug message.
Back to top Back to top

3. Why do the error reports vary from time to time?

The tool is a dynamic run-time checking tool. It will analyze the code that actually executed. If part of the code is not executed, the tool cannot analyze that part.
Back to top Back to top

4. Why does a window pop up with the message "Could not locate the JAR files for instrumentation!" when I click on the red button in order to launch the application?

Before the tool launches applications for analysis, it will check for all necessary JAR files. If it cannot find all files, it will bring up this window. Please click on Window > Preferences... > Thread Analysis and select the correct directory in the box.
Back to top Back to top

5. Why do I get the error "Please run this program at least one time before in this tool"?

When the tool launches programs, it will read the configuration of programs. Please run the program first, and then launch it by Multi-Thread Run-time Analysis Tool for Java in order to check data race and deadlock.


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:
This view shows how data race is detected and reported to users. 

Download now Download now

Related technologies

For platform(s):
Multi-Platform

For topics:
analysis, debugging, Eclipse, Java technology, testing


 

    About IBM Privacy Contact