Memorias de investigación
Ponencias en congresos:
Practical Run-time Checking via Unobtrusive Property Caching
Año:2015

Áreas de investigación
  • Ciencias de la computación y tecnología informática

Datos
Descripción
The use of annotations, referred to as assertions or contracts, to describe program properties for which run-time tests are to be generated, has become frequent in dynamic programing languages. However, the frameworks proposed to support such run-time testing generally incur high time and/or space overheads over standard program execution. We present an approach for reducing this overhead that is based on the use of memoization to cache intermediate results of check evaluation, avoiding repeated checking of previously verified properties. Compared to approaches that reduce checking frequency, our proposal has the advantage of being exhaustive (i.e., all tests are checked at all points) while still being much more efficient than standard run-time checking. Compared to the limited previous work on memoization, it performs the task without requiring modifications to data structure representation or checking code. While the approach is general and system-independent, we present it for concreteness in the context of the Ciao run-time checking framework, which allows us to provide an operational semantics with checks and caching. We also report on a prototype implementation and provide some experimental results that support that using a relatively small cache leads to significant decreases in run-time checking overhead.
Internacional
Si
Nombre congreso
31st International Conference on Logic Programming
Tipo de participación
960
Lugar del congreso
University College Cork, Ireland
Revisores
Si
ISBN o ISSN
1471-0684
DOI
10.1017/S1471068415000344
Fecha inicio congreso
31/08/2015
Fecha fin congreso
04/09/2015
Desde la página
726
Hasta la página
741
Título de las actas
Practical Run-time Checking via Unobtrusive Property Caching

Esta actividad pertenece a memorias de investigación

Participantes

Grupos de investigación, Departamentos, Centros e Institutos de I+D+i relacionados
  • Creador: Grupo de Investigación: Computación lógica, Lenguajes, Implementación y Paralelismo (CLIP)
  • Departamento: Inteligencia Artificial