Package shark

Types

CloseableHeapGraph
Link copied to clipboard
interface CloseableHeapGraph : HeapGraph, Closeable

A HeapGraph that should be closed after being used.

GraphContext
Link copied to clipboard
class GraphContext

In memory store that can be used to store objects in a given HeapGraph instance. This is a simple MutableMap of String to Any, but with unsafe generics access.

HeapField
Link copied to clipboard
class HeapField(declaringClass: HeapObject.HeapClass, name: String, value: HeapValue)

Represents a static field or an instance field.

HeapGraph
Link copied to clipboard
interface HeapGraph

Enables navigation through the heap graph of objects.

HeapObject
Link copied to clipboard
sealed class HeapObject

An object in the heap dump.

HeapValue
Link copied to clipboard
class HeapValue(graph: HeapGraph, holder: ValueHolder)

Represents a value in the heap dump, which can be an object reference or a primitive type.

HprofHeapGraph
Link copied to clipboard
class HprofHeapGraph : CloseableHeapGraph

A HeapGraph that reads from an Hprof file indexed by HprofIndex.

HprofIndex
Link copied to clipboard
class HprofIndex

An index on a Hprof file. See openHeapGraph.