News for hackers. Stuff that matters.
Re:Concurrent Memory Deallocation in the Objective-C Runtime by ridiculous_fish on Sunday June 07, 2015 @04:08AM (#9673817)
Nothing prevents using a stale cache pointer. The stale cache still contains correct data, so using it is benign, up until it gets deallocated.

A stale cache pointer may become wrong if a method implementation is replaced, e.g. by a category, but replacing a method while calling it in another thread is inherently racey.

Re:Concurrent Memory Deallocation in the Objective-C Runtime by vitalyd on Sunday June 07, 2015 @09:05AM (#9674499)
By stale I meant holding a ref to a cache about to be deleted.