首页 | 本学科首页   官方微博 | 高级检索  
     


Cost analysis of object-oriented bytecode programs
Authors:Elvira AlbertPuri Arenas  Samir GenaimGerman Puebla  Damiano Zanardini
Affiliation:
  • a Complutense University of Madrid, Spain
  • b Technical University of Madrid, Spain
  • Abstract:Cost analysis statically approximates the cost of programs in terms of their input data size. This paper presents, to the best of our knowledge, the first approach to the automatic cost analysis of object-oriented bytecode programs. In languages such as Java and C#, analyzing bytecode has a much wider application area than analyzing source code since the latter is often not available. Cost analysis in this context has to consider, among others, dynamic dispatch, jumps, the operand stack, and the heap. Our method takes a bytecode program and a cost model specifying the resource of interest, and generates cost relations which approximate the execution cost of the program with respect to such resource. We report on COSTA, an implementation for Java bytecode which can obtain upper bounds on cost for a large class of programs and complexity classes. Our basic techniques can be directly applied to infer cost relations for other object-oriented imperative languages, not necessarily in bytecode form.
    Keywords:Cost analysis   Resource usage analysis   Bytecode languages   Static analysis   Quantitative analysis
    本文献已被 ScienceDirect 等数据库收录!
    设为首页 | 免责声明 | 关于勤云 | 加入收藏

    Copyright©北京勤云科技发展有限公司  京ICP备09084417号