DSpace Repository

On-the-fly Race Detection for Programs with Recursive Spawn-Sync Parallelism

Show simple item record

dc.creator He, Yuxiong
dc.creator Wang, Junqing
dc.date 2003-12-13T19:42:38Z
dc.date 2003-12-13T19:42:38Z
dc.date 2004-01
dc.date.accessioned 2013-10-09T02:32:53Z
dc.date.available 2013-10-09T02:32:53Z
dc.date.issued 2013-10-09
dc.identifier http://hdl.handle.net/1721.1/3868
dc.identifier.uri http://koha.mediu.edu.my:8181/xmlui/handle/1721
dc.description Detecting data race is very important for debugging shared-memory parallel programs, because data races result in unintended nondeterministic execution of the program. We propose a dynamic on-the-fly race detection mechanism called Parallel Nondeterminator to check for determinacy races during the parallel execution of a program with recursive spawn-sync parallelism. A modified version of Nested Region Labeling scheme is developed for the concurrency relationship test in the spawn-sync parallel structure. Through the identification of Least Common Ancestor in the spawn tree, the Parallel Nondeterminator only needs to keep two read access records and one write access record for each shared location. The work and critical path in the instrumented codes are analyzed as well as time complexity and space requirements. Let N denote the maximum depth of the recursion in the parallel program. The worst case time increased for each spawn and sync operation is O(N) and the time required to monitor any shared memory location is O(lgN). Moreover, Parallel Nondeterminator is able to execute the race detection code without loss of parallelism of the original program. In summary, the Parallel Non-determinator represents a provably efficient strategy for detecting data races for shared-memory parallel programs.
dc.description Singapore-MIT Alliance (SMA)
dc.format 12162 bytes
dc.format application/pdf
dc.language en_US
dc.relation Computer Science (CS);
dc.subject data race detection
dc.subject Parallel Nondeterminator
dc.subject shared-memory parallel programming
dc.subject debugging
dc.subject Nested Region Labeling
dc.title On-the-fly Race Detection for Programs with Recursive Spawn-Sync Parallelism
dc.type Article


Files in this item

Files Size Format View

There are no files associated with this item.

This item appears in the following Collection(s)

Show simple item record

Search DSpace


Advanced Search

Browse

My Account