]> Cypherpunks repositories - gostls13.git/commit
runtime: clean up GC code
authorDmitriy Vyukov <dvyukov@google.com>
Fri, 29 Aug 2014 14:44:38 +0000 (18:44 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Fri, 29 Aug 2014 14:44:38 +0000 (18:44 +0400)
commit9f38b6c9e574c672d646a366c1933c3ff88b8781
tree4193cdc310851af12ae9c1101f14130fe0ba29e4
parent6f19fd438e2178d086c4352b439e857bd08051bd
runtime: clean up GC code
Remove C version of GC.
Convert freeOSMemory to Go.
Restore g0 check in GC.
Remove unknownGCPercent check in GC,
it's initialized explicitly now.

LGTM=rsc
R=golang-codereviews, rsc
CC=golang-codereviews, khr
https://golang.org/cl/139910043
src/pkg/runtime/malloc.go
src/pkg/runtime/malloc.h
src/pkg/runtime/mgc0.c
src/pkg/runtime/mgc0.go
src/pkg/runtime/mheap.c
src/pkg/runtime/stubs.go
src/pkg/runtime/thunk.s