]> Cypherpunks repositories - gostls13.git/commit
[dev.garbage] runtime: Concurrent scan code
authorRick Hudson <rlh@golang.org>
Fri, 24 Oct 2014 15:07:16 +0000 (11:07 -0400)
committerRick Hudson <rlh@golang.org>
Fri, 24 Oct 2014 15:07:16 +0000 (11:07 -0400)
commit6184f46ea359bd6d4da92cb80ba20d219222aa00
tree55734ae0102163371d8da408979cca32ba06bd71
parent62a4359e2e479dc7392b645faecf7cdc5ff4cda0
[dev.garbage] runtime: Concurrent scan code
Routines and logic to preform a concurrent stack scan of go-routines.
This CL excersizes most of the functionality needed. The
major exception being that it does not scan running goroutines.
After doing the scans it relies on a STW to finish the GC, including
rescanning the stacks. It is intended to achieve correctness,
performance will follow.

LGTM=rsc
R=golang-codereviews, rsc
CC=dvyukov, golang-codereviews
https://golang.org/cl/156580043
src/runtime/malloc.go
src/runtime/malloc.h
src/runtime/mcache.c
src/runtime/mgc0.c
src/runtime/proc.c
src/runtime/runtime.h
src/runtime/stack.c
src/runtime/stubs.go