Efficient type-checking for amortised heap-space analysis

  • Authors:
  • Martin Hofmann;Dulma Rodriguez

  • Affiliations:
  • Department of Computer Science, University of Munich, München, Germany;Department of Computer Science, University of Munich, München, Germany

  • Venue:
  • CSL'09/EACSL'09 Proceedings of the 23rd CSL international conference and 18th EACSL Annual conference on Computer science logic
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

The prediction of resource consumption in programs has gained interest in the last years. It is important for a number of areas, notably embedded systems and safety critical systems. Different approaches to achieve bounded resource consumption have been analysed. One of them, based on an amortised complexity analysis, has been studied by Hofmann and Jost in 2006 for a Java-like language. In this paper we present an extension of this type system consisting of more general subtyping and sharing relations that allows us to type more examples. Moreover we describe efficient automated type-checking for a finite, annotated version of the system. We prove soundness and completeness of the type checking algorithm and show its efficiency.