diff options
| author | Keith Randall <khr@golang.org> | 2014-07-30 09:01:52 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2014-07-30 09:01:52 -0700 |
| commit | 4aa50434e13d12eb9755a992d6d4ad93e201d624 (patch) | |
| tree | 16bdb1935477b9d70d443d2b1f5c0bcb4c636682 /src/pkg/runtime/proc.c | |
| parent | fe4fc94b044df5e6d08ad9e480f0bce70cc4e5d5 (diff) | |
| download | go-4aa50434e13d12eb9755a992d6d4ad93e201d624.tar.xz | |
runtime: rewrite malloc in Go.
This change introduces gomallocgc, a Go clone of mallocgc.
Only a few uses have been moved over, so there are still
lots of uses from C. Many of these C uses will be moved
over to Go (e.g. in slice.goc), but probably not all.
What should remain of C's mallocgc is an open question.
LGTM=rsc, dvyukov
R=rsc, khr, dave, bradfitz, dvyukov
CC=golang-codereviews
https://golang.org/cl/108840046
Diffstat (limited to 'src/pkg/runtime/proc.c')
| -rw-r--r-- | src/pkg/runtime/proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/runtime/proc.c b/src/pkg/runtime/proc.c index 1e7fdd421e..e21da4f309 100644 --- a/src/pkg/runtime/proc.c +++ b/src/pkg/runtime/proc.c @@ -3136,6 +3136,7 @@ runtime·topofstack(Func *f) return f->entry == (uintptr)runtime·goexit || f->entry == (uintptr)runtime·mstart || f->entry == (uintptr)runtime·mcall || + f->entry == (uintptr)runtime·onM || f->entry == (uintptr)runtime·morestack || f->entry == (uintptr)runtime·lessstack || f->entry == (uintptr)_rt0_go || |
