首页> 外国专利> METHODS AND SYSTEMS TO IDENTIFY AND REPRODUCE CONCURRENCY VIOLATIONS IN MULTI-THREADED PROGRAMS USING EXPRESSIONS

METHODS AND SYSTEMS TO IDENTIFY AND REPRODUCE CONCURRENCY VIOLATIONS IN MULTI-THREADED PROGRAMS USING EXPRESSIONS

机译:使用表达式识别和减少多线程程序中的一致性违规的方法和系统

摘要

Methods and systems to identify threads responsible for causing a concurrency bug in a computer program having a plurality of concurrently executing threads are disclosed. An example method disclosed herein includes defining, with a processor, a data type. The data type including a first predicate, the first predicate being invoked using a first program instruction inserted in a first thread of the plurality of threads, a second predicate, the second predicate being invoked using a second program instruction inserted in a second thread of the plurality of threads, and an expression defining a relationship between the first predicate and the second predicate. The method further includes, in response to determining the relationship is satisfied during execution of the computer program, identifying the first thread and the second thread as responsible for the concurrency bug.
机译:公开了在具有多个同时执行的线程的计算机程序中识别负责引起并发错误的线程的方法和系统。本文公开的示例方法包括用处理器定义数据类型。该数据类型包括第一谓词,使用在多个线程的第一线程中插入的第一程序指令来调用第一谓词,使用第二谓词,使用在第二线程的第二线程中插入的第二程序指令来调用第二谓词。多个线程,以及定义第一谓词和第二谓词之间的关系的表达式。该方法还包括:响应于确定在计算机程序的执行期间满足关系,将第一线程和第二线程标识为引起并发性错误。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号