- 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 13 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>
-
Andrew Gerrand authored
This file is known to GitHub and will be linked prominently when potential contributors try to open pull requests. Here's how it should appear: https://gist.github.com/adg/e0ffcc922a32f20af3db Change-Id: I41c5aadf284a0a24c485f96b7fe2caa338ad1e4f Reviewed-on: https://go-review.googlesource.com/1178Reviewed-by: Rob Pike <r@golang.org>
-
David Symonds authored
Change-Id: Idd2e74053ce4a2be3d757aef1bb83313973de6f0 Reviewed-on: https://go-review.googlesource.com/1175Reviewed-by: Andrew Gerrand <adg@golang.org>
-
David Symonds authored
Change-Id: I6021f42ce4ac6a66632751b21ab13e9b22383af9 Reviewed-on: https://go-review.googlesource.com/1172Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Andrew Gerrand <adg@golang.org>
-
David Symonds authored
Change-Id: I5c788d324e56ca88366fb54b67240cebf5dced2c Reviewed-on: https://go-review.googlesource.com/1171Reviewed-by: Andrew Gerrand <adg@golang.org>
-
David Symonds authored
-
David Symonds authored
-
David Symonds authored
-
- 06 Dec, 2014 4 commits
-
-
Russ Cox authored
It is unused. It was introduced in the CL that added InputOffset. I suspect it was an editing mistake. LGTM=bradfitz R=bradfitz CC=golang-codereviews https://golang.org/cl/182580043
-
Russ Cox authored
When we start work on Gerrit, ppc64 and garbage collection work will continue in the master branch, not the dev branches. (We may still use dev branches for other things later, but these are ready to be merged, and doing it now, before moving to Git means we don't have to have dev branches working in the Gerrit workflow on day one.) TBR=rlh CC=golang-codereviews https://golang.org/cl/183140043
-
Russ Cox authored
640 bytes ought to be enough for anybody. We'll bring this back down before Go 1.5. That's issue 9214. TBR=rlh CC=golang-codereviews https://golang.org/cl/188730043
-
Russ Cox authored
Fixes #8654. LGTM=austin R=austin CC=golang-codereviews https://golang.org/cl/180600043
-
- 05 Dec, 2014 9 commits
-
-
Russ Cox authored
This is going to hurt a bit but we'll make it better later. Now the race detector can be run again. I added the write barrier optimizations from CL 183020043 to try to make it hurt a little less. TBR=rlh CC=golang-codereviews https://golang.org/cl/185070043
-
Russ Cox authored
This is the last system-dependent file written by cmd/dist. They are all now written by go generate. cmd/dist is not needed to start building package runtime for a different system anymore. Now all the generated files can be assumed generated, so delete the clumsy hacks in cmd/api. Re-enable api check in run.bash. LGTM=bradfitz R=bradfitz CC=golang-codereviews https://golang.org/cl/185040044
-
Russ Cox authored
This was the last src/runtime/*.c file. LGTM=austin R=austin CC=golang-codereviews https://golang.org/cl/187770043
-
Russ Cox authored
-
Russ Cox authored
With this change, default now contains Go 1.5 work. Any future bug fixes for Go 1.4 in the compilers or the runtime will have to be made directly to the release branch.
-
Russ Cox authored
TBR=rlh CC=golang-codereviews https://golang.org/cl/181100044
-
Russ Cox authored
TBR=austin CC=golang-codereviews https://golang.org/cl/178700044
-
Austin Clements authored
When liblink sees something like JMP x ... x: JMP y it rewrites the first jump to jump directly to y. This is fine if y is a resolved label. However, it *also* does this if y is a function symbol, but fails to carry over the relocation that would later patch in that symbol's value. As a result, the original jump becomes either a self-jump (if relative) or a jump to PC 0 (if absolute). Fix this by disabling this optimization if the jump being patched in is a jump to a symbol. LGTM=minux R=rsc, minux CC=golang-codereviews https://golang.org/cl/185890044
-
Shenghou Ma authored
Frankly, I don't understand how the current code could possibly work except when every android program is using cgo. Discovered this while working on the iOS port. LGTM=crawshaw, rsc R=rsc, crawshaw CC=golang-codereviews https://golang.org/cl/177470043
-