Re: GC Re: Questions about Nib Object Retention

2009-10-21 Thread Clark S. Cox III
No, there is no race. While the nib is being loaded, there are plenty of references to the objects therein on the stack and in registers. These references will keep these objects alive during loading. If you don't keep a strong reference to these objects during loading they will become garb

Re: GC Re: Questions about Nib Object Retention

2009-10-21 Thread Bill Bumgarner
On Oct 21, 2009, at 7:45 AM, Fritz Anderson wrote: > Does this mean that there's a race between the NIB loader's need to create a > strong reference and the GC thread's imperative to collect the object before > it is referenced? No; the objects are strongly referenced by stack or by the de-ar