- 11 Feb, 2014 6 commits
-
-
Andrew Gerrand authored
Generated by addca. R=gobot CC=golang-codereviews https://golang.org/cl/61410050
-
Andrew Gerrand authored
LGTM=dsymonds R=dsymonds CC=golang-codereviews https://golang.org/cl/61070047
-
Andrew Gerrand authored
Fixes #7292. LGTM=dsymonds R=dsymonds CC=golang-codereviews https://golang.org/cl/61650046
-
Andrew Gerrand authored
It was deleted from Vimeo. I will attempt to get a new version online. Fixes #7297. LGTM=r R=r CC=golang-codereviews https://golang.org/cl/61740043
-
Brendan Daniel Tracey authored
At present, when a package identifier is used outside of a selector expression, gc gives the error "use of package %S outside selector". However, in the selector expression x.f, the spec defines f as the selector. This change makes the error clearer. Fixes #7133. LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews https://golang.org/cl/50060047
-
Russ Cox authored
Generated by addca. R=gobot CC=golang-codereviews https://golang.org/cl/55870046
-
- 10 Feb, 2014 10 commits
-
-
Andrew Gerrand authored
This got deleted mistakenly during the content re-org. Fixes #7275. LGTM=dvyukov R=golang-codereviews, minux.ma, dvyukov CC=golang-codereviews https://golang.org/cl/60850043
-
Robert Griesemer authored
(per suggestion by Doug McIlroy) LGTM=r R=r CC=golang-codereviews https://golang.org/cl/50580046
-
David du Colombier authored
Fixes #7286. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/61410044
-
Russ Cox authored
LGTM=gri R=golang-codereviews, gri CC=golang-codereviews https://golang.org/cl/61610043
-
Dmitriy Vyukov authored
R=r CC=golang-codereviews https://golang.org/cl/61650044
-
Dmitriy Vyukov authored
mp->mcache can be concurrently modified by runtime·helpgc. In such case sigprof can remember mcache=nil, then helpgc sets it to non-nil, then sigprof restores it back to nil, GC crashes with nil mcache. R=rsc CC=golang-codereviews https://golang.org/cl/58860044
-
Dmitriy Vyukov authored
R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/60760048
-
Dmitriy Vyukov authored
Currently this leads to a significant skew towards 'etext' entry, since all idle threads are profiled every tick. Before: Total: 66608 samples 63188 94.9% 94.9% 63188 94.9% etext 278 0.4% 95.3% 278 0.4% sweepspan 216 0.3% 95.6% 448 0.7% runtime.mallocgc 122 0.2% 95.8% 122 0.2% scanblock 113 0.2% 96.0% 113 0.2% net/textproto.canonicalMIMEHeaderKey After: Total: 8008 samples 3949 49.3% 49.3% 3949 49.3% etext 231 2.9% 52.2% 231 2.9% scanblock 211 2.6% 54.8% 211 2.6% runtime.cas64 182 2.3% 57.1% 408 5.1% runtime.mallocgc 178 2.2% 59.3% 178 2.2% runtime.atomicload64 LGTM=alex.brainman R=golang-codereviews, alex.brainman CC=golang-codereviews https://golang.org/cl/61250043
-
Dmitriy Vyukov authored
LGTM=bradfitz R=golang-codereviews, bradfitz, alex.brainman CC=golang-codereviews https://golang.org/cl/61260044
-
Dave Cheney authored
Fixes #7293. Update #7261 The bsd ld(1) does not understand $ORIGIN and has restrictions on using -rpath when using clang(1), the default compiler on darwin. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/58480045
-
- 09 Feb, 2014 5 commits
-
-
Dave Cheney authored
Fixes #7260. Fix three broken tests in test.bash The test for issue 4568 was confused by go $ACTION . producing a package root of "", avoiding this mode fixes the test but weakens the test. The test for issue 4773 was broken on linux because math/Rand would fail to resolve as a package causing the test for duplicates to be skipped. Finally, the last breakage was a small change in the error message. Also, add test for foldDup. LGTM=iant R=iant, rsc CC=golang-codereviews https://golang.org/cl/61070044
-
Brad Fitzpatrick authored
LGTM=adg R=adg CC=golang-codereviews https://golang.org/cl/60530049
-
Shenghou Ma authored
rsc suggested that we split the whole linker changes into three parts. This is the first one, mostly dealing with adding Hsolaris. LGTM=iant R=golang-codereviews, iant, dave CC=golang-codereviews https://golang.org/cl/54210050
-
Andrew Gerrand authored
LGTM=bradfitz R=dave, bradfitz CC=golang-codereviews https://golang.org/cl/61310043
-
Mikio Hara authored
LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/54300054
-
- 07 Feb, 2014 11 commits
-
-
Rémy Oudompheng authored
This changes makes sgen and clearfat use unaligned instructions for the trailing bytes, like the runtime memmove does, resulting in faster code when manipulating types whose size is not a multiple of 8. LGTM=khr R=khr, iant, rsc CC=golang-codereviews https://golang.org/cl/51740044
-
David du Colombier authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/60590047
-
David du Colombier authored
LGTM=iant R=golang-codereviews, dave, iant CC=golang-codereviews https://golang.org/cl/60740044
-
Alex Brainman authored
LGTM=minux.ma, dvyukov R=golang-codereviews, minux.ma, dvyukov CC=golang-codereviews https://golang.org/cl/60900043
-
Keith Randall authored
Use explicit SSE writes instead of REP STOSQ. benchmark old ns/op new ns/op delta BenchmarkMemclr5 22 5 -73.62% BenchmarkMemclr16 27 5 -78.49% BenchmarkMemclr64 28 6 -76.43% BenchmarkMemclr256 34 8 -74.94% BenchmarkMemclr4096 112 84 -24.73% BenchmarkMemclr65536 1902 1920 +0.95% LGTM=dvyukov R=golang-codereviews, dvyukov CC=golang-codereviews https://golang.org/cl/60090044
-
Alex Brainman authored
filepath.Base covers all scenarios (for example paths like d:hello.txt) on windows LGTM=iant, bradfitz R=golang-codereviews, iant, bradfitz CC=golang-codereviews https://golang.org/cl/59740050
-
Mikio Hara authored
This CL is in preparation to make cgo work on freebsd/arm. The signedness of C char might be a problem when we make bare syscall APIs, Go structures, using built-in bootstrap scripts with cgo because they do translate C stuff to Go stuff internally. For now almost all the C compilers assume that the type of char will be unsigned on arm by default but it makes a different view from amd64, 386. This CL just passes -fsigned-char, let the type of char be signed, option which is supported on both gcc and clang to the underlying C compilers through cgo for avoiding such inconsistency on syscall API. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/59740051
-
Mikio Hara authored
This CL is in preparation to make cgo work on freebsd/arm. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/59490051
-
Mikio Hara authored
This CL is in preparation to make cgo work on freebsd/arm. It's just for fixing build fails on freebsd/arm, we still need to update z-files later for fixing several package test fails. How to generate z-files on freebsd/arm in the bootstrapping phase: 1. run freebsd on appropriate arm-eabi platforms 2. both syscall z-files and runtime def-files in the current tree are broken about EABI padding, fix them by hand 3. run make.bash again to build $GOTOOLDIR/cgo 4. use $GOTOOLDIR/cgo directly LGTM=iant R=iant, dave CC=golang-codereviews https://golang.org/cl/59490052
-
Mikio Hara authored
This CL is in preparation to make cgo work on freebsd/arm. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/60500044
-
Mikio Hara authored
This CL is in preparation to make cgo work on freebsd/arm. How to generate defs-files on freebsd/arm in the bootstrapping phase: 1. run freebsd on appropriate arm-eabi platforms 2. both syscall z-files and runtime def-files in the current tree are broken about EABI padding, fix them by hand 3. run make.bash again to build $GOTOOLDIR/cgo 4. use $GOTOOLDIR/cgo directly LGTM=minux.ma, iant R=iant, minux.ma, dave CC=golang-codereviews https://golang.org/cl/59580045
-
- 06 Feb, 2014 5 commits
-
-
Jakub Ryszard Czarnowicz authored
Whitespace characters are allowed in quoted-string according to RFC 5322 without being "Q"-encoding. Address.String() already always formats the name portion in quoted string, so whitespace characters should be allowed in there. Fixes #6641. LGTM=dave, dsymonds R=golang-codereviews, gobot, dsymonds, dave CC=golang-codereviews https://golang.org/cl/55770043
-
Shenghou Ma authored
Fixes #7240. LGTM=tommi.virtanen, bradfitz R=golang-codereviews, tommi.virtanen, bradfitz CC=golang-codereviews https://golang.org/cl/60480045
-
Richard Musiol authored
I just added support for goto statements to my GopherJS project and now I am trying to get rid of my patches. These occurrences of goto however are a bit problematic: GopherJS has to emulate gotos, so there is some performance drawback when doing so. In this case the drawback is major, since this is a core function of math/big which is called quite often. Additionally I can't see any reason here why the implementation with gotos should be preferred over my proposal. That's why I would kindly ask to include this patch, even though it is functional equivalent to the existing code. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/55470046
-
Shenghou Ma authored
So that we don't need to update the file each time a new version is released. LGTM=dave, r, adg R=golang-codereviews, dave, josharian, gobot, adg, r CC=golang-codereviews https://golang.org/cl/48730043
-
Elias Naur authored
Introduce two new environment variables, CC_FOR_TARGET and CXX_FOR_TARGET. CC_FOR_TARGET defaults to CC and is used when compiling for GOARCH, while CC remains for compiling for GOHOSTARCH. CXX_FOR_TARGET defaults to CXX and is used when compiling C++ code for GOARCH. CGO_ENABLED defaults to disabled when cross compiling and has to be explicitly enabled. Update #4714 LGTM=minux.ma, iant R=golang-codereviews, minux.ma, iant, rsc, dominik.honnef CC=golang-codereviews https://golang.org/cl/57100043
-
- 05 Feb, 2014 2 commits
-
-
Brad Fitzpatrick authored
Generated by addca. TBR=iant R=gobot CC=golang-codereviews https://golang.org/cl/52350044
-
Shenghou Ma authored
Fixes #7034. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/57140043
-
- 04 Feb, 2014 1 commit
-
-
Josh Bleecher Snyder authored
Fixes #7016. LGTM=r R=r CC=adg, bradfitz, dave, golang-codereviews https://golang.org/cl/60100043
-