• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Explicit release when using garbage collection with circular references
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Explicit release when using garbage collection with circular references


  • Subject: Re: Explicit release when using garbage collection with circular references
  • From: mm w <email@hidden>
  • Date: Sun, 22 Mar 2009 16:12:03 -0700

On Sun, Mar 22, 2009 at 3:54 PM, Jean-Daniel Dupas
<email@hidden> wrote:
>
> Le 22 mars 09 à 23:37, mm w a écrit :
>
>> Because I am like this I won't do the job for you, I will only point
>> you directions, that's it
>>
>> Google "garbage collection", it's naive to think that's a "linear" tree.
>>
>> What Bill told you is right, and my comment is following his thought
>>
>> Avoiding circular refs: in 95% of cases it can be avoided, by
>> refactoring his work,
>> taking a pen and a white paper... and think
>>
>
> I don't understand your point here.
>
> Circular references have not to be avoid. They are not an error.
>

yes that's true

> As previously mention, the garbage collector tracks root objects, and so it
> should properly deal with circular references.
>

yep right, my point was circular refs are bad

> In a reference counted world, they are valid too, as long as the who retain
> who policy is properly designed.
>
>

yep right, my point was circular refs are bad

--
-mmw
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Explicit release when using garbage collection with circular references (From: David <email@hidden>)
 >Re: Explicit release when using garbage collection with circular references (From: Bill Bumgarner <email@hidden>)
 >Re: Explicit release when using garbage collection with circular references (From: mm w <email@hidden>)
 >Re: Explicit release when using garbage collection with circular references (From: mm w <email@hidden>)
 >Re: Explicit release when using garbage collection with circular references (From: David Melgar <email@hidden>)
 >Re: Explicit release when using garbage collection with circular references (From: mm w <email@hidden>)
 >Re: Explicit release when using garbage collection with circular references (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Programmatically Change Icon
  • Next by Date: Re: Explicit release when using garbage collection with circular references
  • Previous by thread: Re: Explicit release when using garbage collection with circular references
  • Next by thread: Re: Explicit release when using garbage collection with circular references
  • Index(es):
    • Date
    • Thread