Back to overview

Runtime Class Updates using Modification Models

Type of publication Peer-reviewed
Publikationsform Proceedings (peer-reviewed)
Publication date 2011
Author Verwaest Toon, Schwarz Niko, Wernli Erwann,
Project Synchronizing Models and Code
Show all

Proceedings (peer-reviewed)

Title of proceedings Workshop on Reflection, AOP and Meta-Data for Software Evolution (RAM-SE'11)

Open Access


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.