Skip to content

runtime: fix testing.AllocsPerRun #8734

@rsc

Description

@rsc
AllocsPerRun does not see calls to malloc that use the tinyalloc buffer (unless the call
allocates a new tinyalloc buffer). We should fix malloc so that the counters include
tinyalloc allocations. Otherwise AllocsPerRun is not useful.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions