Skip to content

不主动调用Gc 通过finalize阶段通知队列更新是否可行 #145

@hwt83525055

Description

@hwt83525055

ResourcePlugin中
Leakcanary是手动调用GC去poll 引用队列,gc后需要等待一段时间, 而ResourcePlugin也是手动GC检查创建引用指向的对象,在Debug的时候频繁GC不会导致抖动吗?是否可以在创建引用阶段交由引用对象的finalize,也就是有效的系统GC【GC请求可能被忽视】的时候,再去通知mDetectExecutor添加新的Task,这样除了结果不能第一时间得到,不会有任何影响

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions