JBInsTrace: A Tracer of Java and JRE Classes at Basic-Block Granularity by Dynamically Instrumenting Bytecode

Pierre Caserta 1 Olivier Zendra 1
1 TRIO - Real time and interoperability
Inria Nancy - Grand Est, LORIA - NSS - Department of Networks, Systems and Services
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.
Type de document :
Article dans une revue
Science of Computer Programming, Elsevier, 2012
Liste complète des métadonnées

Littérature citée [25 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-00672976
Contributeur : Pierre Caserta <>
Soumis le : vendredi 28 septembre 2012 - 10:31:26
Dernière modification le : jeudi 11 janvier 2018 - 06:25:24
Document(s) archivé(s) le : samedi 29 décembre 2012 - 04:05:27

Fichier

JBInsTrace_A_Tracer_of_Java_an...
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-00672976, version 2

Collections

Citation

Pierre Caserta, Olivier Zendra. JBInsTrace: A Tracer of Java and JRE Classes at Basic-Block Granularity by Dynamically Instrumenting Bytecode. Science of Computer Programming, Elsevier, 2012. 〈hal-00672976v2〉

Partager

Métriques

Consultations de la notice

258

Téléchargements de fichiers

160