COSTABS: A cost and termination analyzer for ABS

Elvira Albert, Puri Arenas, Samir Genaim, Miguel Gómez-Zamalloa, Germán Puebla

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

22 Scopus citations

Abstract

ABS is an abstract behavioural specification language to model distributed concurrent systems. Characteristic features of ABS are that: (1) it allows abstracting from implementation details while remaining executable: a functional sub-language over abstract data types is used to specify internal, sequential computations; and (2) the imperative sub-language provides flexible concurrency and synchronization mechanisms by means of asynchronous method calls, release points in method definitions, and cooperative scheduling of method activations. This paper presents COSTABS, a COSt and Termination analyzer for ABS, which is able to prove termination and obtain resource usage bounds for both the imperative and functional fragments of programs. The resources that COSTABS can infer include termination, number of execution steps, memory consumption, number of asynchronous calls, among others. The analysis bounds provide formal guarantees that the execution of the program will never exceed the inferred amount of resources. The system can be downloaded as free software from its web site, where a repository of examples and a web interface are also provided. To the best of our knowledge, COSTABS is the first system able to perform resource analysis for a concurrent language.

Original languageEnglish
Title of host publicationPOPL
Subtitle of host publicationPEPM'12 - Proceedings of the ACM SIGPLAN 2012 Workshop on Partial Evaluation and Program Manipulation
Pages151-154
Number of pages4
StatePublished - 12 Mar 2012
Externally publishedYes
EventACM SIGPLAN 2012 Workshop on Partial Evaluation and Program Manipulation, PEPM'12, Co-located with POPL 2012 - Philadelphia, PA, United States
Duration: 23 Jan 201224 Jan 2012

Publication series

NameConference Record of the Annual ACM Symposium on Principles of Programming Languages
ISSN (Print)0730-8566

Conference

ConferenceACM SIGPLAN 2012 Workshop on Partial Evaluation and Program Manipulation, PEPM'12, Co-located with POPL 2012
Country/TerritoryUnited States
CityPhiladelphia, PA
Period23/01/1224/01/12

Keywords

  • Concurrent objects
  • Parallelism
  • Resource guarantees
  • Static analysis

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'COSTABS: A cost and termination analyzer for ABS'. Together they form a unique fingerprint.

Cite this