Dynamic Instrumentation in Kieker Using Runtime Bytecode Modification.

Flaig, Albert (2014) Dynamic Instrumentation in Kieker Using Runtime Bytecode Modification. (Bachelor thesis), University of Stuttgart, Stuttgart, Germany, 59 pp.

[thumbnail of Flaig2014DynamicInstrumentationInKiekerUsingRuntimeBytecodeModification.pdf]
Flaig2014DynamicInstrumentationInKiekerUsingRuntimeBytecodeModification.pdf - Published Version

Download (899kB) | Preview


Software systems need constant quality assurance — this holds true in the development phase as well as the production phase. An aspect of quality is the performance of specific software modules. Kieker provides a framework to measure and diagnose runtime information of instrumented software methods. In its current state, Kieker only allows inserting probes before application start. This thesis proposes an alternative concept to extend the functionality of Kieker regarding instrumentation. The alternative approach allows inserting probes during runtime. This is done using a technology known under the term Bytecode Instrumentation (BCI) which enables to change the binary code of classes during execution. Thus the software is "reprogrammed" during runtime to provide the measurement logic. The approach is carried over of another monitoring framework called AIM (Adaptable Instrumentation and Monitoring), which already features an established implementation of this technology. Hence, this thesis aims to connect the benefits of both frameworks. This alternative concept is compared against Kieker’s traditional way of performance measurement by the means of an experimental evaluation. The evaluation aims to investigate the impact on, (1) the overhead, (2) the turnaround time and (3) the reliability in terms of lost transactions. The results show a reduction of overhead, unfortunately at the cost of turnaround time. The reliability also drops due to an increase of lost transactions.

Document Type: Thesis (Bachelor thesis)
Keywords: Kieker, AIM, dynamic instrumentation, runtime bytecode modification
Research affiliation: Kiel University > Software Engineering
Open Access Journal?: Yes
Projects: Kieker
Date Deposited: 17 Dec 2014 23:39
Last Modified: 17 Dec 2014 23:39
URI: https://oceanrep.geomar.de/id/eprint/26572

Actions (login required)

View Item View Item