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


JBInsTrace: A tracer of Java and JRE classes at basic-block granularity by dynamically instrumenting bytecode
Affiliation:1. LORIA - Campus Scientifique, 615 Rue du Jardin Botanique CS 20101, 54603 VILLERS-LES-NANCY CEDEX, France;2. INRIA Nancy - Grand Est/LORIA, 615 Rue du Jardin Botanique, CS 20101, 54603 VILLERS-LES-NANCY CEDEX, France
Abstract: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.
Keywords:
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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