• 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: Classes incompatible with weak references
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Classes incompatible with weak references


  • Subject: Re: Classes incompatible with weak references
  • From: Stevo Brock <email@hidden>
  • Date: Wed, 15 Aug 2012 16:43:14 -0700

Ahh the Atari ST…  Now those are fond memories indeed…

-Stevo Brock
 Sunset Magicwerks, LLC
 www.sunsetmagicwerks.com
 818-609-0258




On Aug 14, 2012, at 12:09 AM, Vincent Habchi wrote:

> Le 13 août 2012, à 23:47, Mike Abdullah <email@hidden> scripsit:
>
>> An idea I've vaguely wondered about would be turning the isa variable into a tagged pointer. If you know nothing is accessing it directly (to do so was deprecated with the modern runtime), then, say, the last 4 bits of the pointer could be used to record the retain count. Once they're used up (for those rare, highly retained
>
> Using part of pointer to do something else than record an address is perilous. I remember, once again in the old days of the 68000 on the Atari ST, which had a 24-bit external address bus (and not 20 as I wrote before on some other thread), and 32-bit internal address registers, some developers had figured out to use the MSB (unused) of these address registers (pointers) to store extra information. Now, two years later the 68020 with full 32-bit external address bus was released, and suddenly all the code relying on that trick broke on the TT and later machines…
>
> Vincent
>
>
> _______________________________________________
>
> 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

_______________________________________________

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: 
 >Classes incompatible with weak references (From: Ben <email@hidden>)
 >Re: Classes incompatible with weak references (From: Kyle Sluder <email@hidden>)
 >Re: Classes incompatible with weak references (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Classes incompatible with weak references (From: John McCall <email@hidden>)
 >Re: Classes incompatible with weak references (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Classes incompatible with weak references (From: Mike Abdullah <email@hidden>)
 >Re: Classes incompatible with weak references (From: Vincent Habchi <email@hidden>)

  • Prev by Date: Re: Trying to find workarounds for serious memory leak in IKImageView
  • Next by Date: Re: __weak pointer collection firing prematurely???
  • Previous by thread: Re: Classes incompatible with weak references
  • Next by thread: Re: Classes incompatible with weak references
  • Index(es):
    • Date
    • Thread