Nothing Special   »   [go: up one dir, main page]

skip to main content
research-article

Atomicity refinement for verified compilation

Published: 09 June 2014 Publication History

Abstract

We consider the verified compilation of high-level managed languages like Java or C# whose intermediate representations provide support for shared-memory synchronization and automatic memory management. In this environment, the interactions between application threads and the language runtime (e.g., the garbage collector) are regulated by compiler-injected code snippets. Example of snippets include allocation fast paths among others. In our TOPLAS paper we propose a refinement-based proof methodology that precisely relates concurrent code expressed at different abstraction levels, cognizant throughout of the relaxed memory semantics of the underlying processor. Our technique allows the compiler writer to reason compositionally about the atomicity of low-level concurrent code used to implement managed services. We illustrate our approach with examples taken from the verification of a concurrent garbage collector.

References

[1]
T. Domani, E. K. Kolodner, E. Lewis, E. E. Salant, K. Barabash, I. Lahan, Y. Levanoni, E. Petrank, and I. Yanover. Implementing an On-the-Fly Garbage Collector for Java. In ISMM, pages 155--166, 2000.
[2]
S. Jagannathan, V. Laporte, G. Petri, D. Pichardie, and J. Vitek. Atomicity Refinement for Verified Compilation. ACM TOPLAS, 2014.
[3]
S. Owens, S. Sarkar, and P. Sewell. A Better x86 Memory Model: x86-TSO. In TPHOLs, pages 391--407, 2009.
[4]
J. Ševčík, V. Vafeiadis, F. Z. Nardelli, S. Jagannathan, and P. Sewell. CompCertTSO: A Verified Compiler for Relaxed-Memory Concurrency. J. ACM, 60(3):22, 2013.

Cited By

View all
  • (2018)Verified compilation of linearizable data structuresProceedings of the 33rd Annual ACM Symposium on Applied Computing10.1145/3167132.3167333(1881-1890)Online publication date: 9-Apr-2018
  • (2017)Effect Summaries for Thread-Modular AnalysisStatic Analysis10.1007/978-3-319-66706-5_9(169-191)Online publication date: 19-Aug-2017

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM SIGPLAN Notices
ACM SIGPLAN Notices  Volume 49, Issue 6
PLDI '14
June 2014
598 pages
ISSN:0362-1340
EISSN:1558-1160
DOI:10.1145/2666356
  • Editor:
  • Andy Gill
Issue’s Table of Contents
  • cover image ACM Conferences
    PLDI '14: Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation
    June 2014
    619 pages
    ISBN:9781450327848
    DOI:10.1145/2594291
Permission to make digital or hard copies of part or all 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 third-party components of this work must be honored. For all other uses, contact the Owner/Author.

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 09 June 2014
Published in SIGPLAN Volume 49, Issue 6

Check for updates

Qualifiers

  • Research-article

Funding Sources

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)8
  • Downloads (Last 6 weeks)4
Reflects downloads up to 20 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2018)Verified compilation of linearizable data structuresProceedings of the 33rd Annual ACM Symposium on Applied Computing10.1145/3167132.3167333(1881-1890)Online publication date: 9-Apr-2018
  • (2017)Effect Summaries for Thread-Modular AnalysisStatic Analysis10.1007/978-3-319-66706-5_9(169-191)Online publication date: 19-Aug-2017

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media