Digital Repository at the University of Maryland
AUTOMATIC CRITICAL SECTION DISCOVERY USING MEMORY USAGE PATTERNS.
Abstract
dc:description.abstractParallel programming introduces new types of bugs that are notoriously difficult to find. As a result researchers have put a significant amount of effort into creating tools and techniques to discover parallel bugs. One of these bugs is the violation of the assumption of <bold>atomicity</bold>-- the assumption that a region of code, called a <bold>critical section</bold>, executes without interruption from an outside operation. In this thesis, we introduce a new heuristic to infer critical sections using the temporal and spatial locality of critical sections and provide empirical results showing that the heuristic can infer critical sections in shared memory programs. Real critical sections in benchmark programs are completely covered by inferred critical sections up to 75% to 80% of the time. A programmer can use the reported critical sections to inform his addition of locks into the program.
Degree
thesis:*- Department dc:contributor.department
- Electrical Engineering
- Grantor dc:publisher
- Digital Repository at the University of Maryland
- Year dc:date.issued
- 2012
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Stechschulte, Lisa Marie
- Advisor dc:contributor.advisor
-
- Yeung, Donald
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- http://hdl.handle.net/1903/12820