Type-based hot swapping of running modules

Authors
Citation
D. Duggan, Type-based hot swapping of running modules, ACM SIGPL N, 36(10), 2001, pp. 62-73
Citations number
54
Categorie Soggetti
Computer Science & Engineering
Journal title
ACM SIGPLAN NOTICES
ISSN journal
15232867 → ACNP
Volume
36
Issue
10
Year of publication
2001
Pages
62 - 73
Database
ISI
SICI code
1523-2867(200110)36:10<62:THSORM>2.0.ZU;2-5
Abstract
While dynamic linking has become an integral part of the run-time execution of modern programming languages, there is increasing recognition of the ne ed for support for hot swapping of running modules, particularly in long-li ved server applications. The interesting challenge for such a facility is t o allow the new module to change the types exported by the original module, while preserving type safety. This paper describes a type-based approach t o hot swapping running modules. The approach is based on a reflective mecha nism for dynamically adding type sharing constraints to the type system, re alized by programmer-defined version adapters in the run-time.