]> Cypherpunks repositories - gostls13.git/commit
[dev.garbage] runtime: refactor next free object
authorRick Hudson <rlh@golang.org>
Mon, 8 Feb 2016 17:36:23 +0000 (12:36 -0500)
committerRick Hudson <rlh@golang.org>
Wed, 27 Apr 2016 21:54:41 +0000 (21:54 +0000)
commite1c4e9a754833e169a41ea98a49c3712513879ab
treefa2c103b3522167925a7838d3225c674b7e634c2
parentaed861038f876643a67c2297b384b6be140c46c1
[dev.garbage] runtime: refactor next free object

In preparation for changing how the next free object is chosen
refactor and consolidate code into a single function.

Change-Id: I6836cd88ed7cbf0b2df87abd7c1c3b9fabc1cbd8
Reviewed-on: https://go-review.googlesource.com/19317
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/malloc.go