]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: update gctrace docs and print lastStackScan instead of max
authorMichael Anthony Knyszek <mknyszek@google.com>
Wed, 24 Aug 2022 20:52:51 +0000 (20:52 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 25 Aug 2022 20:37:28 +0000 (20:37 +0000)
commit56bdf7f7d91cc5fa40e9e6ec0e3da3733f0e2e4e
treee4a8557521c087b7f3a207ebeb6a3406432033da
parentf64f12f0b32eba7d49c259480e0fa0c79eb47600
runtime: update gctrace docs and print lastStackScan instead of max

This change updates the gctrace docs to include stacks and globals in
the format line, and prints lastStackScan for "# MB stacks" instead of
maxStackScan, which is more accurate.

Fixes #54649.

Change-Id: Ibff2c390c9c9bf2b24b5b4e98ca346cc98d7cb2e
Reviewed-on: https://go-review.googlesource.com/c/go/+/425366
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/extern.go
src/runtime/mgc.go