[dev.cc] runtime: convert memory allocator and garbage collector to Go
The conversion was done with an automated tool and then modified only as necessary to make it compile and run. [This CL is part of the removal of C code from package runtime. See golang.org/s/dev.cc for an overview.] LGTM=r R=r CC=austin, dvyukov, golang-codereviews, iant, khr https://golang.org/cl/167540043
Showing
This diff is collapsed.
src/runtime/heapdump.go
0 → 100644
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
src/runtime/mcache.c
deleted
100644 → 0
src/runtime/mcache.go
0 → 100644
src/runtime/mem_darwin.go
0 → 100644
src/runtime/mem_linux.go
0 → 100644
src/runtime/mfixalloc.go
0 → 100644
src/runtime/mgc.go
0 → 100644
This diff is collapsed.
src/runtime/mgc0.c
deleted
100644 → 0
This diff is collapsed.
src/runtime/mheap.c
deleted
100644 → 0
This diff is collapsed.
src/runtime/mheap.go
0 → 100644
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment