runtime/metrics: update documentation w.r.t. stack_sys #54396
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
Documentation
Issues describing a change to documentation.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?Issue
The documentation related to stack memory in
MemStats
says:And, in runtime/metrics, there is also:
But this is at best confusing and at worst incorrect. Quoting @mknyszek from a recent conversation:
This means:
stack_inuse
(in cgo programs this is not tracked at all).This different behaviour should be called out in the docs.
The text was updated successfully, but these errors were encountered: