Skip to content
🤔 Documentation issue? Report it

//leakcanary/shark/HeapAnalysis

HeapAnalysis

sealed class HeapAnalysis : Serializable

The result of an analysis performed by HeapAnalyzer, either a HeapAnalysisSuccess or a HeapAnalysisFailure. This class is serializable however there are no guarantees of forward compatibility.

Types

Name Summary
Companion object Companion

Properties

Name Summary
analysisDurationMillis abstract val analysisDurationMillis: Long
Total time spent analyzing the heap.
createdAtTimeMillis abstract val createdAtTimeMillis: Long
The System.currentTimeMillis when this HeapAnalysis instance was created.
dumpDurationMillis abstract val dumpDurationMillis: Long
Total time spent dumping the heap.
heapDumpFile abstract val heapDumpFile: File
The hprof file that was analyzed.

Inheritors

Name
HeapAnalysisFailure
HeapAnalysisSuccess