【24h】

Choosing Among Alternative Futures

机译:在另类期货中选择

获取原文
获取原文并翻译 | 示例

摘要

Non-determinism is a serious impediment to testing and debugging concurrent programs. Such programs do not execute the same way each time they are run, which can hide the presence of errors. Existing techniques use a variety of mechanisms that attempt to increase the probability of uncovering error conditions by altering the execution sequence of a concurrent program, but do not test for specific errors. This paper presents some preliminary work in determinis-tically executing a multithreaded program using a combination of an intermediate compiler form that identifies the set of writes of a shared variable by other threads are visible at a given read of that variable and aspect-oriented programming to control program execution. Specifically, the aspects allow a read of a shared variable to return any of the reaching definitions, where the desired definition can be selected before the program is run. As a result, we can deterministically run test cases. This work is preliminary and many issues have yet to be resolved, but we believe this idea shows some promise.
机译:非确定性是测试和调试并发程序的严重障碍。此类程序每次运行时执行的方式都不相同,这可能会掩盖错误的存在。现有技术使用各种机制,这些机制试图通过改变并发程序的执行顺序来增加发现错误条件的可能性,但是并未测试特定的错误。本文介绍了使用中间编译器形式的组合最终确定执行多线程程序的一些初步工作,该形式可识别在给定的变量读取后可见的其他线程对共享变量的写操作集,以及面向方面的编程。控制程序执行。具体而言,这些方面允许读取共享变量以返回任何到达的定义,其中可以在运行程序之前选择所需的定义。结果,我们可以确定地运行测试用例。这项工作是初步的,许多问题尚待解决,但是我们相信这个想法显示出一定的希望。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号