@inproceedings{hawblitzel2009automated, author = {Hawblitzel, Chris and }, title = {Automated Verification of Practical Garbage Collectors}, booktitle = {POPL 09: The 36th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages}, year = {2009}, month = {January}, 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 handwritten 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.}, publisher = {Association for Computing Machinery, Inc.}, url = {http://approjects.co.za/?big=en-us/research/publication/automated-verification-of-practical-garbage-collectors/}, edition = {POPL 09: The 36th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages}, }