mirror of
https://github.com/golang/go
synced 2024-11-26 20:21:25 -07:00
e7e5c5adb3
The map implementation was using the C idiom of using a pointer just past the end of its table as a limit pointer. Unfortunately, the garbage collector sees that pointer as pointing at the block adjacent to the map table, pinning in memory a block that would otherwise be freed. Fix by making limit pointer point at last valid entry, not just past it. Reviewed by Mike Burrows. R=golang-dev, bradfitz, lvd, r CC=golang-dev https://golang.org/cl/5158045 |
||
---|---|---|
.. | ||
data.c | ||
doc.go | ||
dwarf_defs.h | ||
dwarf.c | ||
dwarf.h | ||
elf.c | ||
elf.h | ||
go.c | ||
ldelf.c | ||
ldmacho.c | ||
ldpe.c | ||
lib.c | ||
lib.h | ||
macho.c | ||
macho.h | ||
pe.c | ||
pe.h | ||
symtab.c |