- 19 Jul, 2011 9 commits
-
-
Tarmigan Casebolt authored
R=golang-dev, adg, rsc, tarmigan+golang CC=golang-dev https://golang.org/cl/4760055
-
Rob Pike authored
Should fix the arm build. R=golang-dev, dsymonds, adg CC=golang-dev https://golang.org/cl/4777041
-
Andrew Gerrand authored
R=golang-dev, dsymonds, dsymonds, r CC=golang-dev https://golang.org/cl/4771041
-
Alex Brainman authored
R=golang-dev, mattn.jp, adg CC=golang-dev https://golang.org/cl/4746047
-
Robert Griesemer authored
R=rsc, r, bradfitz, r, adg CC=golang-dev https://golang.org/cl/4748056
-
Alex Brainman authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4770041
-
Rob Pike authored
R=nigeltao CC=golang-dev https://golang.org/cl/4759051
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4631085
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/4763048
-
- 18 Jul, 2011 23 commits
-
-
Hector Chu authored
Fixes #2075 R=rsc, ken, r CC=golang-dev https://golang.org/cl/4748045
-
Russ Cox authored
Used to use mcpu+msyscall but that's problematic for packing into a single atomic word. The running goroutine count (where running == Go code or syscall) can be maintained separately, always manipulated under lock. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4767041
-
Dmitriy Vyukov authored
Avoid touching centralized state during memory manager operations. R=mirtchovski CC=golang-dev, rsc https://golang.org/cl/4766042
-
Dmitriy Vyukov authored
Avoid touching centralized state during memory manager opreations. R=rsc CC=golang-dev https://golang.org/cl/4766042
-
Ian Lance Taylor authored
The package was always GNU/Linux specific, and is no longer used by anything now that exp/ogle has been removed. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4757049
-
Dmitriy Vyukov authored
benchmark old ns/op new ns/op delta BenchmarkWaitGroupUncontended 93.50 33.60 -64.06% BenchmarkWaitGroupUncontended-2 44.30 16.90 -61.85% BenchmarkWaitGroupUncontended-4 21.80 8.47 -61.15% BenchmarkWaitGroupUncontended-8 12.10 4.86 -59.83% BenchmarkWaitGroupUncontended-16 7.38 3.35 -54.61% BenchmarkWaitGroupAddDone 58.40 33.70 -42.29% BenchmarkWaitGroupAddDone-2 293.00 85.80 -70.72% BenchmarkWaitGroupAddDone-4 243.00 51.10 -78.97% BenchmarkWaitGroupAddDone-8 236.00 52.20 -77.88% BenchmarkWaitGroupAddDone-16 215.00 43.30 -79.86% BenchmarkWaitGroupAddDoneWork 826.00 794.00 -3.87% BenchmarkWaitGroupAddDoneWork-2 450.00 424.00 -5.78% BenchmarkWaitGroupAddDoneWork-4 277.00 220.00 -20.58% BenchmarkWaitGroupAddDoneWork-8 440.00 116.00 -73.64% BenchmarkWaitGroupAddDoneWork-16 569.00 66.50 -88.31% BenchmarkWaitGroupWait 29.00 8.04 -72.28% BenchmarkWaitGroupWait-2 74.10 4.15 -94.40% BenchmarkWaitGroupWait-4 117.00 2.30 -98.03% BenchmarkWaitGroupWait-8 111.00 1.31 -98.82% BenchmarkWaitGroupWait-16 104.00 1.27 -98.78% BenchmarkWaitGroupWaitWork 802.00 792.00 -1.25% BenchmarkWaitGroupWaitWork-2 411.00 401.00 -2.43% BenchmarkWaitGroupWaitWork-4 210.00 199.00 -5.24% BenchmarkWaitGroupWaitWork-8 206.00 105.00 -49.03% BenchmarkWaitGroupWaitWork-16 334.00 54.40 -83.71% R=rsc CC=golang-dev https://golang.org/cl/4672050
-
Russ Cox authored
R=bradfitz CC=golang-dev https://golang.org/cl/4767042
-
Brad Fitzpatrick authored
... as when it's over-stripped with StripPrefix. R=golang-dev, andybalholm, rsc CC=golang-dev https://golang.org/cl/4759052
-
Russ Cox authored
Reduces number of write+seek's from 88516 to 2080 when linking godoc with 6l. Thanks to Alex Brainman for pointing out the many small writes. R=golang-dev, r, alex.brainman, robert.hencke CC=golang-dev https://golang.org/cl/4743043
-
Albert Strasheim authored
R=rsc, agl, mikioh.mikioh CC=golang-dev https://golang.org/cl/4667066
-
Dmitriy Vyukov authored
Add mutex to protect brk limit. Add mstats.sys update. R=rsc CC=golang-dev https://golang.org/cl/4762045
-
Brad Fitzpatrick authored
This affected certain signatures needing padding like: //export Foo func Foo() (int, C.long) { ... } R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4745047
-
Dave Cheney authored
Fixes #2076. R=golang-dev, r, r, dsymonds, lucio.dere CC=golang-dev https://golang.org/cl/4744047
-
Rob Pike authored
interface field can be unpacked. We don't have type assertions here so we must be forthright. R=golang-dev, adg CC=golang-dev https://golang.org/cl/4757047
-
Andrew Gerrand authored
See /doc/codewalk/sharemem/ for an example of how it's broken. R=golang-dev, r CC=golang-dev https://golang.org/cl/4742044
-
Alex Brainman authored
- Clean and IsAbs to handle paths with drive letter properly. - Clean to replace / with \. R=golang-dev, adg CC=golang-dev, mattn.jp https://golang.org/cl/4758051
-
Nigel Tao authored
I suspect that this was introduced by http://code.google.com/p/go/source/detail?r=6e4ee32fffd1 R=r CC=golang-dev https://golang.org/cl/4764045
-
David Symonds authored
R=r CC=golang-dev https://golang.org/cl/4756047
-
Rob Pike authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4758050
-
Rob Pike authored
Makes the code agree with the documentation. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4759050
-
Rob Pike authored
The story is more complicated; this is just a bandaid. R=golang-dev, adg CC=golang-dev https://golang.org/cl/4755047
-
Quan Yong Zhai authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4754050
-
Rob Pike authored
It took it as an octal base prefix but assumed more digits were coming. Fixes #2077. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4764044
-
- 17 Jul, 2011 5 commits
-
-
Lucio De Re authored
R=golang-dev, r CC=golang-dev, rsc https://golang.org/cl/4755046
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4754044
-
Brad Fitzpatrick authored
This didn't actually cause a bug, but looks wrong. There was a lock but there was more shared mutable state not guarded by it. R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/4760047
-
Rob Pike authored
The previous CL doicumented and diagnosed the old situation. This one changes it to something more traditional: any action may declare a variable, and the block structure of scopes applies only to control seequences. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4748047
-
Rob Pike authored
In simple pipelines the declaration has no scope. Also document the scope. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4761044
-
- 15 Jul, 2011 3 commits
-
-
Russ Cox authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4753044
-
Lucio De Re authored
6a/a.h: . Dropped <u.h> and <libc.h>. . Made definition of EOF conditional. 6a/a.y: . Added <u.h> and <libc.h>. 6a/lex.c: . Added <u.h> and <libc.h>. . Dropped <ctype.h> (now in <u.h>). 6c/gc.h: . Added varargck pragma for "lD". 6c/swt.c: . Dropped unused "thestring" argument in Bprint() calls. 6l/Makefile: . Dropped unneeded directory prefix. 6l/l.h: . Dropped unneeded directory prefix. . Added varargck pragma for "I" and "i". 6l/obj.c: . Dropped unneeded assignment. . Dropped unreachable goto statement. 6l/pass.c: . Dropped assignments flagged as unused. 6l/prof.c: . Replaced "#if 0" with "#ifdef NOTDEF". 6l/span.c: . Dropped unused incrementation. . Added USED() as required. . Dropped unreachable "return" statement. R=golang-dev CC=golang-dev, rsc https://golang.org/cl/4747044
-
Lucio De Re authored
5a/a.h: . Removed <u.h> and <lib.h>. . Made definition of EOF conditional. 5a/a.y: . Added <u.h> and <lib.h>. 5a/lex.c: . Added <u.h> and <lib.h>. . Dropped <ctype.h> (now in <u.h>). 5c/peep.c: . Removed unnecessary "return 0" statement. 5c/reg.c: . Added compilation condition around unused code. 5c/swt.c: . Removed unused "thestring" argument from Bprint() calls. 5l/asm.c: . Added USED() statements as required. . Adjusted a few format specifications. . Added compilation condition around unused code. 5l/l.h: . Dropped directory prefix from <../5l/5.out.h>. . Added varargck pragma for "I" and "i". 5l/obj.c: . Cascaded consecutive "if" statements. . Dropped unnecessary incrementation and assignments. 5l/pass.c: . Dropped unnecessary assignment. 5l/prof.c: . #if 0 converted to #ifdef NOTDEF. 5l/span.c: . Dropped unnecessary incrementation and assignments. R=golang-dev CC=golang-dev, rsc https://golang.org/cl/4752041
-