//leakcanary-repo/shark/HprofHeapGraph/Companion
Companion¶
[jvm]\ object Companion
Functions¶
Name | Summary |
---|---|
openHeapGraph | [jvm] fun File.openHeapGraph(proguardMapping: ProguardMapping? = null, indexedGcRootTypes: Set<HprofRecordTag> = HprofIndex.defaultIndexedGcRootTags()): CloseableHeapGraph A facility for opening a CloseableHeapGraph from a File. This first parses the file headers with HprofHeader.parseHeaderOf, then indexes the file content with HprofIndex.indexRecordsOf and then opens a CloseableHeapGraph from the index, which you are responsible for closing after using. [jvm] fun DualSourceProvider.openHeapGraph(proguardMapping: ProguardMapping? = null, indexedGcRootTypes: Set<HprofRecordTag> = HprofIndex.defaultIndexedGcRootTags()): CloseableHeapGraph |
Properties¶
Name | Summary |
---|---|
INTERNAL_LRU_CACHE_SIZE | [jvm] var INTERNAL_LRU_CACHE_SIZE: Int This is not a public API, it’s only public so that we can evaluate the effectiveness of different cache size in tests in a different module. |