Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dump ¶
Dump contains all relevant data for a single heap dump.
func (*Dump) PrintEntryAddress ¶
PrintEntryAddress prints the memory addresses in hex (0x...) format of the entries for the list of given indexes.
func (*Dump) PrintEntryJSON ¶
PrintEntryJSON prints the full JSON blob from the input file for the entries with the given indexes. It does this by using the Offset value of the entries to avoid having to load up the whole dump file in memory.
type Entry ¶
Entry is a parsed heap item object
type Object ¶
Object is a minimal representation of a Ruby heap object as exported from Ruby via `ObjectSpace.dump_all`.
func NewObject ¶
NewObject returns a new *Object instance with it's attributes populated from the given input JSON data.
func (Object) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Object) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Object) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Object) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface