发明名称 |
Method of system for detecting abnormal interleavings in concurrent programs |
摘要 |
A method and system for detecting abnormal interleavings in a multi-threaded program includes generating an execution log in response to execution of the multi-threaded program. Based on the execution log, a list of allowable immediate interleavings is generated if the execution of the multi-threaded program resulted in no concurrency errors and a list of suspicious immediate interleavings is generated if the execution of the multi-threaded program resulted in one or more concurrency errors. The first and second lists are compared to generate a list of error-causing immediate interleavings. A replayable core is then generated and executed based on the list of error-causing immediate interleavings. |
申请公布号 |
US8862942(B2) |
申请公布日期 |
2014.10.14 |
申请号 |
US201113498613 |
申请日期 |
2011.09.29 |
申请人 |
Intel Corporation |
发明人 |
Jalbert Nicholas A.;Pereira Cristiano L.;Pokam Gilles A. |
分类号 |
G06F11/00;G06F11/36;G06F11/14;G06F9/38 |
主分类号 |
G06F11/00 |
代理机构 |
Barnes & Thornburg, LLP |
代理人 |
Barnes & Thornburg, LLP |
主权项 |
1. A method comprising:
generating, on a computing device, an execution log in response to an execution of a multi-threaded program; generating, on the computing device, a first list of allowable immediate interleavings based on the execution log in response to the execution of the multi-threaded program resulting in no concurrency errors; generating, on the computing device, a second list of suspicious immediate interleavings based on the execution log in response to the execution of the multi-threaded program resulting in a concurrency error; and generating, on the computing device, a third list of error-causing immediate interleavings based on the first and second lists. |
地址 |
Santa Clara CA US |