bug-gnustep
[Top][All Lists]
Advanced

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

Re[2]: GDL2 - patches for OSX (2)


From: Manuel Guesdon
Subject: Re[2]: GDL2 - patches for OSX (2)
Date: Wed, 26 Mar 2003 11:33:28 +0100 (CET)

On Wed, 26 Mar 2003 10:27:09 +0100 Stéphane Corthésy <stephane@sente.ch> wrote:
 >| Tracking memory leaks and zombies is not as easy as searching 
 >| alloc/release/autorelease/etc. It's much more complicated than this.

I agree but some times ago, I've found many problems by just grepping alloc and 
verify easch case.

 >| By 
 >| creating some many autoreleased objects you're shooting yourself in the 
 >| foot IMHO. You'll get in troubles when it comes to find zombies...
 >| One of the big problems of EOF is the large number of transient objects 
 >| created during operations: the more autoreleased object you create, the 
 >| slower your application will become, and the harder it is to correct 
 >| zombies.

Yes, you're right on this point. In this case, I haven't seen you don't 
autorelease the object in the same call; sorry :-)


 >| While I don't agree with you on that point, I guess that other gnustep 
 >| people think the way you do, so I'll stop coming again and again on 
 >| that.

Generally, I'm thinking about exception raising between alloc and relase which 
could make objects never deallocated.
But I have no religion about this point :-)

Manuel
--
______________________________________________________________________
Manuel Guesdon - ORANGE CONCEPT <mguesdon@orange-concept.com>
14 rue Jean-Baptiste Clement  -  93200 Saint-Denis  -  France
Tel: +33 1 4940 0997  -  Fax: +33 1 4940 0998





reply via email to

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