eCommons

 

Typed Memory Management in a Calculus of Capabilities

dc.contributor.authorWalker, Daviden_US
dc.contributor.authorCrary, Karlen_US
dc.contributor.authorMorrisett, Gregen_US
dc.date.accessioned2007-04-09T19:47:04Z
dc.date.available2007-04-09T19:47:04Z
dc.date.issued2000-02-02en_US
dc.description.abstractRegion-based memory management is an alternative to standard tracing garbage collection that makes potentially dangerous operations such as memory deallocation explicit but verifiably safe. In this article, we present a new compiler intermediate language, called the Capability Calculus, that supports region-based memory management and enjoys a provably safe type system. Unlike previous region-based type systems, region lifetimes need not be lexically scoped and yet the language may be checked for safety without complex analyses. Therefore, our type system may be deployed in settings such as extensible operating systems where both the performance and safety of untrusted code is important. The central novelty of the language is the use of static capabilities to specify the permissibility of various operations, such as memory access and deallocation. In order to ensure capabilities are relinquished properly, the type system tracks aliasing information using a form of bounded quantification. Moreover, unlike previous work on region-based type systems, the proof of soundness of our type system is relatively simple, employing only standard syntactic techniques. In order to show our language may be used in practice, we show how to translate a variant of Tofte and Talpin's high-level type-and-effects system for region-based memory management into our language. When combined with known region inference algorithms, this translation provides a way to compile source-level languages to the Capability Calculus.en_US
dc.format.extent548689 bytes
dc.format.extent1028707 bytes
dc.format.mimetypeapplication/pdf
dc.format.mimetypeapplication/postscript
dc.identifier.citationhttp://techreports.library.cornell.edu:8081/Dienst/UI/1.0/Display/cul.cs/TR2000-1780en_US
dc.identifier.urihttps://hdl.handle.net/1813/5774
dc.language.isoen_USen_US
dc.publisherCornell Universityen_US
dc.subjectcomputer scienceen_US
dc.subjecttechnical reporten_US
dc.titleTyped Memory Management in a Calculus of Capabilitiesen_US
dc.typetechnical reporten_US

Files

Original bundle
Now showing 1 - 2 of 2
Loading...
Thumbnail Image
Name:
2000-1780.pdf
Size:
535.83 KB
Format:
Adobe Portable Document Format
No Thumbnail Available
Name:
2000-1780.ps
Size:
1004.6 KB
Format:
Postscript Files