Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/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.

Inheritors

HeapAnalysisFailure
HeapAnalysisSuccess

Types

Name Summary
Companion [jvm]
object Companion

Properties

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