]> Cypherpunks repositories - gostls13.git/commit
runtime: consolidate h_allspans and mheap_.allspans
authorAustin Clements <austin@google.com>
Tue, 4 Oct 2016 19:51:31 +0000 (15:51 -0400)
committerAustin Clements <austin@google.com>
Tue, 25 Oct 2016 22:32:42 +0000 (22:32 +0000)
commit4d6207790b2f08daa00d2a7a67854a159ab2f601
tree71c42ad180ab53c117354ceb7abb2f0d4a8fa86f
parentadda7ad29551d0880df1805ae22401551b1fbfa8
runtime: consolidate h_allspans and mheap_.allspans

These are two ways to refer to the allspans array that hark back to
when the runtime was split between C and Go. Clean this up by making
mheap_.allspans a slice and eliminating h_allspans.

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