]> Cypherpunks repositories - gostls13.git/commit
[dev.garbage] runtime: Add gc mark verification pass.
authorRick Hudson <rlh@golang.org>
Tue, 4 Nov 2014 18:31:34 +0000 (13:31 -0500)
committerRick Hudson <rlh@golang.org>
Tue, 4 Nov 2014 18:31:34 +0000 (13:31 -0500)
commit77db737ac3c196ad86252c24b00688f04a79b3b8
tree4087c835314adbe8af609ad56d2346f6cb79655a
parentb035e973158847801ce6193461159a3b9b66f4e5
[dev.garbage] runtime: Add gc mark verification pass.
This adds an independent mark phase to the GC that can be used to
verify the the default concurrent mark phase has found all reachable
objects. It uses the upper 2 bits of the boundary nibble to encode
the mark leaving the lower bits to encode the boundary and the
normal mark bit.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/167130043
src/runtime/heapdump.c
src/runtime/malloc.go
src/runtime/mgc0.c
src/runtime/mgc0.h
src/runtime/stack.c
src/runtime/stubs.go