End-User Abstractions for Meta-Control: Reifying the Reflectogram - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Journal Articles Science of Computer Programming Year : 2017

End-User Abstractions for Meta-Control: Reifying the Reflectogram

Abstract

Reflective facilities in OO languages are used both for implementing language extensions (such as AOP frameworks) and for supporting new programming tools and methodologies (such as object-centric debugging and message-based profiling). Yet controlling the runtime behavior of these reflective facilities introduces several challenges, such as computational overhead, the possibility of meta-recursion and an unclean separation of concerns between base and meta-level. In this paper we present five dimensions of meta-level control from related literature that try to remedy these problems. These dimensions are namely: temporal and spatial control, placement control, level control and identity control. We then discuss how these dimensions interact with language semantics in class-based OO languages in terms of: scoping, inheritance and first-class entities. We argue that the reification of the descriptive notion of reflectogram can unify the control of meta-level execution in all these five dimensions while expressing properly the underlying language semantics. We present an extended model for the reification of the reflectogram based on our additional analysis and validate our approach through a new prototype implementation that relies on byte-code instrumentation. Finally, we illustrate our approach through a case study on runtime tracing.
Fichier principal
Vignette du fichier
reflectogram-scp-submit (1).pdf (606.33 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-01424787 , version 1 (02-01-2017)

Identifiers

Cite

Nick Papoulias, Marcus Denker, Stéphane Ducasse, Luc Fabresse. End-User Abstractions for Meta-Control: Reifying the Reflectogram. Science of Computer Programming, 2017, 140, pp.2-16. ⟨10.1016/j.scico.2016.12.002⟩. ⟨hal-01424787⟩
392 View
270 Download

Altmetric

Share

Gmail Mastodon Facebook X LinkedIn More