码迷,mamicode.com
首页 > 移动开发 > 详细

ava垃圾加收机制和ios的arc有什么区别

时间:2015-08-04 13:24:07      阅读:150      评论:0      收藏:0      [点我收藏+]

标签:

1.GC of java is Runtime, while ARC is compile time.(GC是java运行时,而ARC是编译时。)
2.GC has reference to the objects at runtime and check for the dependencies of object runtime. While ARC appends the release, retain, autorelease calls at compiletime.(GC引用的对象在运行时,检查运行时对象的依赖项。而ARC在编译时间 添加调用release, retain, autorelease)

ava垃圾加收机制和ios的arc有什么区别

标签:

原文地址:http://www.cnblogs.com/spiderdzl/p/4701484.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!