发明名称 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.
申请公布号 US7926035(B2) 申请公布日期 2011.04.12
申请号 US20070739427 申请日期 2007.04.24
申请人 MICROSOFT CORPORATION 发明人 MUSUVATHI MADANLAL S.;QADEER SHAZ
分类号 G06F9/44;G06F9/445 主分类号 G06F9/44
代理机构 代理人
主权项
地址