ByCounter: Portable Runtime Counting of Bytecode Instructions and Method Invocations

Saved in:
Bibliographic Details
Title: ByCounter: Portable Runtime Counting of Bytecode Instructions and Method Invocations
Authors: Michael Kuperberg, Martin Krogmann, Ralf Reussner
Contributors: The Pennsylvania State University CiteSeerX Archives
Source: http://sdqweb.ipd.uka.de/publications/pdfs/kuperberg2008a.pdf.
Collection: CiteSeerX
Description: For bytecode-based applications, runtime instruction counts can be used as a platform-independent application execution metric, and also can serve as the basis for bytecode-based performance prediction. However, different instruction types have different execution durations, so they must be counted separately, and method invocations should be identified and counted because of their substantial contribution to the total application performance. For Java bytecode, most JVMs and profilers do not provide such functionality at all, and existing bytecode analysis frameworks require expensive JVM instrumentation for instruction-level counting. In this paper, we present ByCounter, a lightweight approach for exact runtime counting of executed bytecode instructions and method invocations. ByCounter significantly reduces total counting costs by instrumenting only the application bytecode and not the JVM, and it can be used without modifications on any JVM. We evaluate the presented approach by successfully applying it to multiple Java applications on different JVMs, and discuss the runtime costs of applying ByCounter to these cases. Key words: Java, bytecode, counting, portable, fine-grained
Document Type: text
File Description: application/pdf
Language: English
Relation: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.152.7704; http://sdqweb.ipd.uka.de/publications/pdfs/kuperberg2008a.pdf
Availability: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.152.7704
http://sdqweb.ipd.uka.de/publications/pdfs/kuperberg2008a.pdf
Rights: Metadata may be used without restrictions as long as the oai identifier remains attached to it.
Accession Number: edsbas.E3EB8CF1
Database: BASE
Be the first to leave a comment!
You must be logged in first