ThreadSafe
Source code analysis tool

ThreadSafe is a source code analysis tool that identifies application risks and security vulnerabilities associated with concurrency in Java code bases, using whole-program interprocedural analysis. ThreadSafe is used to identify and avoid software failures in concurrent applications running in complex environments.
01Features
ThreadSafe detects Java concurrency defects:
- Race conditions, which lead to incorrect or unpredictable behaviour that is difficult to reproduce in a debugger.
- Deadlocks, caused by circular waits between threads waiting for shared resources.
- Unpredictable results, caused by incorrect handling of concurrent collections, bad error handling, or mixed object synchronization.
- Performance bottlenecks, caused by incorrect API usage, redundant synchronization, and unnecessary use of shared mutable state.
ThreadSafe is integrated with the Eclipse software development environment and with the SonarQube software quality management platform. Contextual information is provided within the development environment to assist the developer with the investigation and resolution of concurrency issues, directly in the code. A command-line version is available for users of IDEs other than Eclipse and for build process integration.
02Checking adherence to standards
ThreadSafe detects violations of the concurrency-related rules in the CERT Oracle Secure Coding Standard for Java.
Sources and credits
This article is adapted from the Wikipedia article “ThreadSafe”, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.
Images, from Wikimedia Commons:
- ThreadSafe for Eclipse screenshot.png by Dsannella, CC BY-SA 3.0
Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.