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 条
  • [31] Differential Cost Analysis with Simultaneous Potentials and Anti-potentials
    Zikelic, Dorde
    Chang, Bor-Yuh Evan
    Bolignano, Pauline
    Raimondi, Franco
    PROCEEDINGS OF THE 43RD ACM SIGPLAN INTERNATIONAL CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '22), 2022, : 442 - 457
  • [32] COMPANY COST ANALYSIS METHOD UTILIZATION IN COST CONTROLLING
    Foltinova, Alzbeta
    Dubcova, Gabriela
    Sloboda, Juraj
    PODNIKANIE A KONKURENCIESCHOPNOST' FIRIEM 2010, 2010, : 78 - 86
  • [33] The increased cost of ventral hernia recurrence: a cost analysis
    Davila, D. G.
    Parikh, N.
    Frelich, M. J.
    Goldblatt, M. I.
    HERNIA, 2016, 20 (06) : 811 - 817
  • [34] The increased cost of ventral hernia recurrence: a cost analysis
    D. G. Davila
    N. Parikh
    M. J. Frelich
    M. I. Goldblatt
    Hernia, 2016, 20 : 811 - 817
  • [35] The cost of being clean: A cost analysis of nasopharyngoscope reprocessing techniques
    Sowerby, Leigh J.
    Rudmik, Luke
    LARYNGOSCOPE, 2018, 128 (01) : 64 - 71
  • [36] Cost analysis of a needlestick injury
    Wagner-Ferrer, D.
    Hartmann, W.
    ANASTHESIOLOGIE & INTENSIVMEDIZIN, 2006, 47 : S63 - S66
  • [37] Cost analysis in thoracolumbar fractures
    Hitchon, P
    Torner, J
    Follett, KA
    JOURNAL OF NEUROSURGERY, 1996, 84 (02) : 819 - 819
  • [38] Echinococcosis in Tunisia: a cost analysis
    Majorowski, MM
    Carabin, H
    Kilani, M
    Bensalah, A
    TRANSACTIONS OF THE ROYAL SOCIETY OF TROPICAL MEDICINE AND HYGIENE, 2005, 99 (04) : 268 - 278
  • [39] Cost analysis of a needlestick injury
    Wagner-Ferrer, D.
    Hartmann, W.
    ANASTHESIOLOGIE & INTENSIVMEDIZIN, 2006, 47 : S63 - S66
  • [40] Preventive and corrective maintenance - cost comparison and cost-benefit analysis
    Stenstrom, Christer
    Norrbin, Per
    Parida, Aditya
    Kumar, Uday
    STRUCTURE AND INFRASTRUCTURE ENGINEERING, 2016, 12 (05) : 603 - 617