CoChat

Sketching concurrent data structures

Solar-Lezama, Armando, Jones, Christopher Grant, Bodik, Rastislav · 2008 · ACM SIGPLAN Notices
Cited by 22

The DOI matches its Crossref record; 2 of the 2 references it cites were found in a registry or an index.

Abstract

We describe PSketch, a program synthesizer that helps programmers implement concurrent data structures. The system is based on the concept of sketching, a form of synthesis that allows programmers to express their insight about an implementation as a partial program: a sketch. The synthesizer automatically completes the sketch to produce an implementation that matches a given correctness criteria. PSketch is based on a new counterexample-guided inductive synthesis algorithm (CEGIS) that generalizes the original sketch synthesis algorithm from Solar-Lezama et.al. to cope efficiently with concurrent programs. The new algorithm produces a correct implementation by iteratively generating candidate implementations, running them through a verifier, and if they fail, learning from the counterexample traces to produce a better candidate; converging to a solution in a handful of iterations. PSketch also extends Sketch with higher-level sketching constructs that allow the programmer to express her insight as a "soup" of ingredients from which complicated code fragments must be assembled. Such sketches can be viewed as syntactic descriptions of huge spaces of candidate programs (over 10 8 candidates for some sketches we resolved). We have used the PSketch system to implement several classes of concurrent data structures, including lock-free queues and concurrent sets with fine-grained locking. We have also sketched some other concurrent objects including a sense-reversing barrier and a protocol for the dining philosophers problem; all these sketches resolved in under an hour.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1145/1379022.1375599

Cites

2 of 2 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Show all 2 references

Research works printed but not linked: 22

  1. 10.1145/567067.567085 · DOI · Paper page
  2. D. Amit , N. Rinetzky , T. Reps , M. Sagiv , and E. Yahav . Comparison under abstraction for verifying linearizability . In CAV ?07: 19th International Conference on Computer Aided Verification , volume 4590 , pages 477 -- 490 . Springer , 2007 . D. Amit, N. Rinetzky, T. Reps, M. Sagiv, and E. Yahav. Comparison under abstraction for verifying linearizability. In CAV ?07: 19th International Conference on Computer Aided Verification, volume 4590, pages 477--490. Springer, 2007. · doi:10.1007/978-3-540-73368-3_49
  3. D. Andre and S. Russell . Programmable reinforcement learning agents. Advances in Neural Information Processing Systems, 13 , 2001 . MIT Press . D. Andre and S. Russell. Programmable reinforcement learning agents. Advances in Neural Information Processing Systems, 13, 2001. MIT Press.
  4. 10.1145/356914.356918 · DOI · Paper page
  5. 10.1145/872035.872080 · doi:10.1145/872035.872080
  6. 10.1145/263580.263662 · DOI · Paper page
  7. 10.1145/1250734.1250737 · DOI · Paper page
  8. 10.1017/S0956796802004562 · DOI
  9. 10.1007/11795490_3 · doi:10.1007/11795490_3
  10. 10.1007/BF01379320 · doi:10.1007/bf01379320
  11. M. Herlihy and N. Shavit . The art of multiprocessor programming . Morgan Kaufmann , 2008 . M. Herlihy and N. Shavit. The art of multiprocessor programming. Morgan Kaufmann, 2008.
  12. 10.1145/78969.78972 · DOI · Paper page
  13. 10.1109/32.588521 · DOI · Paper page
  14. 10.1145/359131.359136 · DOI · Paper page
  15. 10.1109/TC.1979.1675439 · DOI · Paper page
  16. A. Silberschatz and P. B. Galvin . Operating System Concepts . John Wiley & amp; Sons, Inc., New York, NY, USA, 2000 . A. Silberschatz and P. B. Galvin. Operating System Concepts. John Wiley & Sons, Inc., New York, NY, USA, 2000.
  17. 10.1109/32.58788 · doi:10.1109/32.58788
  18. 10.1145/1168857.1168907 · DOI · Paper page
  19. 10.1145/1168857.1168907 · DOI · Paper page
  20. 10.1145/1122971.1122992 · doi:10.1145/1122971.1122992
  21. 10.1145/1133981.1134022 · doi:10.1145/1133981.1134022
  22. 10.1145/1250734.1250787 · DOI

Cited by

See all 22

Metadata

Authors
Solar-Lezama, A., Jones, C. G., & Bodik, R.
Affiliations
UC Berkeley, Berkeley, CA, USA
Venue
ACM SIGPLAN Notices
Published
2008-05-30
Volume
43
Issue
6
Pages
136-148
ISSN
  • 0362-1340
  • 1558-1160
Cited by
22
References
2
Language
en

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: Sketching concurrent data structures. https://app.cochat.ai/papers/10.1145/1379022.1375599
The paper
Solar-Lezama, A., Jones, C. G., & Bodik, R. (2008). Sketching concurrent data structures. ACM SIGPLAN Notices. https://doi.org/10.1145/1379022.1375599

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.