Verifying a garbage collection algorithm

被引:0
|
作者
Jackson, PB [1 ]
机构
[1] Univ Edinburgh, Dept Comp Sci, Edinburgh EH9 3JZ, Midlothian, Scotland
来源
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present a case study in using the PVS interactive theorem prover to formally model and verify properties of a tricolour garbage collection algorithm. We model the algorithm using state transition systems and verify safety and liveness properties in linear temporal logic. We set up two systems, each of which models the algorithm itself, object allocation, and the behaviour of user programs. The models differ in how concretely they model the heap. We verify the properties of the more abstract system, and then, once a refinement relation is exhibited between the systems, we show the more concrete system to have corresponding properties. We discuss the linear temporal logic framework we set up, commenting in particular an how we handle fairness and how we use a 'leads-to-via' predicate to reason about the propagation of properties that are stable in specified regions of system state spaces. We also describe strategies (tactics) we wrote to improve the quality of interaction and increase the degree of automation.
引用
收藏
页码:225 / 244
页数:20
相关论文
共 50 条
  • [41] The Economics of Garbage Collection
    Singer, Jeremy
    Jones, Richard
    Brown, Gavin
    Lujan, Mikel
    ACM SIGPLAN NOTICES, 2010, 45 (08) : 103 - 112
  • [42] Garbage Collection in Forth
    Schneider, J.
    Forth Dimensions, 18 (05):
  • [43] Garbage collection on the run
    Burton, JW
    DR DOBBS JOURNAL, 2000, 25 (04): : 46 - +
  • [44] Garbage collection: the facts
    Baker, HG
    COMPUTER DESIGN, 1997, 36 (12): : 102 - 102
  • [45] Distributed Garbage Collection Using Client Server Approach in Train Algorithm
    Kapadia, Viral V.
    Thakore, Darshak G.
    2009 IEEE INTERNATIONAL ADVANCE COMPUTING CONFERENCE, VOLS 1-3, 2009, : 492 - 495
  • [46] Opportunistic garbage collection
    Wilson, Paul R.
    SIGPLAN Notices (ACM Special Interest Group on Programming Languages), 1988, 23 (12): : 98 - 102
  • [47] DISTRIBUTED GARBAGE COLLECTION
    ECKART, JD
    LEBLANC, RJ
    SIGPLAN NOTICES, 1987, 22 (07): : 264 - 273
  • [48] GARBAGE COLLECTION IN MULTISCHEME
    MILLER, JS
    EPSTEIN, BS
    LECTURE NOTES IN COMPUTER SCIENCE, 1990, 441 : 138 - 160
  • [49] Contaminated garbage collection
    Cannarozzi, DJ
    Plezbert, MP
    Cytron, RK
    ACM SIGPLAN NOTICES, 2000, 35 (05) : 264 - 273
  • [50] A Reference-Counting Garbage Collection Algorithm for Cyclical Functional Programming
    Trancon y Widemann, Baltasar
    ISMM'08: PROCEEDINGS OF THE 2008 INTERNATIONAL SYMPOSIUM ON MEMORY MANAGEMENT, 2008, : 71 - 80