是否有类似于 Microsoft 的 CHESS 的现有 Java 工具? ?或者 CHESS 源代码是否公开,以便我可以尝试将其转换为 Java?
最佳答案
谷歌的 Thread Weaver为 Java 提供了某种类似的功能。来自 Thread Weaver 项目页面:
Thread Weaver is a framework for writing multi-threaded unit tests in Java.
It provides mechanisms for creating breakpoints within your code, and for halting execution of a thread when a breakpoint is reached. Other threads can then run while the first thread is blocked. This allows you to write repeatable tests that can check for race conditions and thread safety.
关于java - Java 有类似微软的 CHESS 的工具吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1634378/