Passer à la navigation principale Passer à la recherche Passer au contenu principal

A separation logic for heap space under garbage collection

  • INRIA Institut National de Recherche en Informatique et en Automatique

Résultats de recherche: Contribution à un journalArticleRevue par des pairs

Résumé

We present SLĝ™¢, 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ĝ™¢ is sound and present several simple examples of its use.

langue originaleAnglais
Numéro d'article3498672
journalProceedings of the ACM on Programming Languages
Volume6
Numéro de publicationPOPL
Les DOIs
étatPublié - 1 janv. 2022

Empreinte digitale

Examiner les sujets de recherche de « A separation logic for heap space under garbage collection ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation