mirror of
https://github.com/golang/go
synced 2024-10-07 09:21:23 -06:00
7bcbdbd904
In both cases we lie to malloc about the actual size that we need. In panic we ask for less memory than we are going to use. In slice we ask for more memory than we are going to use (potentially asking for a fractional number of elements). This breaks the new GC. LGTM=khr R=golang-codereviews, dave, khr CC=golang-codereviews, rsc https://golang.org/cl/116940043 |
||
---|---|---|
.. | ||
cmd | ||
lib9 | ||
libbio | ||
liblink | ||
pkg | ||
all.bash | ||
all.bat | ||
all.rc | ||
androidtest.bash | ||
clean.bash | ||
clean.bat | ||
clean.rc | ||
make.bash | ||
make.bat | ||
Make.dist | ||
make.rc | ||
nacltest.bash | ||
race.bash | ||
race.bat | ||
run.bash | ||
run.bat | ||
run.rc | ||
sudo.bash |