Reference Capabilities for Flexible Memory Management: Extended Version
Ellen Arvidsson, Elias Castegren, Sylvan Clebsch, Sophia Drossopoulou,, James Noble, Matthew J. Parkinson, Tobias Wrigstad

TL;DR
This paper introduces Verona, a concurrent object-oriented language with region-based memory management, enabling predictable overheads, explicit mutability control, and thread-safe data access without atomic operations.
Contribution
It presents a novel ownership type system using reference capabilities to enforce region isolation and support object movement, enhancing memory management flexibility.
Findings
Memory management costs are localized to active regions.
Data accesses are thread-safe without atomic operations.
Explicit mutability windows enable predictable performance.
Abstract
Verona is a concurrent object-oriented programming language that organises all the objects in a program into a forest of isolated regions. Memory is managed locally for each region, so programmers can control a program's memory use by adjusting objects' partition into regions, and by setting each region's memory management strategy. A thread can only mutate (allocate, deallocate) objects within one active region -- its "window of mutability". Memory management costs are localised to the active region, ensuring overheads can be predicted and controlled. Moving the mutability window between regions is explicit, so code can be executed wherever it is required, yet programs remain in control of memory use. An ownership type system based on reference capabilities enforces region isolation, controlling aliasing within and between regions, yet supporting objects moving between regions and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
