CheckThread is a free and open source static analysis tool for catching Java concurrency bugs at compile time.
CheckThread is distributed and double licensed under the MIT and Apache 2 licenses.
Here are some key features of "CheckThread":
Java Threading is Difficult:
· Threading bugs are often sporadic
· Threading bugs may not reproduce on the Java developer`s platform
· Many Java library API`s do not clearly document their threading policy
CheckThread Approach:
· Use Java annotations or XML to declare thread policies for Java code
· Catch as many threading bugs as possible at compile time through static analysis
· Support Ant, Eclipse, and other IDE plugins
· Open source entire project under MIT license (BSD)
What`s New in This Release: [ read full changelog ]
· Support for declaring thread policies in XML using threadpolicy.xml
· Added basic thread policies for java.util.collections to CheckThread`s threadpolicy.xml
· Renamed "ThreadUnsafe" annotation to "NotThreadSafe"
· Fixed bug with Eclipse plugin, remove problem markers on shutdown