کد مقاله | کد نشریه | سال انتشار | مقاله انگلیسی | نسخه تمام متن |
---|---|---|---|---|
434263 | 1441696 | 2014 | 10 صفحه PDF | دانلود رایگان |
![عکس صفحه اول مقاله: JBInsTrace: A tracer of Java and JRE classes at basic-block granularity by dynamically instrumenting bytecode JBInsTrace: A tracer of Java and JRE classes at basic-block granularity by dynamically instrumenting bytecode](/preview/png/434263.png)
Understanding what happens during the runtime of a Java program is difficult. Tracking runtime flow can bring valuable information for program understanding and behavior analysis. Polymorphism, thread concurrency or even simple facts like the number of method invocations and the number of executed bytecodes are valuable information to track, but are difficult to compute outside the Java Virtual Machine (JVM) on running programs. In this paper, we present JBInsTrace, a new tool that instruments and traces Java bytecode. It produces static information about source code and a very fine grained trace of Java software execution, combining them to allow detailed analysis of the runtime. Our tool differs from others because it does not only trace program classes but also JRE classes, and does so at basic block level, without altering the JVM and without statically modifying class files. We explain JBInsTrace design, focused towards efficiency, which results in reasonable performance penalty.
► JBInsTrace is a new tool that instruments and traces Java bytecode.
► Our technique does not only trace program classes but also JRE classes.
► It does not alter the JVM nor the .class files.
► Tracing is done at the basic block level of granularity.
► It combines static information and trace to allow detailed analysis of the runtime.
Journal: Science of Computer Programming - Volume 79, 1 January 2014, Pages 116–125