Compiler-directed Dynamic Linking for Mobile Programs
Compiler-directed Dynamic Linking for Mobile Programs
Files
Publication or External Link
Date
1998-10-15
Authors
Acharya, Anurag
Saltz, Joel
Advisor
Citation
DRUM DOI
Abstract
In this paper, we present a compiler-directed technique for safe
dynamic linking for mobile programs. Our technique guarantees that
linking failures can occur only when a program arrives at a new
execution site and that this failure can be delivered to the program
as an error code or an exception. We use interprocedural analysis to
identify the set of names that must be linked at the different sites
the program executes on. We use a combination of runtime and
compile-time techniques to identify the calling context and to link
only the names needed in that context. Our technique is able to handle
recursive programs as well as separately compiled code that may itself
be able to move. We discuss language constructs for controlling the
behavior of dynamic linking and the implication of some of these
constructs for application structure.
(Also cross-referenced as UMIACS-TR-96-81)