flutter / flutter/devtools

Provide more usable snapshots and retainingPath analysis tools like Eclipse Memory Analyzer.

未关闭
#2,428 2 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
P3 screen: memory
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

The Eclipse Memory Analyzer
(https://help.eclipse.org/2020-09/index.jsp?topic=%2Forg.eclipse.mat.ui.help%2Fgettingstarted%2Fbasictutorial.html&cp%3D61_1_0) Have many features help developers to troubleshoot memory leaks.
The "merge shortest path to GC roots" feature is especially helpful for finding root causes of leaks.
AFAIK the retaining path method of vm_service basically returns a random path for now.

We should be able to implement similar functionality in devtools.

贡献指南

打开贡献指南

调研方向

未指定文件或测试。首先检查 vm_service 的 retaining path 方法和 DevTools 的内存分析入口点,然后将所请求的行为与 Eclipse Memory Analyzer 的“merge shortest path to GC roots”功能进行比较;当 DevTools 提供可用于查找泄漏根的 snapshot 和 retaining-path 分析时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart
领域
devtools
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。