Automated verification of practical garbage collectors

Author:

Hawblitzel Chris1,Petrank Erez2

Affiliation:

1. Microsoft Research, Redmond, WA, USA

2. Technion, Haifa, Israel

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.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference26 articles.

1. An on-the-fly mark and sweep garbage collector based on sliding views

2. A parallel, incremental, mostly concurrent garbage collector for servers

3. Boogie: A Modular Reusable Verifier for Object-Oriented Programs

4. Local reasoning about a copying garbage collector

5. Sam Borman. Sensible sanitation -- understanding the IBM Java garbage collector part 1: Object allocation. IBM developer Works August 2002. Sam Borman. Sensible sanitation -- understanding the IBM Java garbage collector part 1: Object allocation. IBM developer Works August 2002.

Cited by 18 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Deep Dive into ZGC: A Modern Garbage Collector in OpenJDK;ACM Transactions on Programming Languages and Systems;2022-09-21

2. Formal modelling of list based dynamic memory allocators;Science China Information Sciences;2018-11-13

3. A refinement hierarchy for free list memory allocators;ACM SIGPLAN Notices;2017-10-31

4. Model checking copy phases of concurrent copying garbage collection with various memory models;Proceedings of the ACM on Programming Languages;2017-10-12

5. Self-adaptive concurrent components;Automated Software Engineering;2017-08-22

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3