Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么在dump之前没有去触发gc,这样数据不是更准确吗? #62

Closed
Lapisy opened this issue Mar 10, 2021 · 1 comment
Closed

Comments

@Lapisy
Copy link

Lapisy commented Mar 10, 2021

为什么在dump之前没有去触发gc,这样数据不是更准确吗?是否是因为COW机制的原因(因为gc会写内存)。这样理解是否准确?

@AndroidInternal
Copy link
Contributor

主要是GC会导致页面明显卡顿,其次是无法覆盖大量临时内存被迅速分配的情况。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants