object-alloc-dealloc
2020-09-30 14:28:26 0 举报
Objective-C 对象的创建与销毁流程
作者其他创作
大纲/内容
object_dispose
clearDeallocating
_objc_rootAllocWithZone
obj->rootDealloc
callAlloc
free
dealloc
创建对象
init
_class_createInstanceFromZone
alloc
释放对象
_objc_rootDealloc
new
_objc_rootAlloc
clearDeallocating_slow
objc_destructInstance
weak_clear_no_lock
sidetable_clearDeallocating
0 条评论
下一页