Re: [gdome] [gnome] gdome_di_createDocFromMemory Memory Leak
- From: "Gustavo Sverzut Barbieri" <barbieri gmail com>
- To: "Himalay Gopu" <Himalay Gopu openwave com>
- Cc: gdome gnome org
- Subject: Re: [gdome] [gnome] gdome_di_createDocFromMemory Memory Leak
- Date: Fri, 17 Nov 2006 20:31:18 -0200
On 11/16/06, Himalay Gopu <Himalay Gopu openwave com> wrote:
Thanks Gustavo
We have a function which creates the singleton for every transaction and
processes the XML so this should be causing the leak -- AM I RIGHT
weird... how are you creatinga singleton for every transaction?
Singletons should be... singletons, single instances.
BTW what are the singleton classes in gdome -- GdomeDOMImplementation
Does making these classes singleton hinder the performance of the
application in threaded environment?
the singletons here are just the vtable stuff, used to dispatch the
methods. It could be done in other ways, like static or even better
gdome guys could use c++ and let compiler does that.
--
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: barbieri gmail com
MSN: barbieri gmail com
ICQ#: 17249123
Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
Phone: +1 (347) 624 6296; 08122692 sip stanaphone com
GPG: 0xB640E1A2 @ wwwkeys.pgp.net
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]