Skip to content

v8 findrefstree command #115

@yunong

Description

@yunong

It'd be really useful to have a v8 findrefstree command for solving memory leaks. This would take a reference to an object, and starting from that node, print out all objects that refer to that object, and its parents, recursively.

Generally speaking this would be helpful for debugging memory leaks, as it's usually pretty obvious what objects are leaking, but not the root object(s) that's holding on to the leaking objects. Currently you'd have to run v8 findrefs -r over and over an object and its parent until you reached the root, which is slow and very tedious.

Having a command that could recursively print out the tree of objects that refer to a specific object would simplify the debugging process for memory leaks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions