ThreadSafe
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.
Features
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.
Checking adherence to standards
ThreadSafe detects violations of the concurrency-related rules in theCERT Oracle Secure Coding Standard for Java.