Skip to Main content Skip to Navigation
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

https://hal.inria.fr/hal-00773141
Contributor : Romain Péchoux Connect in order to contact the contributor
Submitted on : Friday, October 4, 2013 - 2:35:22 PM
Last modification on : Saturday, October 16, 2021 - 11:26:05 AM
Long-term archiving on: : Friday, April 7, 2017 - 6:18:55 AM

File

ObjectIsBeautiful.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-00773141, version 3
`

Citation

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

Share

Metrics

Record views

110

Files downloads

35