






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Professor: Carver; Class: Concurrent Software Syst; Subject: Computer Science; University: George Mason University; Term: Unknown 1989;
Typology: Study notes
1 / 12
This page cannot be seen from the preview
Don't miss anything!







6.5 Testing and Debugging Distributed Programs Outline:^
SYN-sequences for distributed Java programs that use classes
TCPSender
and
TCPMailbox
tracing, replay and feasibility Let DP be a distributed program:^
DP consists of multiple Java programs,
There are one or more Java programs running on each node in the system.
Each Java program contains one or more threads.
These threads use
TCPSender
and
TCPMailbox
objects to communicate with threads
in other programs and possibly on other nodes.
Threads in the same Java program can communicate and synchronize using sharedvariables and the channel, semaphore, or monitor objects presented in previouschapters
and
are
traced,
tested,
and
replayed
using
the
techniques
described
previously. 6.5.1 Object-Based Sequences There is one SYN-sequence for each synchronization object in the program.The synchronization objects in program DP are its
TCPMailbox
objects.
The threads in DP execute CARC (
onect
rrival
eceive
lose) synchronization events
of the following four types:^
connection
: A connection is created between a
TCPSender
object and its associated
TCPMailbox
object by calling
connect()
on the
TCPSender
. (The host address and port
number of a
TCPMailbox
is associated with a
TCPSender
object when the
TCPSender
object is constructed.)