]> Cypherpunks repositories - gostls13.git/commit
runtime: rename mcache fields to match Go style
authorMichael Anthony Knyszek <mknyszek@google.com>
Fri, 24 Jul 2020 19:58:31 +0000 (19:58 +0000)
committerMichael Knyszek <mknyszek@google.com>
Mon, 26 Oct 2020 17:26:48 +0000 (17:26 +0000)
commitc8638498008f9874dc5a48734418e0fbea08cee9
treed1d4cc55b139dcc01affc9b8889d386abef09bae
parentd677899e903c4741920846f1af2c14c56f6e710e
runtime: rename mcache fields to match Go style

This change renames a bunch of malloc statistics stored in the mcache
that are all named with the "local_" prefix. It also renames largeAlloc
to allocLarge to prevent a naming conflict, and next_sample because it
would be the last mcache field with the old C naming style.

Change-Id: I29695cb83b397a435ede7e9ad5c3c9be72767ea3
Reviewed-on: https://go-review.googlesource.com/c/go/+/246969
Trust: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/export_test.go
src/runtime/malloc.go
src/runtime/mcache.go
src/runtime/mgc.go
src/runtime/mgcsweep.go
src/runtime/mstats.go
src/runtime/pprof/mprof_test.go