PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
January 15, 2003298 citations

Static prediction of heap space usage for first-order functional programs

View Full Paper
MHMartin HofmannSJSteffen Jost

Key Points

Key points are not available for this paper at this time.

Abstract

We show how to efficiently obtain linear a priori bounds on the heap space consumption of first-order functional programs.The analysis takes space reuse by explicit deallocation into account and also furnishes an upper bound on the heap usage in the presence of garbage collection. It covers a wide variety of examples including, for instance, the familiar sorting algorithms for lists, including quicksort.The analysis relies on a type system with resource annotations. Linear programming (LP) is used to automatically infer derivations in this enriched type system.We also show that integral solutions to the linear programs derived correspond to programs that can be evaluated without any operating system support for memory management. The particular integer linear programs arising in this way are shown to be feasibly solvable under mild assumptions.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Hofmann et al. (2003) studied this question.

synapsesocial.com/papers/6a215d3cbd959c3a83aba9eahttps://doi.org/10.1145/604131.604148
Ask AI
Helpful
Bookmark
Share
View Full Paper