mirror of
https://github.com/golang/go
synced 2024-11-11 20:50:23 -07:00
runtime/metrics: tweak wording of stack and unused memory metrics
This change tweaks and simplifies the descriptions of a couple metrics to make them easier to parse (for humans). Change-Id: I852654c7e7042c662ebdfa6334e3baf49ca4b33c Reviewed-on: https://go-review.googlesource.com/c/go/+/272566 Trust: Michael Knyszek <mknyszek@google.com> Run-TryBot: Michael Knyszek <mknyszek@google.com> Reviewed-by: Robert Findley <rfindley@google.com> TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
parent
d902791b50
commit
48a1a51898
@ -113,14 +113,13 @@ var allDesc = []Description{
|
|||||||
Kind: KindUint64,
|
Kind: KindUint64,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "/memory/classes/heap/stacks:bytes",
|
Name: "/memory/classes/heap/stacks:bytes",
|
||||||
Description: "Memory allocated from the heap that is reserved for stack space. Not all of it is necessarily " +
|
Description: "Memory allocated from the heap that is reserved for stack space, whether or not it is currently in-use.",
|
||||||
"simultaneously in use, but it may not be used for any other purpose.",
|
Kind: KindUint64,
|
||||||
Kind: KindUint64,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "/memory/classes/heap/unused:bytes",
|
Name: "/memory/classes/heap/unused:bytes",
|
||||||
Description: "Memory that is reserved for heap objects but is otherwise not currently used to hold heap objects.",
|
Description: "Memory that is reserved for heap objects but is not currently used to hold heap objects.",
|
||||||
Kind: KindUint64,
|
Kind: KindUint64,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -86,12 +86,11 @@ Supported metrics
|
|||||||
|
|
||||||
/memory/classes/heap/stacks:bytes
|
/memory/classes/heap/stacks:bytes
|
||||||
Memory allocated from the heap that is reserved for stack
|
Memory allocated from the heap that is reserved for stack
|
||||||
space. Not all of it is necessarily simultaneously in use, but
|
space, whether or not it is currently in-use.
|
||||||
it may not be used for any other purpose.
|
|
||||||
|
|
||||||
/memory/classes/heap/unused:bytes
|
/memory/classes/heap/unused:bytes
|
||||||
Memory that is reserved for heap objects but is otherwise not
|
Memory that is reserved for heap objects but is not currently
|
||||||
currently used to hold heap objects.
|
used to hold heap objects.
|
||||||
|
|
||||||
/memory/classes/metadata/mcache/free:bytes
|
/memory/classes/metadata/mcache/free:bytes
|
||||||
Memory that is reserved for runtime mcache structures, but
|
Memory that is reserved for runtime mcache structures, but
|
||||||
|
Loading…
Reference in New Issue
Block a user