- 30 Jan, 2013 4 commits
-
-
Akshat Kumar authored
Runemax is already defined in libc on 64-bit version of Plan 9, but is not defined on other versions. To accommodate, we make sure to rename any previous instance of Runemax and re-define it subsequently. R=rsc, ality, rminnich CC=golang-dev https://golang.org/cl/7232059
-
Akshat Kumar authored
This change also resolves some issues with note handling: we now make sure that there is enough room at the bottom of every goroutine to execute the note handler, and the `exitstatus' is no longer a global entity, which resolves some race conditions. R=rminnich, npe, rsc, ality CC=golang-dev https://golang.org/cl/6569068
-
Andrew Gerrand authored
R=golang-dev CC=golang-dev https://golang.org/cl/7241048
-
Rémy Oudompheng authored
Range access functions are already available in TSan library but were not yet used. Time for go test -race -short: Before: compress/flate 24.244s exp/norm >200s go/printer 78.268s After: compress/flate 17.760s exp/norm 5.537s go/printer 5.738s Fixes #4250. R=dvyukov, golang-dev, fullung CC=golang-dev https://golang.org/cl/7229044
-
- 29 Jan, 2013 15 commits
-
-
Russ Cox authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/7247043
-
Francesc Campoy authored
R=adg CC=golang-dev https://golang.org/cl/7221055
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/7237049
-
Russ Cox authored
Roll back CL making primitive type unmarshal faster, because it broke the Unmarshal of malformed data. Add benchmarks for unmarshal of primitive types. Update #3949. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7228061
-
Russ Cox authored
R=cshapiro CC=golang-dev https://golang.org/cl/7230052
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/7245043
-
Gustavo Franco authored
Fixes #4652. R=bradfitz, minux.ma, rsc CC=golang-dev https://golang.org/cl/7094049
-
Alan Donovan authored
We explicitly spill all parameters to the frame during initial SSA construction. (Later passes will remove spills.) We now properly handle local Allocs escaping via Captures. Also: allocate BasicBlock.Succs inline. R=iant, iant CC=golang-dev https://golang.org/cl/7231050
-
Dmitriy Vyukov authored
Useful for debugging of runtime bugs. + Do not print "stack segment boundary" unless GOTRACEBACK>1. + Do not traceback system goroutines unless GOTRACEBACK>1. R=rsc, minux.ma CC=golang-dev https://golang.org/cl/7098050
-
Francesc Campoy authored
R=adg, minux.ma CC=golang-dev https://golang.org/cl/6976045
-
Carl Shapiro authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7231051
-
Brad Fitzpatrick authored
R=golang-dev, adg, mikioh.mikioh CC=golang-dev https://golang.org/cl/7195049
-
Brad Fitzpatrick authored
Otherwise it's impossible to know how much data from the json.Decoder's underlying Reader was actually consumed. The old fix from golang.org/issue/1955 just added docs. This provides an actual mechanism. Update #1955 R=golang-dev, adg, rsc CC=golang-dev https://golang.org/cl/7181053
-
https://code.google.com/p/go/source/detail?r=ca5e5de48173Alan Donovan authored
I don't understand why this didn't show up during my testing. R=bradfitz TBR=bradfitz CC=golang-dev https://golang.org/cl/7237047
-
Ian Lance Taylor authored
R=golang-dev, bradfitz, rsc, iant CC=golang-dev https://golang.org/cl/7240043
-
- 28 Jan, 2013 14 commits
-
-
Carl Shapiro authored
The dumping routine incorrectly assumed that all incoming symbols would be non-nil and load through it to retrieve the symbol name. Instead of using the symbol to retrieve a name, use the name provided by the caller. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7224043
-
https://code.google.com/p/go/source/detail?r=ca5e5de48173Alan Donovan authored
Add 'math/big' to blacklist of packages that use shift operations as yet unsupported by go/types. (The failure was masked due to local bugfixes in my client.) R=rsc, bradfitz, bradfitz CC=golang-dev https://golang.org/cl/7220057
-
Alan Donovan authored
R=gri, iant, iant CC=golang-dev https://golang.org/cl/7202051
-
Alan Donovan authored
This CL includes the implementation of Literal, all the Value.String and Instruction.String methods, the sanity checker, and other misc utilities. R=gri, iant, iant CC=golang-dev https://golang.org/cl/7199052
-
Alan Donovan authored
Added tests, using input data from strconv.ParseFloat. Thanks to rsc for most of the test code. math/big could use some good package-level documentation. R=remyoudompheng, rsc CC=golang-dev https://golang.org/cl/6930059
-
Rémy Oudompheng authored
This enables a few tests that were only executed unconditionnally. R=rsc, minux.ma, bradfitz CC=golang-dev https://golang.org/cl/7103051
-
Vega Garcia Luis Alfonso authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7235045
-
Sébastien Paolacci authored
Mark candidate spans one GC pass earlier. Move scavenger's code out from mgc0 and constrain it into mheap (where it belongs). R=rsc, dvyukov, minux.ma CC=golang-dev https://golang.org/cl/7002049
-
Russ Cox authored
This broke 'godoc net/http'. TBR=adg CC=golang-dev https://golang.org/cl/7235052
-
Ian Lance Taylor authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7229050
-
Ian Lance Taylor authored
R=golang-dev, bradfitz, mikioh.mikioh, dave, minux.ma CC=golang-dev https://golang.org/cl/7227043
-
Dave Cheney authored
Add race.bash so anyone with suitable hardware can run a race detector build. race.bash can be called from the dashboard builder by passing -cmd="race.bash". Original source for race.bash is here, http://code.google.com/p/go-wiki/wiki/DashboardBuilders TODO: add race.bat for windows/amd64 R=dvyukov, minux.ma, adg, rsc CC=fullung, golang-dev https://golang.org/cl/7179052
-
Vega Garcia Luis Alfonso authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7232045
-
Brad Fitzpatrick authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7235047
-
- 27 Jan, 2013 1 commit
-
-
Ian Lance Taylor authored
This is for SPARC64, a 64-bit processor that uses all 64-bits of virtual addresses. The idea is to use the low order 3 bits to at least get a small ABA counter. That should work since pointers are aligned. The idea is for SPARC64 to set CNT_MASK == 7, PTR_BITS == 0, PTR_MASK == 0xffffffffffffff8. Also add uintptr casts to avoid GCC warnings. The gccgo runtime code is compiled with GCC, and GCC warns when casting between a pointer and a type of a different size. R=dvyukov CC=golang-dev https://golang.org/cl/7225043
-
- 26 Jan, 2013 3 commits
-
-
Rémy Oudompheng authored
It is now possible to run "go test -cpu=1,2,4 std" successfully. Fixes #3185. R=golang-dev, dave, minux.ma, bradfitz CC=golang-dev https://golang.org/cl/7196052
-
Dave Cheney authored
These changes to test.bash were intended to be submitted with CL 6941058, but were accidentally excluded from the original CL. R=golang-dev CC=golang-dev https://golang.org/cl/7232043
-
Shenghou Ma authored
For gccgo runtime and Darwin where -fno-common is the default. R=iant, dave CC=golang-dev https://golang.org/cl/7094061
-
- 25 Jan, 2013 2 commits
-
-
Brad Fitzpatrick authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7220046
-
John Graham-Cumming authored
net/http currently assumes that the response to a HEAD request will always have a Content-Length header. This is incorrect. RFC2616 says: "The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response. The metainformation contained in the HTTP headers in response to a HEAD request SHOULD be identical to the information sent in response to a GET request. This method can be used for obtaining metainformation about the entity implied by the request without transferring the entity-body itself. This method is often used for testing hypertext links for validity, accessibility, and recent modification." This means that three cases are possible: a Content-Length header, a Transfer-Encoding header or neither. In the wild the following sites exhibit these behaviours (curl -I): HEAD on http://www.google.co.uk/ has Transfer-Encoding: chunked HEAD on http://www.bbc.co.uk/ has Content-Length: 45247 HEAD on http://edition.cnn.com/ has neither header This patch does not remove the ErrMissingContentLength error for compatibility reasons, but it is no longer used. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7182045
-
- 24 Jan, 2013 1 commit
-
-
Andrew Gerrand authored
This prevents the occasional issue when Mercurial screws up the locking itself, and by moving the locking into this process we can use the goroot for other things (such as automatically updating the builder binary). It also asks all builders to poll for new commits. R=bradfitz, dave, minux.ma, rsc CC=golang-dev https://golang.org/cl/7178046
-