]> Cypherpunks repositories - gostls13.git/commit
runtime: generalize {alloc,free}Stack to {alloc,free}Manual
authorAustin Clements <austin@google.com>
Thu, 16 Mar 2017 18:46:53 +0000 (14:46 -0400)
committerAustin Clements <austin@google.com>
Thu, 13 Apr 2017 18:20:35 +0000 (18:20 +0000)
commit407c56ae9f40d3a83ba4e259c67ccbb58d2485b0
tree35963c69984756b7188fe468d2040524cd540889
parentab9db51e1cf651c0d6d5b56dfd0d9d452f176726
runtime: generalize {alloc,free}Stack to {alloc,free}Manual

We're going to start using manually-managed spans for GC workbufs, so
rename the allocate/free methods and pass in a pointer to the stats to
use instead of using the stack stats directly.

For #19325.

Change-Id: I37df0147ae5a8e1f3cb37d59c8e57a1fcc6f2980
Reviewed-on: https://go-review.googlesource.com/38576
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/HACKING.md
src/runtime/mheap.go
src/runtime/stack.go