Skip to content
Success

Changes

Summary

  1. Do not hide the in-kernel part of the stack, it's often useful (details)
  2. Free the memory of canceled activities ASAP (details)
  3. MC: Revalidate the tesh files after the recent mutex/condvar dependency improvement (details)
Commit ba6934f3dcc150ae6e8c1368796ffb1610d4b3dc by Martin Quinson
Do not hide the in-kernel part of the stack, it's often useful
The file was modified src/xbt/backtrace.cpp
Commit d9d5d14cc4755e60fcf72683b9c87e746f797ed6 by Martin Quinson
Free the memory of canceled activities ASAP

Each actor has a set of activities it needs to destroy when it gets
killed, but canceled activities were never removed from this list. As
a result, the refcount of canceled activities never reached 0 until
the termination of the actors.

In very cancel-intensive simulations, this could result in a
inordinate memory usage, so removing canceled activities of actors'
lists is better. This makes the code somewhat less tolerent to memory
errors from the user side, as activities are removed very soon. But
this should still be better.
The file was modified src/kernel/activity/SemaphoreImpl.cpp
The file was modified src/kernel/activity/MessImpl.cpp
The file was modified src/kernel/activity/ActivityImpl.cpp
The file was modified src/kernel/actor/ActorImpl.cpp
The file was modified src/kernel/resource/HostImpl.cpp
The file was modified src/kernel/activity/CommImpl.cpp
The file was modified src/kernel/activity/ConditionVariableImpl.cpp
Commit 8641294674b1ed07ec79915f6f8d399d9be702dd by Martin Quinson
MC: Revalidate the tesh files after the recent mutex/condvar dependency improvement
The file was modified teshsuite/mc/mcmini/philosophers_semaphores_deadlock.tesh
The file was modified examples/sthread/pthread-mc-mutex-simpledeadlock.tesh
The file was modified examples/sthread/pthread-mc-mutex-recursive.tesh
The file was modified teshsuite/mc/mcmini/simple_mutex_with_threads_ok.tesh
The file was modified teshsuite/mc/mcmini/philosophers_mutex_deadlock.tesh
The file was modified examples/sthread/pthread-mc-mutex-simple.tesh
The file was modified examples/sthread/pthread-mc-producer-consumer.tesh