Show simple item record

dc.contributor.authorHe, Yuxiong
dc.contributor.authorWang, Junqing
dc.date.accessioned2003-12-13T19:42:38Z
dc.date.available2003-12-13T19:42:38Z
dc.date.issued2004-01
dc.identifier.urihttp://hdl.handle.net/1721.1/3868
dc.description.abstractDetecting 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.en
dc.description.sponsorshipSingapore-MIT Alliance (SMA)en
dc.format.extent12162 bytes
dc.format.mimetypeapplication/pdf
dc.language.isoen_US
dc.relation.ispartofseriesComputer Science (CS);
dc.subjectdata race detectionen
dc.subjectParallel Nondeterminatoren
dc.subjectshared-memory parallel programmingen
dc.subjectdebuggingen
dc.subjectNested Region Labelingen
dc.titleOn-the-fly Race Detection for Programs with Recursive Spawn-Sync Parallelismen
dc.typeArticleen


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record