]> Cypherpunks repositories - gostls13.git/commit
[dev.garbage] runtime: scan and mark phase refactoring
authorRick Hudson <rlh@golang.org>
Fri, 3 Oct 2014 15:33:57 +0000 (11:33 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 3 Oct 2014 15:33:57 +0000 (11:33 -0400)
commitd42328c9f749140adf947833e0381fc639c32737
treec818402f63bed74e9be8799df7f29b848f2dd84d
parenta3630c9e4419a550af224541e55a0ca6be6f551c
[dev.garbage] runtime: scan and mark phase refactoring

Refactoring of the scan and mark phase so that concurrent GC,
in particular the write barrier, can share a common infrastructure.
Now that the scan and mark phases have been separated
we will be able to scan stacks without blackening any objects.
This in turn will allow us to delay installing expensive write barrier code.

LGTM=rsc
R=rsc, khr, dvyukov
CC=golang-codereviews
https://golang.org/cl/145640044
src/runtime/malloc.h
src/runtime/mgc0.c
src/runtime/proc.c
src/runtime/runtime.h