Load-Time Adaptation: Efficient and Non-Intrusive Language Extension for Virtual Machines (1999)
| Venue: | Mark P Jones, Journal of Functional Programming |
| Citations: | 5 - 0 self |
BibTeX
@TECHREPORT{Duncan99load-timeadaptation:,
author = {Andrew Duncan and Urs Hölzle},
title = {Load-Time Adaptation: Efficient and Non-Intrusive Language Extension for Virtual Machines},
institution = {Mark P Jones, Journal of Functional Programming},
year = {1999}
}
OpenURL
Abstract
Abstract The advantages of virtual machine (VM) execution (dynamically loaded, portable object files with high-level information) also permit changing the semantics of executables. Load-time adaptation (LTA) intercepts the VM’s file operations and modifies object code on the fly, without changing the VM implementation, without needing access to source code, and without changing the actual files. We introduce a new technique, library-based LTA, and show how it can extend languages in such ways as adding contracts or mixins to existing classes, providing default code for interfaces, and instantiating parameterized types. We discuss an implementation of library-based LTA and its application to extending Java semantics. 1.







