enigma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Enigma-devel] memory management problem


From: Petr Machata
Subject: [Enigma-devel] memory management problem
Date: Sun, 15 Jun 2003 05:47:08 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3; MultiZilla v1.4.0.2) Gecko/20030312

While observing the memory management in Enigma code, I discovered that rather small number of on_removal()s get called. I think that problem is that the removal() itself never gets called, and that in turn happens because yield() never gets called (as to my best knowledge, yield() is the only method that calls removal()).

If it's true, (and my precious debugging messages say so), and if we can fix this problem, major part of remaining leak could be taken care of. on_removal() usually releases resources... I didn't yet quite got all Enigma internals, so I'm leaving this problem public. This looks like the system-wide thing that can be simply hacked around, but is not so simple to fix properly.

Petr Machata






reply via email to

[Prev in Thread] Current Thread [Next in Thread]