Skip to main navigation Skip to search Skip to main content

Speculative N-Way barriers

  • Purdue University
  • Toyota Technological Institute at Chicago

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

Speculative execution is an important technique that has historically been used to extract concurrency from sequential programs. While techniques to support speculation work well when computations perform relatively simple actions (e.g., reads and writes to known locations), understanding speculation for multi-threaded programs in which threads may communicate and synchronize through multiple shared references is significantly more challenging, and is the focus of this paper. We use as our reference point a simple higher-order concurrent language extended with an n-way barrier and a fork/join execution model. Our technique permits the expression guarded by the barrier to speculatively proceed before the barrier has been satisfied (i.e. before all threads that synchronize on that barrier have done so) and to have participating threads that would normally block on the barrier to speculatively proceed as well. Our solution formulates safety properties under which speculation is correct in a fork/join model, nd uses traces to validate these properties modularly on a per-thread and per-synchronization basis.

Original languageEnglish
Title of host publicationProceedings of the 4th ACM SIGPLAN Workshop on Declarative Aspects of Multicore Programming, DAMP'09
PublisherAssociation for Computing Machinery
Pages1-12
Number of pages12
ISBN (Print)9781605584171
DOIs
StatePublished - 2009
Event4th ACM SIGPLAN Workshop on Declarative Aspects of Multicore Programming, DAMP'09 - Savannah, GA, United States
Duration: Jan 20 2009Jan 20 2009

Publication series

NameProceedings of the 4th ACM SIGPLAN Workshop on Declarative Aspects of Multicore Programming, DAMP'09

Conference

Conference4th ACM SIGPLAN Workshop on Declarative Aspects of Multicore Programming, DAMP'09
Country/TerritoryUnited States
CitySavannah, GA
Period01/20/0901/20/09

Keywords

  • Fork/join execution
  • Multi-Threaded programs
  • N-Way barriers
  • Speculation

Fingerprint

Dive into the research topics of 'Speculative N-Way barriers'. Together they form a unique fingerprint.

Cite this