- 18 Sep, 2012 20 commits
-
-
Andrew Gerrand authored
R=gri CC=golang-dev https://golang.org/cl/6525046
-
Dmitriy Vyukov authored
This is the second part of a bigger change that adds data race detection feature: https://golang.org/cl/6456044 This change makes the linker emit dependency on runtime/race package when supplied with -b flag. R=rsc, minux.ma CC=golang-dev https://golang.org/cl/6488074
-
Russ Cox authored
Fixes #4061. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6525047
-
Dmitriy Vyukov authored
This is the first part of a bigger change that adds data race detection feature: https://golang.org/cl/6456044 Adds -race flag to go command. API change: +pkg go/build, type Context struct, InstallTag string R=rsc CC=golang-dev https://golang.org/cl/6488075
-
Dmitriy Vyukov authored
This is a part of a bigger change that adds data race detection feature: https://golang.org/cl/6456044 This change breaks circular dependency between runtime/race and syscall packages. R=rsc CC=golang-dev https://golang.org/cl/6498079
-
Russ Cox authored
The performance changes will be a few different CLs. Start with benchmarks as a baseline. R=golang-dev, r CC=golang-dev https://golang.org/cl/6537043
-
Jan Ziak authored
R=rsc, dvyukov, dave CC=golang-dev https://golang.org/cl/6528043
-
Robert Griesemer authored
Function and method calls are valid expression statements, but calling certain built-in functions is not permitted. Enumerate the built-ins. Also: unsafe.Offsetof permits parenthesized selectors as arguments. This is simply documenting existing compiler behavior (both gc and gccgo agree). R=r, rsc, iant, ken CC=golang-dev https://golang.org/cl/6498138
-
Jan Ziak authored
R=rsc CC=golang-dev https://golang.org/cl/6527043
-
Russ Cox authored
Fixes #3942. R=golang-dev, mike.rosset, r CC=golang-dev https://golang.org/cl/6524043
-
Russ Cox authored
R=r, iant, rogpeppe, bradfitz CC=golang-dev https://golang.org/cl/6498078
-
Anthony Eufemio authored
Fixes #4093. R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/6536047
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/6524045
-
Dmitriy Vyukov authored
The change is a preparation for the new scheduler. It introduces runtime.park() function, that will atomically unlock the mutex and park the goroutine. It will allow to remove the racy readyonstop flag that is difficult to implement w/o the global scheduler mutex. R=rsc, remyoudompheng, dave CC=golang-dev https://golang.org/cl/6501077
-
Mikio Hara authored
Broke TCP selfConnect ««« original CL description net: avoid nil pointer dereference when RemoteAddr.String method chain is called Fixes #3721. R=dave, rsc CC=golang-dev https://golang.org/cl/6395055 »»» R=rsc CC=golang-dev https://golang.org/cl/6533043
-
Oling Cat authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/6488122
-
Daniel Morsing authored
During interface compare, the operands will be evaluated twice. The operands might include function calls for conversion, so make them cheap before comparing them. R=rsc CC=golang-dev https://golang.org/cl/6498133
-
Nigel Tao authored
Fixes #4084. R=r CC=golang-dev https://golang.org/cl/6526043
-
Alex Brainman authored
syscall: attempt to find error message in "local" language before resorting to error number on windows R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6499121
-
Andrew Gerrand authored
R=golang-dev CC=golang-dev https://golang.org/cl/6506129
-
- 17 Sep, 2012 14 commits
-
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/6503118
-
Dave Cheney authored
Fixes #3456. This proposal is a reformulation of CL 5987063. This CL resets the default GOARM value to 6 and allows the use of the VFPv3 optimisation if GOARM=7. Binaries built with this CL in place will abort if GOARM=7 was used and the target host does not support VFPv3. R=minux.ma, rsc, ajstarks CC=golang-dev https://golang.org/cl/6501099
-
Eric Roshan-Eisner authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6492135
-
Lucio De Re authored
R=dave, minux.ma, rsc CC=golang-dev https://golang.org/cl/6501134
-
Jan Ziak authored
R=rsc, dave, minux.ma CC=golang-dev https://golang.org/cl/6493123
-
Charles L. Dorian authored
From 159 to 47.6 ns/op; slightly more accurate. R=rsc, golang-dev, mtj, dave, remyoudompheng CC=golang-dev https://golang.org/cl/6500121
-
Francisco Souza authored
Fixes #4062. R=rsc, dave, r CC=golang-dev, nicksaika https://golang.org/cl/6488129
-
Daniel Morsing authored
In switches without an expression, the compiler would not convert the implicit true to an interface, causing codegen errors. Fixes #3980. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6497147
-
Robert Griesemer authored
Both gc and gccgo permit calls such as unsafe.Sizeof(42). The spec only permits variable arguments. This is a (backward-compatible) spec change reflecting the status quo. Seems preferrable over restricting the compilers. R=r, rsc, iant, ken CC=golang-dev https://golang.org/cl/6494140
-
Andrew Gerrand authored
I thought this was redundant since the behavior of 'go get -d' had changed. I was wrong. Should have tested more thoroughly. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/6500136
-
Sanjay Menakuru authored
R=golang-dev, r CC=adg, golang-dev https://golang.org/cl/6493124
-
Andrew Gerrand authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6499127
-
Andrew Gerrand authored
Fixes #4083. R=golang-dev, r CC=golang-dev https://golang.org/cl/6498136
-
Eric Eisner authored
This also fixes the semantics of some corner cases with the empty match. TODOs for genericReplacer in the tests are fixed. benchmark old ns/op new ns/op delta BenchmarkGenericNoMatch 71395 3132 -95.61% BenchmarkGenericMatch1 75610 20280 -73.18% BenchmarkGenericMatch2 837995 86725 -89.65% R=nigeltao, rsc CC=golang-dev https://golang.org/cl/6492076
-
- 16 Sep, 2012 3 commits
-
-
Shenghou Ma authored
R=golang-dev CC=golang-dev https://golang.org/cl/6506121
-
Shenghou Ma authored
mainly for NetBSD/OpenBSD. R=bradfitz, r, rsc CC=golang-dev https://golang.org/cl/6453154
-
Shenghou Ma authored
Ref: http://svnweb.freebsd.org/base/head/sys/sys/signal.h?revision=HEAD&view=markup R=golang-dev, devon.odell, r CC=golang-dev https://golang.org/cl/6490118
-
- 14 Sep, 2012 3 commits
-
-
Rob Pike authored
Give the right name for errors, and add a test to check we're getting the errors we expect. Also fix an ordering bug (calling add after stopParse) that caused a nil indirection rather than a helpful error. Fixes #3280. R=golang-dev, adg CC=golang-dev https://golang.org/cl/6520043
-
Brad Fitzpatrick authored
Command.Start could crash before if no fds were available because a nil *os.File of /dev/null was added to the cleanup list, which crashed before returning the proper error. R=golang-dev, iant CC=golang-dev https://golang.org/cl/6514043
-
Robert Griesemer authored
Strings happen to be represented similarly to byte slices internally, but they don't quite behave like them: While strings can be indexed, sliced, and have their len() taken like byte slices, string elements are not addressable, make() and cap() is not supported, range loops operate differently, and they are immutable (and thus behave like values rather then references). Fixes #4018. R=r, rsc, iant, ken CC=golang-dev https://golang.org/cl/6503116
-