是否有Java的类似微软的CHESS的工具? [英] Is there a tool for Java similar to Microsoft's CHESS?

查看:107
本文介绍了是否有Java的类似微软的CHESS的工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个现有的工具,用于Java,它类似于微软的 CHESS ?或者是象棋源$ C ​​$ C打开,这样我可能会尝试将其转换成Java?

Is there an existing tool for Java that is similar to Microsoft's CHESS? Or is the CHESS source code open, so that I might try to convert it into Java?

推荐答案

谷歌的主题韦弗为Java有些类似的功能。从线程织女项目页面:

Google's Thread Weaver provides a somewhat similar capability for Java. From the Thread Weaver project page:

主题韦弗是用于编写多线程的单元测试Java中的一个框架。

Thread Weaver is a framework for writing multi-threaded unit tests in Java.

它提供了机制,创建在您的code断点,并停止执行一个线程,当达到一个断点。然后,其他线程可以运行,而第一个线程被阻塞。这使您可以编写可重复的测试,可检查竞态条件和线程安全的。

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的类似微软的CHESS的工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆