Hinweis
Dieser Eintrag wurde automatisch aus einem Altsystem migriert. Die Daten wurden nicht überprüft und entsprechen eventuell nicht den Qualitätskriterien des vorliegenden Systems.
E194-05 - Forschungsbereich Compilers and Languages
-
Erschienen in:
30th EuroForth Conference
-
Datum (veröffentlicht):
2014
-
Veranstaltungsname:
30th EuroForth Conference
-
Veranstaltungszeitraum:
26-Sep-2014 - 28-Sep-2014
-
Veranstaltungsort:
Palma de Mallorca, EU
-
Umfang:
5
-
Peer Reviewed:
Nein
-
Abstract:
Memory management has a pervasive effect on the way we program. In
region-based memory allocation, objects with roughly the same life
expectancy are allocated in one region, and in the end the whole
region is freed at once. This avoids the need to keep track of the
individual objects for free. Regions are simple to implement and
compatible with real-time requirements and multi-threading, and ...
Memory management has a pervasive effect on the way we program. In
region-based memory allocation, objects with roughly the same life
expectancy are allocated in one region, and in the end the whole
region is freed at once. This avoids the need to keep track of the
individual objects for free. Regions are simple to implement and
compatible with real-time requirements and multi-threading, and seem
to be ideal for Forth, except for one thing: The region id has to be
passed to the allocation word, increasing the stack load. We propose
using context wrappers to avoid that problem. This even allows to use
existing allocate-based libraries with regions, but we then have to
decide what free and resize inside these libraries do.