]> Cypherpunks repositories - gostls13.git/commit
runtime: consolidate mheap.lookup* and spanOf*
authorAustin Clements <austin@google.com>
Mon, 4 Dec 2017 15:58:15 +0000 (10:58 -0500)
committerAustin Clements <austin@google.com>
Thu, 15 Feb 2018 21:12:14 +0000 (21:12 +0000)
commita90f9a00ca34251dcee80eacff241871c43ac18f
tree1972b0b2143b676ccc085da741835914b039ecba
parent058bb7ea278d8e073be1e1c73d01fbfd74c170fd
runtime: consolidate mheap.lookup* and spanOf*

I think we'd forgotten about the mheap.lookup APIs when we introduced
spanOf*, but, at any rate, the spanOf* functions are used far more
widely at this point, so this CL eliminates the mheap.lookup*
functions in favor of spanOf*.

Change-Id: I15facd0856e238bb75d990e838a092b5bef5bdfc
Reviewed-on: https://go-review.googlesource.com/85879
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
src/runtime/stack.go