首页> 外国专利> TESTING MULTI-THREAD SOFTWARE USING PRIORITIZED CONTEXT SWITCH LIMITS

TESTING MULTI-THREAD SOFTWARE USING PRIORITIZED CONTEXT SWITCH LIMITS

机译:使用优先的上下文切换限制测试多线程软件

摘要

Testing multithreaded application programs for errors can be carried out in an efficient and productive manner at least in part by prioritizing thread schedules based on numbers of context switches between threads therein. In particular, each thread schedule in a multithreaded application program can be prioritized based on whether a given thread schedule has the same as or less than some maximum value. A model checker module can then iteratively execute thread schedules that fit within a given context switch maximum value, or a progressively higher value up to some limit. In one implementation, for example, the model checker module executes all thread schedules that have zero preempting context switches, then all thread schedules that have only one preempting context switch, etc. Most errors in an application program can be identified by executing only those thread schedule with relatively few preempting context switches.
机译:可以至少部分地通过基于其中的线程之间的上下文切换的数量来对线程调度进行优先级排序,从而以高效且富有成效的方式对多线程应用程序进行错误测试。特别地,可以基于给定线程调度具有等于还是小于某个最大值来对多线程应用程序中的每个线程调度进行优先级排序。然后,模型检查器模块可以迭代地执行适合于给定上下文切换最大值或逐渐达到某个限制的更高值的线程计划。例如,在一个实现中,模型检查器模块执行具有零个抢占上下文切换的所有线程调度,然后执行仅具有一个抢占上下文切换的所有线程调度,等等。可以仅通过执行那些线程来识别应用程序中的大多数错误。安排相对较少的抢占上下文切换。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号