End-User Abstractions for Meta-Control: Reifying the Reflectogram - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Science of Computer Programming Année : 2017

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

Résumé

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
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

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

Identifiants

Citer

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⟩
391 Consultations
269 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More