- 08 May, 2014 2 commits
-
-
Shenghou Ma authored
Fixes #7936. LGTM=alex.brainman, bradfitz, iant R=golang-codereviews, alex.brainman, bradfitz, iant CC=golang-codereviews https://golang.org/cl/100060043
-
Shenghou Ma authored
Update #7188 Fixes #7894. LGTM=alex.brainman, bradfitz, r R=golang-codereviews, alex.brainman, mikioh.mikioh, gobot, r, bradfitz CC=golang-codereviews https://golang.org/cl/95870043
-
- 07 May, 2014 14 commits
-
-
Keith Randall authored
benchmark old ns/op new ns/op delta BenchmarkCopyFat512 1307 329 -74.83% BenchmarkCopyFat256 666 169 -74.62% BenchmarkCopyFat1024 2617 671 -74.36% BenchmarkCopyFat128 343 89.0 -74.05% BenchmarkCopyFat64 182 48.9 -73.13% BenchmarkCopyFat32 103 28.8 -72.04% BenchmarkClearFat128 102 46.6 -54.31% BenchmarkClearFat512 344 167 -51.45% BenchmarkClearFat64 50.5 26.5 -47.52% BenchmarkClearFat256 147 87.2 -40.68% BenchmarkClearFat32 22.7 16.4 -27.75% BenchmarkClearFat1024 511 662 +29.55% Fixes #7624 LGTM=rsc R=golang-codereviews, khr, bradfitz, josharian, dave, rsc CC=golang-codereviews https://golang.org/cl/92760044
-
Brad Fitzpatrick authored
Existing test TestMaxOpenConns was failing occasionally, especially with higher values of GOMAXPROCS. Fixes #7532 LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/95130043
-
Robert Griesemer authored
- A channel may be used between any number of goroutines, not just two. - Replace "passing a value" (which is not further defined) by "sending and receiving a value". - Made syntax production more symmetric. - Talk about unbuffered channels before buffered channels. - Clarify what the comma,ok receive values mean (issue 7785). Not a language change. Fixes #7785. LGTM=rsc, r, iant R=r, rsc, iant, ken CC=golang-codereviews https://golang.org/cl/94030045
-
Robert Griesemer authored
This is a clarification of what happens already. Not a language change. Fixes #7137. LGTM=iant, r, rsc R=r, rsc, iant, ken CC=golang-codereviews https://golang.org/cl/96000044
-
Robert Griesemer authored
If the underlying type of a type T is a boolean, numeric, or string type, then T is also a boolean, numeric, or string type, respectively. Not a language change. Fixes #7551. LGTM=iant, rsc, robert.hencke, r R=r, rsc, iant, ken, robert.hencke CC=golang-codereviews https://golang.org/cl/100130044
-
Dmitriy Vyukov authored
Increases throughput by 2x on a memory hungry program on 8-node NUMA machine. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/100230043
-
Dmitriy Vyukov authored
Currently tip.golang.org leads to golang.org and local godoc also leads to golang.org (when you don't have internet connectivity). LGTM=crawshaw R=golang-codereviews, crawshaw CC=golang-codereviews https://golang.org/cl/100200043
-
Dmitriy Vyukov authored
Number of lost samples was overcounted (never reset). Also remove unused variable (it's trivial to restore it for debugging if needed). LGTM=iant R=golang-codereviews, iant CC=golang-codereviews, rsc https://golang.org/cl/96060043
-
David Crawshaw authored
Fixes #6807. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/95060043
-
Alex Brainman authored
Just like run.* scripts do. Fixes race build. LGTM=dave, dvyukov R=dvyukov, dave CC=golang-codereviews https://golang.org/cl/98980043
-
Nigel Tao authored
LGTM=iant R=dsymonds, iant CC=golang-codereviews, pfr https://golang.org/cl/98970045
-
Alex Brainman authored
Update #7947 LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/100180043
-
David Crawshaw authored
LGTM=iant R=golang-codereviews, iant CC=golang-codereviews, r https://golang.org/cl/95010049
-
Alex Brainman authored
Update #7406 Fixes #7899 LGTM=bradfitz R=golang-codereviews, rsc, bradfitz CC=golang-codereviews https://golang.org/cl/96960043
-
- 06 May, 2014 3 commits
-
-
David Crawshaw authored
Fixes #7071. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/93770044
-
Ian Lance Taylor authored
LGTM=minux.ma R=golang-codereviews, minux.ma CC=golang-codereviews https://golang.org/cl/94100045
-
Alex Brainman authored
Update #7899 LGTM=iant R=golang-codereviews, rsc, iant CC=golang-codereviews https://golang.org/cl/97920044
-
- 05 May, 2014 6 commits
-
-
Mikio Hara authored
The previous syscall constants regeneration on openbsd was conducted with OpenBSD current 3 months ago and it missed updating openbsd/386. This CL adds TIOCGSID for fixing the inconsistency between opensbd/amd64 and openbsd/386. Update #7049 LGTM=iant R=jsing, rsc, iant CC=golang-codereviews https://golang.org/cl/96960044
-
Andrew Gerrand authored
We will serve downloads from here until we work out a better plan. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/95980044
-
Adam Langley authored
R=gobot CC=golang-codereviews https://golang.org/cl/97070043
-
Andrew Gerrand authored
LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/96000043
-
Andrew Gerrand authored
R=rsc, bradfitz CC=golang-codereviews https://golang.org/cl/100110043
-
Tyler Bunnell authored
Fixes #7592 LGTM=robert.hencke, adg R=golang-codereviews, robert.hencke, gobot, adg CC=golang-codereviews https://golang.org/cl/90810043
-
- 02 May, 2014 6 commits
-
-
Robert Griesemer authored
Where the spelling changed from British to US norm (e.g., optimise -> optimize) it follows the style in that file. LGTM=adonovan R=golang-codereviews, adonovan CC=golang-codereviews https://golang.org/cl/96980043
-
Adam Langley authored
Generated by addca. R=gobot CC=golang-codereviews https://golang.org/cl/90970048
-
Alan Donovan authored
Because gotraceback is called early and often, its cache commits to the value of getenv("GOTRACEBACK") before getenv is even ready. So now we reset its cache once getenv becomes ready. Panicking programs now dump core again. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/97800045
-
Dmitriy Vyukov authored
If slice append is the only place where a program allocates, then it will consume all available memory w/o triggering GC. This was demonstrated in the issue. Fixes #7922. LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews, iant, khr https://golang.org/cl/91010048
-
Dmitriy Vyukov authored
The monotonic clock patch changed all runtime times to abstract monotonic time. As the result user-visible MemStats.LastGC become monotonic time as well. Restore Unix time for LastGC. This is the simplest way to expose time.now to runtime that I found. Another option would be to change time.now to C called int64 runtime.unixnanotime() and then express time.now in terms of it. But this would require to introduce 2 64-bit divisions into time.now. Another option would be to change time.now to C called void runtime.unixnanotime1(struct {int64 sec, int32 nsec} *now) and then express both time.now and runtime.unixnanotime in terms of it. Fixes #7852. LGTM=minux.ma, iant R=minux.ma, rsc, iant CC=golang-codereviews https://golang.org/cl/93720045
-
Russ Cox authored
If systems actually read that much, using 2GB-1 will result in misaligned subsequent reads. Use 1GB instead, which will certainly keep reads aligned and which is plenty large enough. Update #7812. LGTM=bradfitz R=bradfitz CC=golang-codereviews https://golang.org/cl/94070044
-
- 01 May, 2014 4 commits
-
-
Robert Hencke authored
LGTM=dsymonds, adg, crawshaw, r, bradfitz, campoy, nigeltao, sameer, iant, robsc, djd, michael.j.fromberger, gmlewis, adonovan, rsc R=golang-codereviews, dsymonds, adg, crawshaw, r, nigeltao, sameer, iant, robsc, djd, michael.j.fromberger, gmlewis, adonovan, rsc CC=golang-codereviews https://golang.org/cl/98880043
-
Brad Fitzpatrick authored
Fixes #7918 LGTM=dave R=rsc, dave CC=golang-codereviews https://golang.org/cl/91980043
-
Andrew Gerrand authored
This change allows us to give an hg tag such as "go1.3beta1" to revisions in the main branch without breaking the build. This is helpful for community members who want to build the beta from source. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/90190044
-
Keith Randall authored
The backing memory for >1 word interfaces was being scanned conservatively. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/94000043
-
- 30 Apr, 2014 5 commits
-
-
Michael Fraenkel authored
go test may call builder.init() multiple times which will create a new work directory. The cleanup needs to hoist the current work directory. Fixes #7904. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/95900044
-
Ian Lance Taylor authored
Generated by addca. R=gobot CC=golang-codereviews https://golang.org/cl/90950044
-
Rui Ueyama authored
Not only ChST but also MeST (America/Metlakatla) is a zone name containing a lower case letter. LGTM=robert.hencke, r R=golang-codereviews, robert.hencke, bradfitz, r CC=golang-codereviews https://golang.org/cl/99910043
-
Mikio Hara authored
LGTM=aram R=golang-codereviews, aram CC=golang-codereviews https://golang.org/cl/99890045
-
Robert Hencke authored
Fixes #7412. LGTM=r R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/92850043
-