Abstract
A scheme has been developed that enables a Java program to be migrated across computers while preserving its execution state, such as the values of local variables and the dynamic extents of try-and-catch blocks. This scheme provides the programmer with exible control of migration, including transparent migration. It is based on source-code-level transformation. The translator takes as input code a Java program written in a Java language extended with language constructs for migration, and outputs pure Java source code that uses JavaRMI. The translated code can run on any Java interpreter and can be compiled by any just-in-time compiler.We have measured some execution performance for several application programs, and found that the translated programs are only about 20% slower than the original programs. Because migration is completely controlled by using only three language constructs added to the Java language (go, undock and migratory), the programmer can write programs to be migrated easily and succinctly. Our system is available in the public domain.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Krishna A. Bharat and Luca Cardelli. Migratory Applications. In Proceedings of the 8th Annual ACM Symposium on User Interface Software and Technology, 1995.
Henry Cejtin, Suresh Jagannathan, and Richard Kelsey. Higher-Order Distributed Objects. In ACM Transactions on Programming Languages and Systems, volume 17(5), pages 704–739, 1995.
Bozhidar Dimitrov and Vernon Rego. Arachne: A Portable Threads System Supporting Migrant Threads on Heterogeneous Network Farms. In Proceedings of IEEE Parallel and Distributed Systems, volume 9(5), pages 459–469, 1998.
Bjorn N. Freeman-Benson, John Maloney, and Alan Borning. An Incremental Constraint Solver. In CACM, volume 33(1), pages 54–63, 1990.
Stefan Fünfrocken. Transparent Migration of Java-Based Mobile Agents. In MA’98 Mobile Agents, 1477, Lecture Notes in Computer Science, pages 26–37, 1998.
General Magic Inc. Telescript Programming Guide. Version 1.0 alpha 2, 1996.
Robert S. Gray. Agent Tcl: A Transportable Agent System. In Proceedings of the CIKM Workshop on Intelligent Information Agents, 1995.
Guy SteeleJr. Common LISP: The Language. Digital Press, 1984.
Danny B. Lange and Daniel T. Chang. IBM Aglets Workbench: A White Paper, 1996. IBM Corporation.
Voyager core package technical overview, 1997. ObjectSpace Inc.
Tatsurou Sekiguchi and Akinori Yonezawa. A Calculus with Code Mobility. In Proceedings of Second IFIP International Conference on Formal Methods for Open Object-based Distributed Systems, pages 21–36. Chapman & Hall, 1997.
Tatsurou Sekiguchi. JavaGo, 1998. http://web.yl.is.s.u-tokyo.ac.jp/amo/.
Kazuyuki Shudo. Thread Migration on Java Environment. Master’s Thesis, University of Waseda, 1997.
James W. Stamos and David K. Gifford. Remote Evaluation. In ACM Transactions on Programming Languages and Systems, volume 12(4), pages 537–565, 1990.
Sun Microsystems Laboratories. Benchmarking Java with Richards and DeltaBlue. http://www.sunlabs.com/people/mario/java benchmarking/index.html.
TakuoWatanabe. Mobile Code Description using Partial Continuations: Denfiition and Operational Semantics. In Proceedings of WOOC, 1997.
James E. White. Telescript Technology: An Introduction to the Language, 1995. General Magic white paper.
James E. White. Mobile Agents. In Jeffrey Bradshaw, editor, Software Agents. The MIT Press, 1996.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1999 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Sekiguchi, T., Masuhara, H., Yonezawa, A. (1999). A Simple Extension of Java Language for Controllable Transparent Migration and its Portable Implementation. In: Ciancarini, P., Wolf, A.L. (eds) Coordinatio Languages and Models. COORDINATION 1999. Lecture Notes in Computer Science, vol 1594. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-48919-3_16
Download citation
DOI: https://doi.org/10.1007/3-540-48919-3_16
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-65836-8
Online ISBN: 978-3-540-48919-1
eBook Packages: Springer Book Archive