Package shark

Types

Link copied to clipboard
interface CloseableHeapGraph : HeapGraph, Closeable

A HeapGraph that should be closed after being used.

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.

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

Represents a static field or an instance field.

Link copied to clipboard
interface HeapGraph

Enables navigation through the heap graph of objects.

Link copied to clipboard
sealed class HeapObject

An object in the heap dump.

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

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

Link copied to clipboard
class HprofHeapGraph : CloseableHeapGraph

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

Link copied to clipboard
class HprofIndex

An index on a Hprof file. See openHeapGraph.