A Separation Logic for Heap Space under Garbage Collection

被引:7
|
作者
Madiot, Jean-Marie [1 ]
Pottier, Francois [1 ]
机构
[1] INRIA, Paris, France
关键词
separation logic; tracing garbage collection; live data; program verification; VERIFICATION; FRAMEWORK; CHECKING;
D O I
10.1145/3498672
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present SL lozenge, a Separation Logic that allows controlling the heap space consumption of a program in the presence of dynamic memory allocation and garbage collection. A user of the logic works with space credits, a resource that is consumed when an object is allocated and produced when a group of objects is logically deallocated, that is, when the user is able to prove that it has become unreachable and therefore can be collected. To prove such a fact, the user maintains pointed-by assertions that record the immediate predecessors of every object. Our calculus, SpaceLang, has mutable state, shared-memory concurrency, and code pointers. We prove that SL lozenge is sound and present several simple examples of its use.
引用
收藏
页数:28
相关论文
共 50 条
  • [41] Study of Garbage Collection Performace on Dalvik VM Heap considering real-time response
    Yoo, Hyun-Joo
    Kim, Seong-jeen
    Jung, Min-soo
    2013 INTERNATIONAL CONFERENCE ON IT CONVERGENCE AND SECURITY (ICITCS), 2013,
  • [42] From the garbage heap to your home
    Lampo, Richard
    Finney, Dana
    Standardization News, 1993, 22 (08): : 36 - 39
  • [44] Formal verification of the heap manager of an operating system using separation logic
    Marti, Nicolas
    Affeldt, Reynald
    Yonezawa, Akinori
    FORMAL METHODS AND SOFTWARE ENGINEERING, PROCEEDINGS, 2006, 4260 : 400 - +
  • [45] Formal verification of the heap manager of an operating system using separation logic
    Marti, Nicolas
    Affeldt, Reynald
    Yonezawa, Akinori
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2006, 4260 LNCS : 400 - 419
  • [46] Model Checking for Symbolic-Heap Separation Logic with Inductive Predicates
    Brotherston, James
    Gorogiannis, Nikos
    Kanovich, Max
    Rowe, Reuben
    ACM SIGPLAN NOTICES, 2016, 51 (01) : 84 - 96
  • [47] Unified Reasoning About Robustness Properties of Symbolic-Heap Separation Logic
    Jansen, Christina
    Katelaan, Jens
    Matheja, Christoph
    Noll, Thomas
    Zuleger, Florian
    PROGRAMMING LANGUAGES AND SYSTEMS (ESOP 2017): 26TH EUROPEAN SYMPOSIUM ON PROGRAMMING, 2017, 10201 : 611 - 638
  • [48] The Cleanest Garbage Collection
    Moss, Eliot
    COMMUNICATIONS OF THE ACM, 2013, 56 (12) : 100 - 100
  • [49] Distributed garbage collection
    不详
    MOBILE AGENTS: CONTROL ALGORITHMS, 2000, 1658 : 65 - 78
  • [50] THERMODYNAMICS AND GARBAGE COLLECTION
    BAKER, HG
    SIGPLAN NOTICES, 1994, 29 (04): : 58 - 63