]> Cypherpunks repositories - gostls13.git/commit
runtime: trivial clean ups to greyobject
authorAustin Clements <austin@google.com>
Fri, 27 Feb 2015 17:41:20 +0000 (12:41 -0500)
committerAustin Clements <austin@google.com>
Fri, 27 Feb 2015 19:39:57 +0000 (19:39 +0000)
commitda4874cba431d502a9c0764b8a68685af7bc7c35
tree092d8f11911923d45aacb94fa1ec9b23844efe29
parentb1517c39fbde96508b93588ae66b02a09915590b
runtime: trivial clean ups to greyobject

Previously, the typeDead check in greyobject was under a separate
!useCheckmark conditional.  Put it with the rest of the !useCheckmark
code.  Also move a comment about atomic update of the marked bit to
where we actually do that update now.

Change-Id: Ief5f16401a25739ad57d959607b8d81ffe0bc211
Reviewed-on: https://go-review.googlesource.com/6271
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mbitmap.go
src/runtime/mgcmark.go