发明名称 Method and system for forcing context-switch during mid-access to non-atomic variables
摘要 The invention provides an improved method for detecting concurrent bugs in multi-threaded software having at least one command to access a non-atomic variable. The non-atomic variable may have a plurality of memory words. In one approach, the method generally involves storing the memory words as atomic variables and replacing the at least one command to access the non-atomic variable with separate instructions to access each of the atomic variables. A thread-switch command is inserted between the atomic variable access commands to increase the likelihood of exposing and detecting synchronization problems.
申请公布号 US7539979(B1) 申请公布日期 2009.05.26
申请号 US20080060148 申请日期 2008.03.31
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 NIR-BUCHBINDER YARDEN
分类号 G06F9/44;G06F11/00 主分类号 G06F9/44
代理机构 代理人
主权项
地址