Approaches to Capturing Java Threads State
نویسندگان
چکیده
This paper describes a range of approaches to capturing the state of Java threads. The capture and restoration of Java threads state have two main purposes: to make Java applications mobile and to make them persistent. We compare different approaches, give a preliminary evaluation and describe our ongoing work in this area.
منابع مشابه
Pickling Threads State in the Java System
Java provides a serialization mechanism which allows the capture and restoration of objects’ state and therefore the migration of objects between machines. It also allows classes to be dynamically loaded and therefore to be moved between nodes. However, Java does not provide a mechanism for capturing and restoring a thread state. The stack of a Java thread is not accessible. Such a mechanism wo...
متن کاملOn the use of Threads in Mobile Object Systems
We have developed a portable mechanism for transparent thread migration in Java. This thread migration mechanism is implemented by instrumenting the original application code through a bytecode transformer without modifying the Java Virtual Machine. In this paper we examine how this thread state capturing mechanism can be extended such that JVM thread semantics can be maintained in mobile objec...
متن کاملExtending Camelot with Mutable State and Concurrency
Camelot is a resource-bounded functional programming language which compiles to Java byte code to run on the Java Virtual Machine. We extend Camelot to include language support for Camelot-level threads which are compiled to native Java threads. We extend the existing Camelot resource-bounded type system to provide safety guarantees about the heap usage of Camelot threads.
متن کاملMonitorExplorer: A State Exploration-Based Approach to Testing Java Monitors
A Java monitor is a Java class that defines one or more synchronized methods. Unlike a regular object, a Java monitor object is intended to be accessed by multiple threads simultaneously. Thus, testing a Java monitor can be significantly different from testing a regular class. In this paper, we propose a state exploration-based approach to testing a Java monitor. A novel aspect of our approach ...
متن کاملJinni: Intelligent Mobile Agent Programming at the Intersection of Java and Prolog
Jinni (Java INference engine and Networked Interactor), is a lightweight, multi-threaded, logic programming language, intended to be used as a exible scripting tool for gluing together knowledge processing components and Java objects in distributed applications. Jinni threads are coordinated through blackboards, local to each process. Associative search based on term uniication (a variant of Li...
متن کامل