To support incremental replay of message-passing applications. processes mu
st periodically checkpoint and the content of some messages must be logged,
to break dependencies of the current slate of the execution on past events
. This paper shows that known adaptive logging algorithms are likely to int
roduce deadlocks in replay, and we introduce a new algorithm that: (i) prev
ents deadlocks in replay and (ii) enables the tuning of its behavior to mee
t specific user needs. (C) 2001 Academic Press.