Back to results

University of Malta

Reducing instrumentation points in Larva

Abstract

dc:description.abstract

When dealing with the correctness assurance of huge and complex systems, runtime verification is becoming an increasingly popular technique. The Larva tool was built to automatically generate runtime verification monitors that would help to validate the behavior of Java programs at runtime. The runtime verification monitor is compiled as Java and AspectJ code from a special language specification called Larva Script. These generated monitors are weaved together with the target system and while the target system is used, the monitor is fed event triggers to validate with the specified properties. In this thesis I identify concrete optimization features that can be introduced to the current Larva compiling tool to improve it and select the ones that are applicable to the Larva Tool. These improvements and features attempt to tackle the problem that the Larva tool and similar runtime verification monitor generating tools face. This problem consists of excess memory and performance overheads that are introduced to the target system when running with the weaved runtime monitors. Therefore the main aim is to try and reduce the overheads introduced by the runtime verification monitors. To be able to solve this problem, we take a look at a similar study that was carried out on similar tools that successfully helped to reduce the overheads when possible. By doing so we were able to identify what features to add to successfully optimize the runtime monitors generated by the Larva Tool. This is achieved by extending the Larva architecture to support the new optimizing feature consisting of Dependent Advices and is verified to be optimizing the runtime monitors generated in the case study. To be able to identify the performance gains for the optimization that was introduced to the Larva tool, a benchmark is used. This benchmark is weaved with runtime monitors generated by a number of Larva scripts and was used to gather values that then helped compare the results with the performance of the standard runtime verification monitors to evaluate the optimization gains achieved.

Degree

thesis:*
Grantor dc:publisher.institution
University of Malta
Year dc:date.issued
2013

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • info:eu-repo/semantics/restrictedAccess
Language dc:language.iso
en

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
https://www.um.edu.mt/library/oar/handle/123456789/93381
OAI identifier oai:identifier
oai:www.um.edu.mt:123456789/93381

Chain of custody

source
Harvested from
University of Malta
Base URL
www.um.edu.mt/library/oar/oai/request
Last updated
2026-07-27
Source record
OAI-PMH GetRecord
citation

Reducing instrumentation points in Larva. University of Malta, 2013. https://www.um.edu.mt/library/oar/handle/123456789/93381