Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
actually fix the memleak around smpi's process_data
authorMartin Quinson <martin.quinson@loria.fr>
Sat, 3 Feb 2018 21:26:25 +0000 (22:26 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Sat, 3 Feb 2018 21:26:33 +0000 (22:26 +0100)
commit3c40b1bfc4f4925fa401d3b5d0c74a4b4824b3d5
tree74e015f534c161113d2f2cc1d7c34536a3b4af0f
parent8114a7ffbd1bce51063c0c2b19ad790c44603c66
actually fix the memleak around smpi's process_data

- Call Actor::onDestruction from the right location
- Have SMPI only destroy the process data of its own processes (not of MSG ones)
- Make sure that the process created with MSG_process_attach() have
  the right refcount since we now use a smart pointer on it: we don't
  want it to get freed too early.
src/simix/ActorImpl.cpp
src/smpi/internals/smpi_global.cpp