koom koom-java-leak 源码分析
生活随笔
收集整理的這篇文章主要介紹了
koom koom-java-leak 源码分析
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1.AnalysisExtraData.kt 包含原因,分析時間,當前頁面信息
class AnalysisExtraData {var reason: String? = null //reason原因var usageSeconds: String? = null //時間var currentPage: String? = null //當前頁面 }2.HeapReport上報的信息
public class HeapReport {public RunningInfo runningInfo = new RunningInfo();public List<GCPath> gcPaths = new ArrayList<>();//引用鏈gc path of suspected objectspublic List<ClassInfo> classInfos = new ArrayList<>();//類及其實例數量Class's instances count listpublic List<LeakObject> leakObjects = new ArrayList<>();//泄漏的對象public Boolean analysisDone;//flag to record whether hprof is analyzed already.public Integer reAnalysisTimes;//flag to record hprof reanalysis times.//device and app running infopublic static class RunningInfo {//JVM infopublic String jvmMax;//jvm max memory in MB jvm最大內總結
以上是生活随笔為你收集整理的koom koom-java-leak 源码分析的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: impala+hue
- 下一篇: 闲云旅游网02(基于vue+elemen