TU Darmstadt / ULB / TUbiblio

Complete and Platform-Independent Calling Context Profiling for the Java Virtual Machine

Sarimbekov, Aibek ; Moret, Philippe ; Binder, Walter ; Sewe, Andreas ; Mezini, Mira :
Complete and Platform-Independent Calling Context Profiling for the Java Virtual Machine.
[Online-Edition: http://dx.doi.org/10.1016/j.entcs.2011.11.006]
In: Sixth Workshop on Bytecode Semantics, Verification, Analysis and Transformation (Bytecode 2011), 27 Mar 2011, Saarbrücken, Germany. In: Electronic Notes in Theoretical Computer Science , 279 (1)
[Konferenz- oder Workshop-Beitrag], (2011)

Offizielle URL: http://dx.doi.org/10.1016/j.entcs.2011.11.006

Kurzbeschreibung (Abstract)

Calling context profiling collects statistics separately for each calling context. Complete calling context profiles that faithfully represent overall program execution are important for a sound analysis of program behavior, which in turn is important for program understanding, reverse engineering, and workload characterization. Many existing calling context profilers for Java rely on sampling or on incomplete instrumentation techniques, yielding incomplete profiles; others rely on Java Virtual Machine (JVM) modifications or work only with one specific JVM, thus compromising portability. In this paper we present a new calling context profiler for Java that reconciles completeness of the collected profiles and full compatibility with any standard JVM. In order to reduce measurement perturbation, our profiler collects platform-independent dynamic metrics, such as the number of method invocations and the number of executed bytecodes. In contrast to prevailing calling context profilers, our tool is able to distinguish between multiple call sites in a method and supports selective profiling of (the dynamic extent of) certain methods. We have evaluate the overhead introduced by our profiler with standard Java and Scala benchmarks on a range of different JVMs.

Typ des Eintrags: Konferenz- oder Workshop-Beitrag (Keine Angabe)
Erschienen: 2011
Autor(en): Sarimbekov, Aibek ; Moret, Philippe ; Binder, Walter ; Sewe, Andreas ; Mezini, Mira
Titel: Complete and Platform-Independent Calling Context Profiling for the Java Virtual Machine
Sprache: Englisch
Kurzbeschreibung (Abstract):

Calling context profiling collects statistics separately for each calling context. Complete calling context profiles that faithfully represent overall program execution are important for a sound analysis of program behavior, which in turn is important for program understanding, reverse engineering, and workload characterization. Many existing calling context profilers for Java rely on sampling or on incomplete instrumentation techniques, yielding incomplete profiles; others rely on Java Virtual Machine (JVM) modifications or work only with one specific JVM, thus compromising portability. In this paper we present a new calling context profiler for Java that reconciles completeness of the collected profiles and full compatibility with any standard JVM. In order to reduce measurement perturbation, our profiler collects platform-independent dynamic metrics, such as the number of method invocations and the number of executed bytecodes. In contrast to prevailing calling context profilers, our tool is able to distinguish between multiple call sites in a method and supports selective profiling of (the dynamic extent of) certain methods. We have evaluate the overhead introduced by our profiler with standard Java and Scala benchmarks on a range of different JVMs.

Titel der Zeitschrift, Zeitung oder Schriftenreihe: Electronic Notes in Theoretical Computer Science
Buchtitel: Proceedings of the Sixth Workshop on Bytecode Semantics, Verification, Analysis and Transformation
Reihe: Electronic Notes in Theoretical Computer Science
Band: 279
(Heft-)Nummer: 1
Freie Schlagworte: Calling Context Profiling, JP2, Bytecode Instrumentation, Dynamic Metrics
Fachbereich(e)/-gebiet(e): Fachbereich Informatik > Softwaretechnik
Zentrale Einrichtungen > CASED
Fachbereich Informatik
Zentrale Einrichtungen
Veranstaltungstitel: Sixth Workshop on Bytecode Semantics, Verification, Analysis and Transformation (Bytecode 2011)
Veranstaltungsort: Saarbrücken, Germany
Veranstaltungsdatum: 27 Mar 2011
Hinterlegungsdatum: 06 Feb 2012 14:30
Offizielle URL: http://dx.doi.org/10.1016/j.entcs.2011.11.006
ID-Nummer: 10.1016/j.entcs.2011.11.006
Verwandte URLs:
Export:

Optionen (nur für Redakteure)

Eintrag anzeigen Eintrag anzeigen