Skip to content
Free planNo credit card requiredStart writing

article · 2007

Reengineering Standard Java Runtime Systems through Dynamic Bytecode Instrumentation

Walter Binder, Jarle Hulaas, Philippe Moret

Cited by 0Abstract and details only

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.

Cite this paper

APA 7

Binder, W., Hulaas, J., & Moret, P. (2007). Reengineering Standard Java Runtime Systems through Dynamic Bytecode Instrumentation. https://doi.org/10.1109/scam.2007.4362901

MLA 9

Binder, Walter, et al. “Reengineering Standard Java Runtime Systems through Dynamic Bytecode Instrumentation.” 2007, https://doi.org/10.1109/scam.2007.4362901.

Chicago

Binder, Walter, Jarle Hulaas, and Philippe Moret. 2007. “Reengineering Standard Java Runtime Systems through Dynamic Bytecode Instrumentation.” https://doi.org/10.1109/scam.2007.4362901.

Harvard

Binder, W., Hulaas, J. and Moret, P. (2007) ‘Reengineering Standard Java Runtime Systems through Dynamic Bytecode Instrumentation’. Available at: https://doi.org/10.1109/scam.2007.4362901.

BibTeX
@article{binder2007reengineering,
  title = {{Reengineering Standard Java Runtime Systems through Dynamic Bytecode Instrumentation}},
  author = {Binder, Walter and Hulaas, Jarle and Moret, Philippe},
  year = {2007},
  doi = {10.1109/scam.2007.4362901}
}

Made from the index record. Check names, capitalisation and page numbers against the paper. Need another style? AI for Research has over 10,000.