Publikation

Zurück zur Übersicht

Runtime Class Updates using Modification Models

Publikationsart Peer-reviewed
Publikationsform Tagungsbeitrag (peer-reviewed)
Publikationsjahr 2011
Autor/in Verwaest Toon, Schwarz Niko, Wernli Erwann
Projekt Synchronizing Models and Code
Alle Daten anzeigen

Tagungsbeitrag (peer-reviewed)

Titel der Proceedings Workshop on Reflection, AOP and Meta-Data for Software Evolution (RAM-SE'11)
Status Publiziert

Open Access

Abstract

Dynamic updates in object-oriented languages require high-level changes to be translated to low-level changes. For example, removing an unused instance variable from a class may shift the indices of other instance variables. The shift needs to be translated to a change of the bytecodes accessing these instance variables. Current languages do not offer a bridge between the two levels of abstraction. We outline such a model, and demonstrate its usefulness by discussing a prototype implementation in Pharo Smalltalk. In addition to simplifying the implementation of dynamic updates, our model enables easy experiments in modifying the language semantics.