]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: break down memstats.gc_sys
authorMichael Anthony Knyszek <mknyszek@google.com>
Mon, 3 Aug 2020 19:23:30 +0000 (19:23 +0000)
committerMichael Knyszek <mknyszek@google.com>
Mon, 26 Oct 2020 18:10:04 +0000 (18:10 +0000)
commitad863ba32a2ede207d708fa15897e9de1d14dd87
tree0518562dcb6a69d0ab8243b1c1cfa5c2553ce40e
parent39e335ac0618044bbd8ed2fca5e5b3583d8c444e
runtime: break down memstats.gc_sys

This change breaks apart gc_sys into three distinct pieces. Two of those
pieces are pieces which come from heap_sys since they're allocated from
the page heap. The rest comes from memory mapped from e.g.
persistentalloc which better fits the purpose of a sysMemStat. Also,
rename gc_sys to gcMiscSys.

Change-Id: I098789170052511e7b31edbcdc9a53e5c24573f7
Reviewed-on: https://go-review.googlesource.com/c/go/+/246973
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/heapdump.go
src/runtime/malloc.go
src/runtime/mcheckmark.go
src/runtime/mfinal.go
src/runtime/mheap.go
src/runtime/mspanset.go
src/runtime/mstats.go