z-logo
open-access-imgOpen Access
A correct and useful incremental copying garbage collector
Author(s) -
Martin Kero,
Johan Nordlander,
Per Lindgren
Publication year - 2007
Publication title -
kth publication database diva (kth royal institute of technology)
Language(s) - English
Resource type - Conference proceedings
DOI - 10.1145/1296907.1296924
Subject(s) - heap (data structure) , garbage collection , garbage , manual memory management , computer science , copying , soundness , concurrency , memory leak , a priori and a posteriori , data structure , programming language , parallel computing , theoretical computer science , algorithm , philosophy , epistemology , law , political science
Designing a garbage collector with real-time properties is a particularly difficult task, involving the construction of both an incremental run-time algorithm as well as methods enabling a priori reasoning about schedulability in two dimensions (time and memory usage in conjunction). In order to comply with such ambitious goals with any amount of formal rigor, a comprehensive understanding of the actual algorithm used is of course a fundamental requirement. In this paper we present a formal model of an incremental copying garbage collector, where each atomic increment is modeled as a transition between states of a heap process. Soundness of the algorithm is shown by proving that the garbage collecting heap process is weakly bisimilar to a non-collecting heap with infinite storage space. In addition, we show that our collector is both terminating and useful, in the sense that it actually recovers the unreachable parts of any given heap in a finite number of steps.Godkänd; 2007; 20070827 (keero

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom