Data Race Detection of Software Distributed Shared Memory System

Shared-Memory parallel program is difficult to debug because of data races. This paper describes a implementation of lockset-based dynamic data race detection algorithm with assemble code instrumentation technique. Our implementation is targeted on a software distributed shared memory(DSM) system called JIAJIA which supports Scope Consistency. we presents an experimental evaluation of Lockset-based technique by looking for data races in six common shared-memory programs. In TSP and Barnes program, some data races have been correctly found. we have correct the bug of Barnes program. The experience shows that our implementation is easy to use and practical.