1
0
mirror of https://github.com/golang/go synced 2024-10-07 09:21:23 -06:00
go/src
Dmitriy Vyukov 7bcbdbd904 runtime: pass correct size to malloc
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
2014-07-22 01:56:19 +04:00
..
cmd cmd/api: ignore internal packages 2014-07-21 12:06:30 -07:00
lib9 lib9: restore argv0 initialization code. 2014-04-21 00:08:39 -04:00
libbio libbio: add casts to eliminate -Wconversion warning 2014-04-14 09:36:47 -07:00
liblink liblink: remove some gotos + other fixes 2014-07-21 17:38:48 -04:00
pkg runtime: pass correct size to malloc 2014-07-22 01:56:19 +04:00
all.bash build: make nacl pass 2014-05-20 12:10:19 -04:00
all.bat
all.rc
androidtest.bash androidtest.bash: missing ! 2014-07-09 14:54:11 -04:00
clean.bash
clean.bat
clean.rc
make.bash build: make nacl pass 2014-05-20 12:10:19 -04:00
make.bat make.bat: do not exit builder on successful completion of make.bat (fixes build) 2014-07-21 16:29:38 +10:00
Make.dist
make.rc lib9: enable on Plan 9 2014-02-13 20:06:41 +01:00
nacltest.bash nacltest.bash: set GOROOT before invoking cmd/go 2014-07-10 15:36:48 -04:00
race.bash race.bash: support freebsd 2014-06-24 15:47:22 -07:00
race.bat race.bash,race.bat: unset GOROOT_FINAL during tests 2014-05-07 16:34:21 +10:00
run.bash run.bash: disable tests that don't (yet) like running off the host 2014-07-08 18:41:07 -04:00
run.bat build: remove goplay from run.bash and run.bat 2014-06-02 08:44:47 +10:00
run.rc build: be verbose when running tests on Plan 9 2014-07-20 13:14:53 +03:00
sudo.bash