Experiments in Cost Analysis of Java']Java Bytecode

被引:7
作者
Albert, E. [1 ]
Arenas, P. [1 ]
Genaim, S. [2 ]
Puebla, G. [2 ]
Zanardini, D. [2 ]
机构
[1] Univ Complutense Madrid, DSIC, Madrid, Spain
[2] Tech Univ Madrid, Madrid, Spain
关键词
Cost analysis; !text type='Java']Java[!/text] bytecode; cost relations; recurrence equations; complexity;
D O I
10.1016/j.entcs.2007.02.061
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Recently, we proposed a general framework for the cost analysis of Java bytecode which can be used for measuring resource usage. This analysis generates, at compile-time, cost relations which define the cost of programs as a function of their input data size. The purpose of this paper is to assess the practicality of such cost analysis by experimentally evaluating a prototype analyzer implemented in Ciao. With this aim, we approximate the computational complexity of a set of selected benchmarks, including both well-known algorithms which have been used to evaluate existing cost analyzers in other programming paradigms, and other benchmarks which illustrate object-oriented features. In our evaluation, we first study whether the generated cost relations can be automatically solved. Our experiments show that in some cases the inferred cost relations can be automatically solved by using the Mathematica system, whereas, in other cases, some prior manipulation is required for the equations to be solvable. Moreover, we experimentally evaluated the running time of the different phases of the analysis process. Overall, we believe our experiments show that the efficiency of our cost analysis is acceptable, and that the obtained cost relations are useful in practice since, at least in our experiments, it is possible to get a closed form solution.
引用
收藏
页码:67 / 83
页数:17
相关论文
共 50 条
  • [41] Network analysis of energy transition arena experiments
    Matschoss, Kaisa
    Repo, Petteri
    Lukkarinen, Jani
    ENVIRONMENTAL INNOVATION AND SOCIETAL TRANSITIONS, 2020, 35 : 103 - 115
  • [42] Inappropriateness of breast imaging: cost analysis
    Pistolese, Chiara Adriana
    Ciarrapico, Anna Micaela
    della Gatta, Francesca
    Simonetti, Giovanni
    RADIOLOGIA MEDICA, 2013, 118 (06): : 984 - 994
  • [43] Inappropriateness of breast imaging: cost analysis
    Pistolese, Chiara Adriana
    Ciarrapico, Anna Micaela
    della Gatta, Francesca
    Simonetti, Giovanni
    RADIOLOGIA MEDICA, 2013, 118 (06): : 984 - 994
  • [44] Cost analysis of PACS: Fact or fiction?
    Duerinckx, AJ
    Kenagy, JJ
    Grant, EG
    MEDICAL IMAGING 1999 - PACS DESIGN AND EVALUATION: ENGINEERING AND CLINICAL ISSUES, 1999, 3662 : 253 - 262
  • [46] Cost analysis of adaptive fault management
    Tirtea, R
    Deconinck, G
    Belmans, R
    ANNUAL RELIABILITY AND MAINTAINABILITY SYMPOSIUM, 2005 PROCEEDINGS, 2005, : 361 - 367
  • [47] Cost analysis of laparoscopic cholecystectomy in children
    Ure, BM
    Lefering, R
    Holschneider, AM
    EUROPEAN JOURNAL OF PEDIATRIC SURGERY, 1999, 9 (01) : 8 - 12
  • [48] Cost Analysis of the Mobile Library Service
    Cheng Wei
    Ding Shuting
    Hu Lili
    PROCEEDINGS OF THE THIRTEENTH INTERNATIONAL SYMPOSIUM - MANAGEMENT SCIENCE & ENGINEERING (2014), 2014, : 71 - 78
  • [49] An analysis on AMID treatment cost in Japan
    Masuda, N.
    Ueda, H.
    12TH INTERNATIONAL SYMPOSIUM ON ENVIRONMENTAL ISSUES AND WASTE MANAGEMENT IN ENERGY AND MINERAL PRODUCTION - SWEMP 2010, 2010, : 307 - 313
  • [50] Cost analysis of chronic intestinal failure
    Canovai, Emilio
    Ceulemans, Laurens J.
    Peers, Guido
    De Pourcq, Lutgart
    Pijpops, Marleen
    De Hertogh, Gert
    Hiele, Martin
    Pirenne, Jacques
    Vanuytsel, Tim
    CLINICAL NUTRITION, 2019, 38 (04) : 1729 - 1736