diff options
| author | Keith Randall <khr@golang.org> | 2013-08-31 09:09:50 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2013-08-31 09:09:50 -0700 |
| commit | fb376021bea084d5320a8059176ab86880832f5c (patch) | |
| tree | 28f9766dbcd71d9a5ca2c30bd9b9a5b4f456a219 /src/pkg/runtime/malloc.h | |
| parent | d0206101c87301fa4ac45d7f0bc7c2dc39a7bc47 (diff) | |
| download | go-fb376021bea084d5320a8059176ab86880832f5c.tar.xz | |
runtime: record type information for hashtable internal structures.
Remove all hashtable-specific GC code.
Fixes bug 6119.
R=cshapiro, dvyukov, khr
CC=golang-dev
https://golang.org/cl/13078044
Diffstat (limited to 'src/pkg/runtime/malloc.h')
| -rw-r--r-- | src/pkg/runtime/malloc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pkg/runtime/malloc.h b/src/pkg/runtime/malloc.h index c0f5a8fa6a..e0dc50f3ae 100644 --- a/src/pkg/runtime/malloc.h +++ b/src/pkg/runtime/malloc.h @@ -487,8 +487,7 @@ enum { TypeInfo_SingleObject = 0, TypeInfo_Array = 1, - TypeInfo_Map = 2, - TypeInfo_Chan = 3, + TypeInfo_Chan = 2, // Enables type information at the end of blocks allocated from heap DebugTypeAtBlockEnd = 0, |
