class HeapLeak::Heap

Defined in:

heap_process.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(io : IO) #

[View source]
def self.new(other_heap : Heap) #

[View source]

Instance Method Detail

def back_refs : Hash(Int64, Array(Int64)) #

[View source]
def fill_backref(addr, short_obj) #

[View source]
def inspect #
Description copied from class Object

Returns an unambiguous and information-rich string representation of this object, typically intended for developers.

This method should usually not be overridden. It delegates to #inspect(IO) which can be overridden for custom implementations.

Also see #to_s.


[View source]
def keep_common!(other_heap) #

[View source]
def load(io) #

[View source]
def mark_distance_and_visibility(sample_addresses : Array(HEAP_ADDRESS), distance_limit = 10) #

[View source]
def objects : Hash(Int64, HeapLeak::ShortHeapObject) #

[View source]
def remove_objects!(other_heap) #

[View source]
def type_of(addr : HEAP_ADDRESS) #

[View source]
def types : Hash(Int64, String) #

[View source]