Skip to content

Fix Allocation Tracking for Global variables #1

@codeinred

Description

@codeinred

Currently, the profiler will sometimes miss memory allocated in global variables.

This is because allocations for a particular thread are recorded on a thread_local object holding allocation and deallocation information for that particular thread.

Once these thread-local objects are cleaned up, profiling is disabled. This occurs before global object cleanup occurs, and so the profiler misses some allocations.

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