skip to main content
10.1145/2851613.2851734acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

From atomic variables to data-centric concurrency control

Published:04 April 2016Publication History

ABSTRACT

The mainstream use of concurrent programming is bound to the provision of constructs that abstract details intrinsic to concurrency, while ensuring safety and liveness properties. Several control-centric approaches meet these requirements but decentralise concurrency management, hindering reasoning. The alternative data-centric approach promotes local rather than distributed reasoning, however it is a fairly new approach embraced only by Atomic Sets [4, 8], a rather complex model that does not guarantee progress in all scenarios. In this paper we propose a simple data-centric concurrency control model that builds only on the notion of atomic variable. We informally present the model and its properties, as well as a prototype implementation that we used to compare our approach against the aforementioned Atomic Sets and control-centred approaches in general.

References

  1. B. M. et al. Autolocker: Synchronization inference for atomic sections. In POPL, pages 346--358. ACM, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. D. M. et al. Detecting deadlock in programs with data-centric synchronization. In ICSE, pages 322--331. IEEE, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. F. T. S. et al. Dynamic optimization for efficient strong atomicity. In OOPSLA'08, pages 181--194. ACM, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. J. D. et al. A data-centric approach to synchronization. TOPLAS, 34(1):4:1--4:48, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. M. A. et al. Semantics of transactional memory and automatic mutual exclusion. TOPLAS, 33(1):2, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. M. E. et al. Lock allocation. In POPL, pages 291--296. ACM, 2007.Google ScholarGoogle Scholar
  7. M. H. et al. Lock inference for atomic sections. In TRANSACT. ACM, 2006.Google ScholarGoogle Scholar
  8. M. V. et al. Associating synchronization constraints with data in an object-oriented language. In POPL, pages 334--345. ACM, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. P. D. et al. Automated inference of atomic sets for safe concurrent execution. In ASTE, pages 1--8, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. S. C. et al. Inferring locks for atomic sections. In PLDI, pages 304--315. ACM, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. S. L. et al. Learning from mistakes: a comprehensive study on real world concurrency bug characteristics. In ASPLOS, pages 329--339. ACM, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. W. Huang and A. Milanova. Inferring aj types for concurrent libraries. In FOOL, 2012.Google ScholarGoogle Scholar
  13. N. Shavit and D. Touitou. Software transactional memory. In APODC, pages 204--213. ACM, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. From atomic variables to data-centric concurrency control

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      SAC '16: Proceedings of the 31st Annual ACM Symposium on Applied Computing
      April 2016
      2360 pages
      ISBN:9781450337397
      DOI:10.1145/2851613

      Copyright © 2016 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 4 April 2016

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      SAC '16 Paper Acceptance Rate252of1,047submissions,24%Overall Acceptance Rate1,650of6,669submissions,25%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader