]> Cypherpunks repositories - gostls13.git/commit
runtime: combine gcResetGState and gcResetMarkState
authorAustin Clements <austin@google.com>
Sun, 18 Oct 2015 03:57:53 +0000 (23:57 -0400)
committerAustin Clements <austin@google.com>
Mon, 19 Oct 2015 18:38:07 +0000 (18:38 +0000)
commit3cd56b4dca8fefe769e384c8e696e9e3eaa40b39
tree62988541aa5f657a249ebe60b646e001ce6c2e6f
parentb0d5e5c5001f6c9e2a0c12bb8e33883710126974
runtime: combine gcResetGState and gcResetMarkState

These functions are always called together and perform logically
related state resets, so combine them in to just gcResetMarkState.

Fixes #11427.

Change-Id: I06c17ef65f66186494887a767b3993126955b5fe
Reviewed-on: https://go-review.googlesource.com/16041
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mgc.go