Title
Transparent Distributed Threads for Java
Abstract
Remote method invocation in Java RMI allows the flow of control to pass across local Java threads and thereby span multiple virtual machines. However, the resulting distributed threads do not strictly follow the paradigm of their local Java counterparts for at least three reasons: Firstly, the absence of a global thread identity causes problems when reentering monitors. Secondly, blocks synchronized on remote objects do not work properly. Thirdly, the thread interruption mechanism for threads executing a remote call is broken. These problems make multi-threaded distributed programming complicated and error prone. We present a two-level solution: On the library level, we extend KaRMI, a fast replacement for RMI, with global thread identities for eliminating problems with monitor reentry. Problem with synchronization on remote objects are solved with a facility for remote monitor acquisition. Our interrupt forwarding mechanism enables the application to get full control over its distributed threads. On the language level, we integrate these extensions with JavaParty's transparent remote objects to get transparent distributed threads. We finally evaluate our approach with benchmarks that show costs and benefits of our overall design.
Year
DOI
Venue
2003
10.1109/IPDPS.2003.1213261
IPDPS
Keywords
Field
DocType
java rmi,global thread identity,remote monitor acquisition,remote object,local java counterpart,transparent remote object,remote call,local java thread,remote method invocation,thread interruption mechanism,remote procedure calls,remote monitoring,synchronisation,workstations,costs and benefits,synchronization,distributed programming,java,interrupts,network interfaces,virtual machine,scalability,multi threading,operating systems
Multithreading,Remote procedure call,Distributed object,Yarn,Computer science,Java concurrency,Parallel computing,Thread (computing),Java,Green threads,Operating system,Distributed computing
Conference
ISBN
Citations 
PageRank 
0-7695-1926-1
14
0.84
References 
Authors
15
4
Name
Order
Citations
PageRank
Bernhard Haumacher118217.13
Thomas Moschny2374.18
Jürgen Reuter3505.11
Walter F. Tichy42546438.90