Invention Grant
- Patent Title: Methods and systems to identify and reproduce concurrency violations in multi-threaded programs using expressions
-
Application No.: US14836103Application Date: 2015-08-26
-
Publication No.: US10387296B2Publication Date: 2019-08-20
- Inventor: Youfeng Wu , Justin Gottschlich , Gilles Pokam , Shiliang Hu , Ali-Reza Adl-Tabatabai , Cristiano Pereira
- Applicant: Intel Corporation
- Applicant Address: US CA Santa Clara
- Assignee: Intel corporation
- Current Assignee: Intel corporation
- Current Assignee Address: US CA Santa Clara
- Agency: Hanley, Flight & Zimmerman, LLC
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F11/00 ; G06F9/46 ; G06F11/36 ; G06F8/70 ; G06F8/41 ; G06F9/448

Abstract:
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.
Public/Granted literature
Information query