A Verified Generational Garbage Collector for CakeML

被引:0
|
作者
Adam Sandberg Ericsson
Magnus O. Myreen
Johannes Åman Pohjola
机构
[1] Chalmers University of Technology,
[2] Data61/CSIRO,undefined
来源
Journal of Automated Reasoning | 2019年 / 63卷
关键词
Interactive theorem proving; Formal methods; Garbage collection; Compiler verification;
D O I
暂无
中图分类号
学科分类号
摘要
This paper presents the verification of a generational copying garbage collector for the CakeML runtime system. The proof is split into an algorithm proof and an implementation proof. The algorithm proof follows the structure of the informal intuition for the generational collector’s correctness, namely, a partial collection cycle in a generational collector is the same as running a full collection on part of the heap, if one views pointers to old data as non-pointers. We present a pragmatic way of dealing with ML-style mutable state, such as references and arrays, in the proofs. The development has been fully integrated into the in-logic bootstrapped CakeML compiler, which now includes command-line arguments that allow configuration of the generational collector. All proofs were carried out in the HOL4 theorem prover.
引用
收藏
页码:463 / 488
页数:25
相关论文
共 50 条
  • [31] GENERALIZED COMPACTIFYING GARBAGE COLLECTOR
    WEGBREIT, B
    COMPUTER JOURNAL, 1972, 15 (03): : 204 - &
  • [32] Visualising the train garbage collector
    Printezis, T
    Garthwaite, A
    ACM SIGPLAN NOTICES, 2003, 38 (02) : 157 - 170
  • [33] A GARBAGE COLLECTOR TIDIES ITSELF
    TRACY, EJ
    FORTUNE, 1984, 109 (05) : 60 - 60
  • [34] ANOTHER COMPACTING GARBAGE COLLECTOR
    MORRIS, FL
    INFORMATION PROCESSING LETTERS, 1982, 15 (04) : 139 - 142
  • [35] Visualising the train garbage collector
    Printezis, Tony
    Garthwaite, Alex
    ACM SIGPLAN Notices, 2003, 38 (2 SUPPL.) : 157 - 170
  • [36] DESIGN OF THE OPPORTUNISTIC GARBAGE COLLECTOR
    WILSON, PR
    MOHER, TG
    SIGPLAN NOTICES, 1989, 24 (10): : 23 - 35
  • [37] Do You Have Space for Dessert? A Verified Space Cost Semantics for CakeML Programs
    Gomez-Londono, Alejandro
    Pohjola, Johannes Aman
    Syeda, Hira Taqdees
    Myreen, Magnus O.
    Tan, Yong Kiam
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2020, 4
  • [38] Dynamic pretenuring schemes for generational garbage collection
    Huang, W
    Srisa-an, W
    Chang, JM
    ISPASS: 2004 IEEE INTERNATIONAL SYMPOSIUM ON PERFORMANCE ANALYSIS OF SYSTEMS AND SOFTWARE, 2004, : 133 - 140
  • [39] GENERATIONAL GARBAGE COLLECTION FOR LAZY GRAPH REDUCTION
    SEWARD, J
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 637 : 200 - 217
  • [40] INFANT-MORTALITY AND GENERATIONAL GARBAGE COLLECTION
    BAKER, HG
    SIGPLAN NOTICES, 1993, 28 (04): : 55 - 57