







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
The concept of simple m-sequences in monitor-based programs and how they can be traced and replayed during debugging. It also covers the modification of sc and su monitor toolboxes to support tracing and replay, complete m-sequences, and reachability testing for monitor-based programs. Examples of monitor classes and their implementation using java. It is useful for students and researchers in the field of concurrent programming, computer science, and software engineering.
Typology: Study notes
1 / 13
This page cannot be seen from the preview
Don't miss anything!








4.10 Tracing and Replay for Monitors Outline:^
simple M-sequences of monitor-based programs
tracing and replaying simple M-sequences during debugging
modifying the SC and SU monitor toolboxes to support tracing and replay
complete M-sequences and a technique for using complete M-sequences to testmonitor-based programs
applying reachability testing to monitor-based programs 4.10.1 Simple M-sequences Let M be a monitor that is implemented using one of the monitor toolboxes.An execution of a program that uses M can be viewed as a sequence of
and
operations on the semaphores in the implementation of M:^
a simple SYN-sequence for M is the collection of simple PV-sequences for thesemaphores in the implementation of M.
we can replay an execution of a program that uses M by applying the replay methodthat was presented in Chapter 3 for replaying PV-sequences of semaphore-basedprograms. A simpler method is based on the property of
entry-based execution