diff options
| author | Dmitriy Vyukov <dvyukov@google.com> | 2014-08-29 18:44:38 +0400 |
|---|---|---|
| committer | Dmitriy Vyukov <dvyukov@google.com> | 2014-08-29 18:44:38 +0400 |
| commit | 9f38b6c9e574c672d646a366c1933c3ff88b8781 (patch) | |
| tree | 4193cdc310851af12ae9c1101f14130fe0ba29e4 /src/pkg/runtime/malloc.h | |
| parent | 6f19fd438e2178d086c4352b439e857bd08051bd (diff) | |
| download | go-9f38b6c9e574c672d646a366c1933c3ff88b8781.tar.xz | |
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
Diffstat (limited to 'src/pkg/runtime/malloc.h')
| -rw-r--r-- | src/pkg/runtime/malloc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pkg/runtime/malloc.h b/src/pkg/runtime/malloc.h index 19ea846dd1..6cd72fb31f 100644 --- a/src/pkg/runtime/malloc.h +++ b/src/pkg/runtime/malloc.h @@ -519,7 +519,6 @@ void runtime·MHeap_Scavenge(int32 k, uint64 now, uint64 limit); void* runtime·persistentalloc(uintptr size, uintptr align, uint64 *stat); int32 runtime·mlookup(void *v, byte **base, uintptr *size, MSpan **s); -void runtime·gc(int32 force); uintptr runtime·sweepone(void); void runtime·markspan(void *v, uintptr size, uintptr n, bool leftover); void runtime·unmarkspan(void *v, uintptr size); |
