Invention Grant
US07865778B2 Method and system for detecting synchronization errors in programs
有权
方法和系统,用于检测程序中的同步错误
- Patent Title: Method and system for detecting synchronization errors in programs
- Patent Title (中): 方法和系统,用于检测程序中的同步错误
-
Application No.: US11676853Application Date: 2007-02-20
-
Publication No.: US07865778B2Publication Date: 2011-01-04
- Inventor: Evelyn Duesterwald , Yuan Zhang
- Applicant: Evelyn Duesterwald , Yuan Zhang
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Scully, Scott, Murphy & Presser, P.C.
- Agent Anne V. Dougherty, Esq.
- Main IPC: G06F11/36
- IPC: G06F11/36

Abstract:
A method and system for error detection in programs with collective synchronization and/or procedures are provided. In one aspect, the method and system may use interprocedural analysis for matching synchronizations in a program in order to detect synchronization errors, and, if no such errors exist, may determine the synchronization phases of the program. The method and system in one aspect may use a combination of path expressions and interprocedural program slicing to match the synchronization statements that may execute along each program path. If the synchronization matching succeeds, the method and system in one aspect may determine the sets of synchronization statements that synchronize together. A matching failure may indicate the presence of a synchronization error and the method and system in one aspect may construct a counter example to illustrate the error.
Public/Granted literature
- US20080201629A1 METHOD AND SYSTEM FOR DETECTING SYNCHRONIZATION ERRORS IN PROGRAMS Public/Granted day:2008-08-21
Information query