Sub-method Structural and Behavioral Reflection

Abstract : Computational reflection is a fundamental mechanism in object oriented languages. Reflection has proved useful in many contexts, such as in the design of development environments, language extension, and the dynamic, unanticipated adaptation of running systems We identify three problems with the current approach to reflection in object oriented languages: partial behavioral reflection needs to be anticipated, structural reflection is limited to the granularity of a method, and behavioral reflection cannot be applied to the whole system. To address these problems, we extend structural reflection to cover sub-method elements and present how sub-method structural reflection supports unanticipated partial behavioral reflection. We add the concept of context to represent meta-level execution and show how this allows behavioral reflection to be applied even to system classes. We describe an implementation in Smalltalk. Benchmarks validate the practicability of our approach. In addition, we present an experimental evaluation in which we show how the system is used for dynamic analysis. We realize dynamic feature analysis by annotating the sub-method structure of the system directly to denote features instead of recording full execution traces.
Type de document :
Thèse
Computer Science [cs]. Universität Bern, 2008. English
Liste complète des métadonnées

Littérature citée [135 références]  Voir  Masquer  Télécharger

https://tel.archives-ouvertes.fr/tel-00555937
Contributeur : Lse Lse <>
Soumis le : vendredi 14 janvier 2011 - 16:21:01
Dernière modification le : mardi 18 janvier 2011 - 10:22:01
Document(s) archivé(s) le : mardi 6 novembre 2012 - 11:35:33

Identifiants

  • HAL Id : tel-00555937, version 1

Citation

Marcus Denker. Sub-method Structural and Behavioral Reflection. Computer Science [cs]. Universität Bern, 2008. English. 〈tel-00555937〉

Partager

Métriques

Consultations de la notice

226

Téléchargements de fichiers

563