Skip to Main content Skip to Navigation
New interface
Other publications

Type-based heap and stack space analysis in Java

Emmanuel Hainry 1 Romain Péchoux 1 
1 CARTE - Theoretical adverse computations, and safety
Inria Nancy - Grand Est, LORIA - FM - Department of Formal Methods
Abstract : A type system is introduced for a strict but expressive subset of Java in order to infer resource upper bounds on both the heap-space and the stack-space requirements of typed programs. This type system is inspired by previous works on Implicit Computational Complexity, using tiering and non-interference techniques. The presented methodology has several advantages. First, it provides explicit polynomial upper bounds to the programmer, hence avoiding OutOfMemory and StackOverFlow errors. Second, type checking is decidable in linear time. Last, it has a good expressivity since it analyzes most object oriented features like overload, inheritance, override.
Document type :
Other publications
Complete list of metadata

Cited literature [24 references]  Display  Hide  Download
Contributor : Romain Péchoux Connect in order to contact the contributor
Submitted on : Wednesday, November 27, 2013 - 1:59:42 PM
Last modification on : Wednesday, February 2, 2022 - 3:52:50 PM
Long-term archiving on: : Saturday, April 8, 2017 - 2:50:54 AM


Files produced by the author(s)


  • HAL Id : hal-00773141, version 4



Emmanuel Hainry, Romain Péchoux. Type-based heap and stack space analysis in Java. 2013. ⟨hal-00773141v4⟩



Record views


Files downloads