DocumentCode
1890463
Title
Reengineering Standard Java Runtime Systems through Dynamic Bytecode Instrumentation
Author
Binder, Walter ; Hulaas, Jarle ; Moret, Philippe
Author_Institution
Univ. of Lugano, Lugano
fYear
2007
fDate
Sept. 30 2007-Oct. 1 2007
Firstpage
91
Lastpage
100
Abstract
Java bytecode instrumentation is a widely used technique, especially for profiling purposes. In order to ensure the instrumentation of all classes in the system, including dynamically generated or downloaded code, instrumentation has to be performed at runtime. The standard JDK offers some mechanisms for dynamic instrumentation, which however either require the use of native code or impose severe restrictions on the instrumentation of certain core classes of the JDK. These limitations prevent several instrumentation techniques that are important for efficient, calling context-sensitive profiling. In this paper we present a generic bytecode instrumentation framework that goes beyond these restrictions and enables the customized, dynamic instrumentation of all classes in pure Java. Our framework addresses important issues, such as bootstrapping an instrumented JDK, as well as avoiding measurement perturbations due to dynamic instrumentation or execution of instrumentation code. We validated and evaluated our framework using an instrumentation for exact profiling which generates complete calling context trees of various platform-independent dynamic metrics.
Keywords
Java; computer bootstrapping; software libraries; systems re-engineering; virtual machines; Java dynamic bytecode instrumentation; bootstrapping; context-sensitive profiling; standard Java runtime system reengineering; Code standards; Communication standards; Dynamic programming; Informatics; Instruments; Java; Libraries; Manipulator dynamics; Performance analysis; Runtime; JVM; Java; aspect-oriented programming; dynamic bytecode instrumentation; dynamic metrics; profiling; program transformations;
fLanguage
English
Publisher
ieee
Conference_Titel
Source Code Analysis and Manipulation, 2007. SCAM 2007. Seventh IEEE International Working Conference on
Conference_Location
Paris
Print_ISBN
978-0-7695-2880-9
Type
conf
DOI
10.1109/SCAM.2007.20
Filename
4362901
Link To Document