]> Cypherpunks repositories - gostls13.git/commit
runtime: abstract remaining mheap.spans access
authorAustin Clements <austin@google.com>
Wed, 13 Dec 2017 21:03:23 +0000 (16:03 -0500)
committerAustin Clements <austin@google.com>
Thu, 15 Feb 2018 21:12:19 +0000 (21:12 +0000)
commit0de5324d61ba6d4c362f9fa76b6522e28155c83d
tree4839f26ca0dd0ec16fec56e49d4a6a79bbcac4ca
parentc0392d2e7fbdcd38aafb959e94daf6bbafe2e4e9
runtime: abstract remaining mheap.spans access

This abstracts the remaining direct accesses to mheap.spans into new
mheap.setSpan and mheap.setSpans methods.

For #10460.

Change-Id: Id1db8bc5e34a77a9221032aa2e62d05322707364
Reviewed-on: https://go-review.googlesource.com/85884
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mheap.go