Chameleon: Decoupling Instrumentation from Development Tools with Explicit Meta-Events

Andrea Quadri. Chameleon: Decoupling Instrumentation from Development Tools with Explicit Meta-Events. Master’s Thesis, University of Bern, January 2012. Details.


Software instrumentation monitors the run-time behavior of a system to support a particular kind of analysis. The behavior of a system can be understood as a set of meta-level events that occur to achieve a goal. Instrumentation is often realized with the help of reflective mechanisms that reify these meta-events. Despite many advances, these approaches have a common drawback: the instrumentation of the base level is tightly coupled to the behavior of the development tools that required the instrumentation in the first place. This prevents development tools from leveraging the event abstractions used by other tools and forces them to respecify the events and their instrumentation. We propose to resolve this problem by modeling meta-events explicitly. Instrumentation is dedicated to generating meta-events, and is fully separated from analysis tools which selectively subscribe to these events by applying the observer pattern at the meta-level. We survey approaches to reflection to establish the key requirements for practical applications, and illustrate the limitations of these approaches. We introduce Chameleon, a prototype tool modeling the meta-level as explicit meta-events observable by development tools.

Posted by scg at 12 January 2012, 9:15 am link


Exciting topic! I went through the document and I liked it.

Posted by Alexandre Bergel at 16 January 2012, 3:43 pm link
Last changed by admin on 21 April 2009