Skip to content

runtime/debug: add garbage collection controls #4090

@rsc

Description

@rsc
The history information is already accessible using runtime.ReadMemStats, but that is
more expensive than it needs to be just to get some info about past GCs. (In particular
it does not need to stop the world.) Perhaps we should have a separate ReadGCStats that
can be cheaper. It would be nice to have the tukey summary of the pause list as well as
the duration and start time of the most recent pause. The start time may not be recorded
anywhere right now and need to be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeSuggestedIssues that may be good for new contributors looking for work to do.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions