Skip to content

runtime/debug: print scavenger details with GOGCTRACE=1 #5900

@dominikh

Description

@dominikh
The periodic scavenger prints details regarding garbage collection and returning of
memory to the OS. The code for printing these statistics is actually in the scavenger
itself.

Calling FreeOSMemory() will not go through the periodic scavenger and in turn not output
any debug information. Adding such output would be beneficial for debugging purposes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions