Abstract
Region-based memory management has been shown to be an effective alternative that can co-exist with garbage collectors in memory managed languages especially for Real-Time and Big Data applications. In this paper we propose a novel variant region type system that extends our previous Java region types to Generic Java. The main difficulties are given by the type variables used by Generic Java. Our proposal is based on a modular flow analysis that captures regions lifetime relations via subtyping constraints at the method boundary. Our variant region type system guarantees that well-typed Generic Java programs use lexically-scoped regions and never create dangling references in the store and on the program stack.
Original language | English |
---|---|
Pages | 126-135 |
DOIs | |
Publication status | Published - 27 Dec 2018 |
Event | 23rd International Conference on Engineering of Complex Computer Systems (ICECCS) - Melbourne, VIC Duration: 12 Dec 2018 → 14 Dec 2018 |
Conference
Conference | 23rd International Conference on Engineering of Complex Computer Systems (ICECCS) |
---|---|
Period | 12/12/18 → 14/12/18 |