Understanding Pharo's global state to move programs through time and space - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2014

Understanding Pharo's global state to move programs through time and space

Résumé

Code mobility is a mechanism that allows the migration of running programs between different environments. Such migration includes amongst others the migration of application data and resources. Application's data is is usually composed by elements of different nature: from printers and files, to framework and domain objects. This application data will be transported along with the code of its program in space (when serialized and deployed in another environment) or time (when a new session is started in a different point of time). The main problem when moving around code resides, in our understanding, to global state. While unreferenced leaf objects are garbage collected, those referenced (transitively) by some global object will remain alive. In order to support code mobility in time and space, we need to understand how global application data is used. With this purpose, we study and classify Pharo's global state. This classification uncovers some common patterns and provides a first insight on how global state should be managed, specially in code mobility scenarios. As a minor contribution, we also discuss solutions to each of the found categories.

Mots clés

Fichier principal
Vignette du fichier
Poli14b-IWST-GlobalStateClassification.pdf (112.73 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-01070964 , version 1 (02-10-2014)

Identifiants

  • HAL Id : hal-01070964 , version 1

Citer

Guillermo Polito, Noury Bouraqadi, Stéphane Ducasse, Luc Fabresse. Understanding Pharo's global state to move programs through time and space. International Workshop on Smalltalk Technologies, Aug 2014, Edinburgh, United Kingdom. ⟨hal-01070964⟩
630 Consultations
440 Téléchargements

Partager

Gmail Facebook X LinkedIn More