gnustep-dev
[Top][All Lists]
Advanced

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

Re: ARC Cleanups


From: David Chisnall
Subject: Re: ARC Cleanups
Date: Sun, 3 Jul 2011 11:31:24 +0100

On further thought, the second of these is not required - it's fairly simple to 
selectively disable the fast path for instances of specific classes.  

David

On 3 Jul 2011, at 10:35, David Chisnall wrote:

> Hi Everyone,
> 
> I'd like to make some changes to GNUstep so that we can make ARC nice and 
> fast (closer to Lion speeds, not Snow Leopard speeds) by eliminating all of 
> the message sends if we're not linking to any frameworks that do evil things 
> with retain / release / autorelease methods.  These are:
> 
> 1) Swap the order of the zone and the refcount in obj_layout so that the 
> runtime can manipulate refcounts without having to be aware of the zone 
> pointer (not sure how widely used zones are, and we may want to get rid of 
> this pointer if it's not used in the future).
> 
> 2) Remove the custom retain / release methods on placeholder instances - 
> these can potentially hide double-release bugs that depend on specifics of 
> the implementation, so I'm not totally sure that they're a good idea anyway.
> 
> Does anyone have any objections to these changes?  Will they break anyone's 
> code?
> 
> David
> 
> -- Sent from my IBM 1620
> 
> 
> _______________________________________________
> Gnustep-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnustep-dev


-- Sent from my Apple II




reply via email to

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