- 12 Dec, 2014 11 commits
-
-
Russ Cox authored
//go:nowritebarrier can only be used in package runtime. It does not disable write barriers; it is an assertion, checked by the compiler, that the following function needs no write barriers. Change-Id: Id7978b779b66dc1feea39ee6bda9fd4d80280b7c Reviewed-on: https://go-review.googlesource.com/1224Reviewed-by: Rick Hudson <rlh@golang.org>
-
Shenghou Ma authored
Change-Id: I5f021b131f5650217bd14dec09cfb81fb0447b9e Reviewed-on: https://go-review.googlesource.com/1422Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Brad Fitzpatrick authored
Change-Id: I2b05b7ff217586851ab41744e3077fddc480253c Reviewed-on: https://go-review.googlesource.com/1405Reviewed-by: David Symonds <dsymonds@golang.org>
-
Brad Fitzpatrick authored
Still using the ancient go/types API. Updating that to the modern API should be a separate effort in a separate change. Change-Id: Ic1c5ae3c13711d34fe757507ecfc00ee883810bf Reviewed-on: https://go-review.googlesource.com/1404Reviewed-by: David Symonds <dsymonds@golang.org>
-
Shenghou Ma authored
Fixes build on Windows. Fixes #9234. Change-Id: Iebf4317e7cc20ba1afea5558553166cd89783316 Reviewed-on: https://go-review.googlesource.com/1421 Reviewed-by: <iant@golang.org>
-
Russ Cox authored
We forgot to do the usual API review. Make that not possible in the future. I'll pull this change over to the main branch too, but it's more important (and only testable) here. LGTM=bradfitz R=bradfitz CC=golang-codereviews https://golang.org/cl/185050043
-
Russ Cox authored
I read through and vetted these but others should look too. LGTM=bradfitz, adg R=r, minux, bradfitz, adg CC=adg, golang-codereviews, gri, iant https://golang.org/cl/182560043
-
Andrew Gerrand authored
These are the references that affect current Go users. I left intact references in older release notes; we can figure out what to do with them later. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/186140043 Conflicts: doc/go1.4.html Change-Id: I1032686f2b3ac6dacaf8f114b8c35cdf221330ca
-
Andrew Gerrand authored
LGTM=minux, adg, rsc R=rsc, r, dsymonds, minux, bradfitz, adg, dave, iant CC=golang-codereviews https://golang.org/cl/185190043
-
David Symonds authored
Change-Id: I412358e99301d1c9603960fd34601dae60fca3cb Reviewed-on: https://go-review.googlesource.com/1400Reviewed-by: Rob Pike <r@golang.org>
-
Alberto Donizetti authored
Fixes #9269 Change-Id: I25751632e95978537b656aedfa5c35ab2273089b Reviewed-on: https://go-review.googlesource.com/1380Reviewed-by: Robert Griesemer <gri@golang.org>
-
- 11 Dec, 2014 9 commits
-
-
David Symonds authored
Change-Id: Ibecc2ef1e70c927c325c48bc381091f52c09da85 Reviewed-on: https://go-review.googlesource.com/1355Reviewed-by: Russ Cox <rsc@golang.org> Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Andrew Gerrand <adg@golang.org>
-
Austin Clements authored
This flag no longer exists. It has been replaced with -unit=byte. Change-Id: Iff9fc501f2c666067c9b1948c4623c8e3adddb8d Reviewed-on: https://go-review.googlesource.com/1287Reviewed-by: Russ Cox <rsc@golang.org>
-
Keith Randall authored
Change-Id: Ifa8b2d1d1cebe72f795db34974584a888d55cbd8 Reviewed-on: https://go-review.googlesource.com/1362Reviewed-by: Keith Randall <khr@golang.org>
-
Andrew Gerrand authored
LGTM=dave, dsymonds R=golang-codereviews, dave, dsymonds CC=golang-codereviews https://golang.org/cl/184350043
-
Andrew Gerrand authored
LGTM=bradfitz R=rsc, bradfitz CC=golang-codereviews https://golang.org/cl/189810043
-
Andrew Gerrand authored
LGTM=bradfitz R=iant, rsc, bradfitz CC=golang-codereviews https://golang.org/cl/191750043
-
Andrew Gerrand authored
Also: checkout sub-repos from Mercurial manually instead of using "go get". (for the 1.4 release) LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/190720043
-
Shenghou Ma authored
LGTM=dave, bradfitz, rsc R=golang-codereviews, dave, bradfitz, rsc CC=golang-codereviews https://golang.org/cl/185130043
-
Keith Randall authored
The aesenc instruction has high latency. For hashing large objects, hash several streams in parallel. benchmark old ns/op new ns/op delta BenchmarkHash5 7.02 7.45 +6.13% BenchmarkHash16 6.53 6.94 +6.28% BenchmarkHash32 8.38 8.26 -1.43% BenchmarkHash64 12.6 12.0 -4.76% BenchmarkHash1024 247 62.9 -74.53% BenchmarkHash65536 17335 2966 -82.89% BenchmarkHashInt32Speed 14.7 14.9 +1.36% BenchmarkHashInt64Speed 14.6 14.9 +2.05% BenchmarkHashBytesSpeed 35.4 28.6 -19.21% BenchmarkHashStringSpeed 22.0 20.4 -7.27% BenchmarkHashStringArraySpeed 65.8 56.3 -14.44% Change-Id: Ia8ba03063acc64a9066b8ab2d79f2c9aaac1770f Reviewed-on: https://go-review.googlesource.com/1330Reviewed-by: Russ Cox <rsc@golang.org>
-
- 10 Dec, 2014 7 commits
-
-
Andrew Gerrand authored
I didn't 'add' these files before my final mail. Change-Id: Id6f25629638e58421a3dee7632aec38aad9b1970 Reviewed-on: https://go-review.googlesource.com/1340Reviewed-by: Andrew Gerrand <adg@golang.org>
-
Andrew Gerrand authored
Fixes #9233 Change-Id: If64480cbfaafe44025fcdcc0f20d76c995ffb3a1 Reviewed-on: https://go-review.googlesource.com/1296Reviewed-by: Russ Cox <rsc@golang.org>
-
David Crawshaw authored
I tried to submit this in Go 1.4 as cl/107540044 but tripped over the changes for getting C off the G stack. This is a rewritten version that avoids cgo and works directly with the underlying log device. Change-Id: I14c227dbb4202690c2c67c5a613d6c6689a6662a Reviewed-on: https://go-review.googlesource.com/1285Reviewed-by: Keith Randall <khr@golang.org>
-
Keith Randall authored
Change-Id: I0e95f8a5962c547da20e19a356ae1cf8375c9107 Reviewed-on: https://go-review.googlesource.com/1270Reviewed-by: Russ Cox <rsc@golang.org>
-
Keith Randall authored
It could only handle one finalizer before it raised an out-of-bounds error. Fixes issue #9172 Change-Id: Ibb4d0c8aff2d78a1396e248c7129a631176ab427 Reviewed-on: https://go-review.googlesource.com/1201Reviewed-by: Russ Cox <rsc@golang.org>
-
Andrew Gerrand authored
Change-Id: I8c5b77d861aafdc594714982503da7bee053c9fe Reviewed-on: https://go-review.googlesource.com/1291Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Brad Fitzpatrick authored
Fixes #9231 Change-Id: Ifed6cd37e885415d9a298b63d472d63f44e72321 Reviewed-on: https://go-review.googlesource.com/1290Reviewed-by: Russ Cox <rsc@golang.org>
-
- 09 Dec, 2014 7 commits
-
-
Rick Hudson authored
Change-Id: Ife7d6ce1131ff26444f09e8fda4f61344e669e21 Reviewed-on: https://go-review.googlesource.com/1260Reviewed-by: Russ Cox <rsc@golang.org>
-
Austin Clements authored
needm used to print an error before exiting when it was called too early, but this error was lost in the transition to Go. Bring back the error so we don't silently exit(1) when this happens. Change-Id: I8086932783fd29a337d7dea31b9d6facb64cb5c1 Reviewed-on: https://go-review.googlesource.com/1226Reviewed-by: Russ Cox <rsc@golang.org>
-
Shenghou Ma authored
Change-Id: I74c2578d1620b37a6486eca00a774b9a736a8899 Reviewed-on: https://go-review.googlesource.com/1222Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Brad Fitzpatrick authored
Change-Id: I64985f8de7ca09e63208e8c949a5d4f4fc09073f Reviewed-on: https://go-review.googlesource.com/1230Reviewed-by: David Symonds <dsymonds@golang.org>
-
Ian Lance Taylor authored
Issue #4139. Change-Id: I50d85a65b22c0cfb4d2a078cee45cf7adb23ba77 Reviewed-on: https://go-review.googlesource.com/1210Reviewed-by: Russ Cox <rsc@golang.org> Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
-
Burcu Dogan authored
Change-Id: I3030d678c4eee85970826c86332a2b818cf7f5b6 Reviewed-on: https://go-review.googlesource.com/1217Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Keith Randall authored
Change-Id: I6b1b4d3e8c039ba3198cb4b9765de75859ea8c32 Reviewed-on: https://go-review.googlesource.com/1214Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 08 Dec, 2014 6 commits
-
-
Robert Griesemer authored
Change-Id: I73ecfe8f1e46e4821dafc6ed5788f48a1f0deeea Reviewed-on: https://go-review.googlesource.com/1213Reviewed-by: Alan Donovan <adonovan@google.com>
-
Keith Randall authored
Make sure dequeueing from a channel queue does not exhibit quadratic time behavior. Change-Id: Ifb7c709b026f74c7e783610d4914dd92909a441b Reviewed-on: https://go-review.googlesource.com/1212Reviewed-by: Russ Cox <rsc@golang.org>
-
David Symonds authored
Change-Id: I9d9b02ad745208e7297cb75c86af49b2d858b12d Reviewed-on: https://go-review.googlesource.com/1176Reviewed-by: Andrew Gerrand <adg@golang.org>
-
Robert Griesemer authored
Usage: fibo <n> compute fibonacci(n), n must be >= 0 fibo -bench benchmark fibonacci computation (takes about 1 min) Additional flags: -half add values using two half-digit additions -opt optimize memory allocation through reuse -short only print the first 10 digits of very large fibonacci numbers This change was reviewed in detail as https://codereview.appspot.com/168480043 . Change-Id: I7c86d49c5508532ea6206d00f424cf2117d2fe41 Reviewed-on: https://go-review.googlesource.com/1211Reviewed-by: Russ Cox <rsc@golang.org>
-
Keith Randall authored
Avoids a potential O(n^2) performance problem when dequeueing from very popular channels. benchmark old ns/op new ns/op delta BenchmarkChanPopular 2563782 627201 -75.54% Change-Id: I231aaeafea0ecd93d27b268a0b2128530df3ddd6 Reviewed-on: https://go-review.googlesource.com/1200Reviewed-by: Russ Cox <rsc@golang.org>
-
Austin Clements authored
If the symbol table isn't sorted, we print it and abort. However, we were missing the line break after each symbol, resulting in one gigantic line instead of a nicely formatted table. Change-Id: Ie5c6f3c256d0e648277cb3db4496512a79d266dd Reviewed-on: https://go-review.googlesource.com/1182Reviewed-by: Russ Cox <rsc@golang.org>
-