ACM SIGPLAN Notices · 2011 · 50 citations · 22 references
ComputingComputer EngineeringComputer ScienceData StructuresParallel AlgorithmsParallel ComputingConcurrency AnalysisConcurrent ProgrammingData-flow AnalysisParallel Data StructuresParallel Programming ModelsConflict DetectionLocking
Speculative execution is a promising approach for exploiting parallelism in many programs, but it requires efficient schemes for detecting conflicts between concurrently executing threads. Prior work has argued that checking semantic commutativity of method invocations is the right way to detect conflicts for complex data structures such as kd-trees. Several ad hoc ways of checking commutativity have been proposed in the literature, but there is no systematic approach for producing implementations. In this paper, we describe a novel framework for reasoning about commutativity conditions: the commutativity lattice. We show how commutativity specifications from this lattice can be systematically implemented in one of three different schemes: abstract locking, forward gatekeeping and general gatekeeping. We also discuss a disciplined approach to exploiting the lattice to find different implementations that trade off precision in conflict detection for performance. Finally, we show that our novel conflict detection schemes are practical and can deliver speedup on three real-world applications.
22
Maurice Herlihy, J. Eliot B. Moss · 1993 · 2.2K citations
The notions of consistency and predicate locks in a database system
Kapali P. Eswaran, Jim Gray, Raymond A. Lorie et al. · Communications of the ACM · 1976 · 2K citations · Full text
A new approach to the maximum-flow problem
Andrew V. Goldberg, Robert E. Tarjan · Journal of the ACM · 1988 · 1.9K citations · Full text
Language support for lightweight transactions
Tim Harris, Keir Fraser · ACM SIGPLAN Notices · 2014 · 638 citations