Concurrent Memory Deallocation in the Objective-C Runtime

Another great post from Mike Ash. This time on how the deallocation of method implementations is implemented in Objective C. It starts with details on how the basic objc_msgSend works and then suggests a few alternatives for clearing the methods cache. Finally arriving to Apple’s implementation which is really interesting and not common. A lot of details but don’t worth every minute.
https://www.mikeash.com/pyblog/friday-qa-2015-05-29-concurrent-memory-deallocation-in-the-objective-c-runtime.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s