Publikation

Zurück zur Übersicht

Suicide Objects

Publikationsart Peer-reviewed
Publikationsform Tagungsbeitrag (peer-reviewed)
Publikationsjahr 2012
Autor/in Ressia Jorge, Perin Fabrizio, Renggli Lukas
Projekt Synchronizing Models and Code
Alle Daten anzeigen

Tagungsbeitrag (peer-reviewed)

Titel der Proceedings Dynamic Languages and Applications, DYLA '12
Status Publiziert
DOI 10.1145/2307196.2307197

Open Access

Abstract

The way programming languages manage memory has been a hot topic for many years. Languages with garbage collection (GC) removed the burden of memory management from developers. Typically the garbage collection infrastructure is a black box that developers have no control over. This is particularly striking in object-oriented systems, where objects themselves have no way to control their life and death. Instead an external process (the GC) decides if an object is still needed or not. In this paper we propose suicide objects, objects that make their own decisions about their life and death. With two examples we demonstrate how the traditional garbage collector can be replaced, and how developers can benefit from an object-centric memory management.