diff options
| author | Michael Anthony Knyszek <mknyszek@google.com> | 2018-10-04 15:59:47 +0000 |
|---|---|---|
| committer | Michael Knyszek <mknyszek@google.com> | 2018-10-30 15:28:01 +0000 |
| commit | 78bb91cbd34a8f2f3784ba5df94c0e56c44fc751 (patch) | |
| tree | 599d5a55117ca4e198df9103c2bb5423f77fee1d /src/runtime/export_test.go | |
| parent | b46bf0240c0663222f837c78644fe90da932d852 (diff) | |
| download | go-78bb91cbd34a8f2f3784ba5df94c0e56c44fc751.tar.xz | |
runtime: remove npreleased in favor of boolean
This change removes npreleased from mspan since spans may now either be
scavenged or not scavenged; how many of its pages were actually scavenged
doesn't matter. It saves some space in mpsan overhead too, as the boolean
fits into what would otherwise be struct padding.
For #14045.
Change-Id: I63f25a4d98658f5fe21c6a466fc38c59bfc5d0f5
Reviewed-on: https://go-review.googlesource.com/c/139737
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/export_test.go')
0 files changed, 0 insertions, 0 deletions
