Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
极客时间账号: 13580790013
为了完成这个作业,拉了LeakCanary源码下来看了下内存泄漏检测的二次GC确认到解析hprof文件数据生成对象的引用链信息等,其中也用到了HAHA库,我这里的DEMO代码页也是使用的HAHA库的解析方法
这里说说我的实现原理:
体会:
一直性能优化和检测经验方面比较薄弱,为了完成这个作业,
接连对android profiler、DDMS、MAT、LeakCanary、还有复现图片的GIMP都翻了个遍
会发现其中涉及到的东西太多太多,为了验证实现结果,也重复学习使用现有的工具多方求证
疑问:
最后送上测试打印结果
