]> Cypherpunks repositories - gostls13.git/commit
runtime: don't flush local_tinyallocs
authorMichael Anthony Knyszek <mknyszek@google.com>
Thu, 23 Jul 2020 22:16:46 +0000 (22:16 +0000)
committerMichael Knyszek <mknyszek@google.com>
Mon, 26 Oct 2020 17:26:30 +0000 (17:26 +0000)
commitcca3d1e5533cb40beb9ef55bbc332b733adcc6ba
tree9263a547124bcf05af7c019ed18374deffc7f856
parenta5088e76f108f6470d2a9b3ac56a58ddb9376e4f
runtime: don't flush local_tinyallocs

This change makes local_tinyallocs work like the rest of the malloc
stats and doesn't flush local_tinyallocs, instead making that the
source-of-truth.

Change-Id: I3e6cb5f1b3d086e432ce7d456895511a48e3617a
Reviewed-on: https://go-review.googlesource.com/c/go/+/246967
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/mcache.go
src/runtime/mheap.go
src/runtime/mstats.go