Sciweavers

FOSSACS
2001
Springer

On Garbage and Program Logic

13 years 8 months ago
On Garbage and Program Logic
Garbage collection relieves the programmer of the burden of managing dynamically allocated memory, by providing an automatic way to reclaim unneeded storage. This eliminates or lessens program errors that arise from attempts to access disposed memory, and generally leads to simpler programs. One might therefore expect that reasoning about programs in garbage collected languages would be much easier than in languages where the programmer has more explicit control over memory. But existing program logics are based on a low level view of storage that is sensitive to the presence or absence of unreachable cells, and Reynolds has pointed out that the Hoare triples derivable in these logics are even incompatible with garbage collection. We present a semantics of program logic assertions based on a view of the heap as finite, but extensible; this is for a logical language with primitives for dereferencing pointer expressions. The essential property of the semantics is that all propositions a...
Cristiano Calcagno, Peter W. O'Hearn
Added 28 Jul 2010
Updated 28 Jul 2010
Type Conference
Year 2001
Where FOSSACS
Authors Cristiano Calcagno, Peter W. O'Hearn
Comments (0)