• 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 17:26:10 -0700

ref my previous email,

anyway there are other aspects and side effects due to the circular
refs, and one this is a memory issue, GC is now almost clever to
detect that's ObjectB reference is hold by a previous ObjectA ref to
Object0 our first reference, but it wasn't true at the beginning, and
I am pretty sure there are still some undiscovered effects

by adopting a proper design you will avoid this, here you can see a
bunch of unsolvable requests due to this kind of mistake, sure people
find patch on patch on patch and finish with a ton of lines to try to
correct the reasons,

see my previous comment on symptoms and consequences

Cheers!

On Sun, Mar 22, 2009 at 4:53 PM, mm w <email@hidden> wrote:
> On Sun, Mar 22, 2009 at 4:32 PM, David Melgar <email@hidden> wrote:
>> Some people do that to try and impress.
>> I'm not impressed.
>> No useful information.
>>
>
> it's not my point, i don't understand your feeling here, I am not
> trying to impress anyone, I'm only give some points
>
>> On Mar 22, 2009, at 7:22 PM, Clark Cox wrote:
>>
>>> It's not very conducive to conversation to make claims, and then
>>> refuse to back them up, and leave it at "I let you discover it".
>>>
>>> On Sun, Mar 22, 2009 at 4:19 PM, mm w <email@hidden> wrote:
>>>>
>>>> maybe in your world, anyway there are a bunch of reasons to avoid
>>>> circular refs
>>>> I let you discover it
>>>>
>>>> Cheers!
>>>>
>>>> On Sun, Mar 22, 2009 at 3:58 PM, Clark Cox <email@hidden> wrote:
>>>>>
>>>>> On Sun, Mar 22, 2009 at 3:37 PM, mm w <email@hidden> wrote:
>>>>>>
>>>>>> 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,
>>>>>
>>>>> They can be avoided, but why? They are not an error under garbage
>>>>> collection, and there is no reason to avoid them.
>>>>>
>>>>> --
>>>>> Clark S. Cox III
>>>>> email@hidden
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> -mmw
>>>>
>>>
>>>
>>>
>>> --
>>> Clark S. Cox III
>>> email@hidden
>>
>>
>
>
>
> --
> -mmw
>



--
-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

  • Follow-Ups:
    • Re: Explicit release when using garbage collection with circular references
      • From: mm w <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: 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: Clark Cox <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: Clark Cox <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>)

  • Prev by Date: Re: Explicit release when using garbage collection with circular references
  • 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