Skip to content

Heap size measurement #76

@wusyong

Description

@wusyong

First of all, thanks for building this crate! I found this crate is pretty great and GC types are ergonomic that I don't need to worry too much.
The issue I encounter is I wish to get the heap size that GC controls to determine my context's workload.
number_of_active_handles and number_of_tracked_allocations don't seem enough because there are various of types.
Maybe we could define some traits to get the size of each GC objects like servo's malloc_size_of does?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions