Automated verification of practical garbage collectors

From MaRDI portal
Publication:5261539

DOI10.1145/1480881.1480935zbMATH Open1315.68096arXiv1004.3808OpenAlexW2137484994MaRDI QIDQ5261539FDOQ5261539

Chris Hawblitzel, Erez Petrank

Publication date: 3 July 2015

Published in: Proceedings of the 36th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages (Search for Journal in Brave)

Abstract: Garbage collectors are notoriously hard to verify, due to their low-level interaction with the underlying system and the general difficulty in reasoning about reachability in graphs. Several papers have presented verified collectors, but either the proofs were hand-written or the collectors were too simplistic to use on practical applications. In this work, we present two mechanically verified garbage collectors, both practical enough to use for real-world C# benchmarks. The collectors and their associated allocators consist of x86 assembly language instructions and macro instructions, annotated with preconditions, postconditions, invariants, and assertions. We used the Boogie verification generator and the Z3 automated theorem prover to verify this assembly language code mechanically. We provide measurements comparing the performance of the verified collector with that of the standard Bartok collectors on off-the-shelf C# benchmarks, demonstrating their competitiveness.


Full work available at URL: https://arxiv.org/abs/1004.3808




Recommendations





Cited In (7)

Uses Software





This page was built for publication: Automated verification of practical garbage collectors

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5261539)