Premium
Object‐sensitive cost analysis for concurrent objects
Author(s) -
Albert Elvira,
Arenas Puri,
Correas Jesús,
Genaim Samir,
GómezZamalloa Miguel,
Puebla Germán,
RománDíez Guillermo
Publication year - 2015
Publication title -
software testing, verification and reliability
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.216
H-Index - 49
eISSN - 1099-1689
pISSN - 0960-0833
DOI - 10.1002/stvr.1569
Subject(s) - concurrency , computer science , asynchronous communication , bounding overwatch , distributed computing , object (grammar) , resource (disambiguation) , concurrent data structure , concurrent computing , programming language , resource consumption , theoretical computer science , artificial intelligence , ecology , biology , computer network
Summary This article presents a novel cost analysis framework for concurrent objects . Concurrent objects form a well‐established model for distributed concurrent systems. In this model, objects are the concurrency units that communicate among them via asynchronous method calls. Cost analysis aims at automatically approximating the resource consumption of executing a program in terms of its input parameters. While cost analysis for sequential programming languages has received considerable attention, concurrency and distribution have been notably less studied. The main challenges of cost analysis in a concurrent setting are as follows. First, inferring precise size abstractions for data in the program in the presence of shared memory. This information is essential for bounding the number of iterations of loops. Second, distribution suggests that analysis must infer the cost of the diverse distributed components separately. We handle this by means of a novel form of object‐sensitive recurrence equations that use cost centres in order to keep the resource usage assigned to the different components separate. We have implemented our analysis and evaluated it on several small applications that are classical examples of concurrent and distributed programming. Copyright © 2015 John Wiley & Sons, Ltd.