- 04 Jun, 2013 3 commits
-
-
Rémy Oudompheng authored
Fixes #5614. R=golang-dev CC=golang-dev https://golang.org/cl/9953044
-
Andrew Gerrand authored
R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/9961043
-
Alex Brainman authored
New version of cmd/cgo from https://golang.org/cl/9574043/ is used to regenerate these. R=golang-dev, iant CC=golang-dev https://golang.org/cl/9679046
-
- 03 Jun, 2013 10 commits
-
-
Russ Cox authored
Remove unnecessary ( ) around == in && clause. Add { } around multiline if body, even though it's one statement. Add runtime: prefix to printed errors. R=cshapiro, iant CC=golang-dev https://golang.org/cl/9685047
-
Rob Pike authored
Fixes #5566. R=rsc CC=gobot, golang-dev https://golang.org/cl/9882043
-
Rémy Oudompheng authored
benchmark old ns/op new ns/op delta BenchmarkDecodeDigits 19451173 14347829 -26.24% BenchmarkDecodeTwain 57516800 42619978 -25.90% benchmark old MB/s new MB/s speedup BenchmarkDecodeDigits 2.22 3.01 1.36x BenchmarkDecodeTwain 2.17 2.93 1.35x R=golang-dev, dave, bradfitz, agl CC=golang-dev https://golang.org/cl/9915043
-
Shenghou Ma authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/9953043
-
Robert Obryk authored
Fixes #5527 R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/9955043
-
Dmitriy Vyukov authored
Required for preemptive scheduler, see the comments for details. R=golang-dev, khr, iant, khr CC=golang-dev https://golang.org/cl/9740051
-
Dmitriy Vyukov authored
This is part of preemptive scheduler. R=golang-dev, cshapiro, iant CC=golang-dev https://golang.org/cl/9843046
-
Dmitriy Vyukov authored
This is part of preemptive scheduler. stackguard0 is checked in split stack checks and can be set to StackPreempt. stackguard is not set to StackPreempt (holds the original value). R=golang-dev, daniel.morsing, iant CC=golang-dev https://golang.org/cl/9875043
-
Andrew Gerrand authored
Fixes #5468. R=golang-dev, r CC=golang-dev https://golang.org/cl/9853051
-
Dave Cheney authored
R=adg CC=golang-dev https://golang.org/cl/9819044
-
- 02 Jun, 2013 8 commits
-
-
Rémy Oudompheng authored
Fixes #5607. R=golang-dev, daniel.morsing, r, dsymonds CC=golang-dev https://golang.org/cl/9952043
-
Shenghou Ma authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/9950043
-
Shenghou Ma authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/9949044
-
Rémy Oudompheng authored
It would not pass on amd64 due to alignment of pointers. R=golang-dev, r CC=golang-dev https://golang.org/cl/9949043
-
Shenghou Ma authored
Thanks kballard for the hint. Fixes #4857. R=golang-dev, iant CC=golang-dev https://golang.org/cl/9649045
-
Rémy Oudompheng authored
The corresponding rules have been removed for Go 1. R=golang-dev, r CC=golang-dev https://golang.org/cl/9940044
-
Rémy Oudompheng authored
Fixes #5461. R=golang-dev, r CC=golang-dev https://golang.org/cl/9947043
-
Rémy Oudompheng authored
R=golang-dev, dave, r CC=golang-dev https://golang.org/cl/9935043
-
- 01 Jun, 2013 8 commits
-
-
Dave Cheney authored
Fixes #5599. Thanks to minux.ma for the suggested fix. As we now have a harness to test testing internal functions I added some coverage for testing.roundUp, as it is the main consumer of roundDown10. R=minux.ma, kr, r CC=golang-dev https://golang.org/cl/9926043
-
Dmitriy Vyukov authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/9693044
-
Anthony Martin authored
The Bell Labs distribution now supports 21-bit runes. R=golang-dev, akumar CC=golang-dev https://golang.org/cl/9249045
-
Daniel Morsing authored
Fixes #5609. R=golang-dev, remyoudompheng, r CC=golang-dev https://golang.org/cl/9757045
-
Oling Cat authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/9941043
-
Keith Randall authored
seems to break freebsd-386. R=golang-dev, dave CC=golang-dev https://golang.org/cl/9915047
-
Keith Randall authored
Before this change, grow work was done only during map writes to ensure multithreaded safety. This can lead to maps remaining in a partially grown state for a long time, potentially forever. This change allows grow work to happen during reads, which will lead to grow work finishing sooner, making the resulting map smaller and faster. Grow work is not done in parallel. Reads can happen in parallel while grow work is happening. R=golang-dev, dvyukov, khr, iant CC=golang-dev https://golang.org/cl/8852047
-
Keith Randall authored
instead of regular g stack. We do this so that the g stack we're currently running on is no longer changing. Cuts the root set down a bit (g0 stacks are not scanned, and we don't need to scan gc's internal state). Also an enabler for copyable stacks. R=golang-dev, cshapiro, khr, 0xe2.0x9a.0x9b, dvyukov, rsc, iant CC=golang-dev https://golang.org/cl/9754044
-
- 31 May, 2013 9 commits
-
-
Anthony Martin authored
R=golang-dev, r, bradfitz CC=golang-dev https://golang.org/cl/8651043
-
Carl Shapiro authored
An embedded trampoline is a function that exists to marshal a receiver of type *S to a receiver of type *T when T is an embedded field in S. Embedded trampolines are generated by a special path through the compiler and are not subject to the general analysis and annotation done to functions. Their effects must be provided explicitly. R=golang-dev, r, daniel.morsing, minux.ma CC=golang-dev https://golang.org/cl/9874043
-
Anthony Martin authored
We require $objtype in make.rc and rc needs $path for finding commands. Also include $cputype which we may use in the future. R=golang-dev, minux.ma, r CC=golang-dev https://golang.org/cl/9905043
-
Alberto García Hierro authored
* Add a CXXFiles field to Package, which includes .cc, .cpp and .cxx files. * CXXFiles are compiled using g++, which can be overridden using the CXX environment variable. * Include .hh, .hpp and .hxx files in HFiles. * Add support for CPPFLAGS (used for both C and C++) and CXXFLAGS (used only for C++) in cgo directive. * Changed pkg-config cgo directive to modify CPPFLAGS rather than CFLAGS, so both C and C++ files get any flag returned by pkg-config --cflags. Fixes #1476. R=iant, r CC=bradfitz, gobot, golang-dev, iant, minux.ma, remyoudompheng, seb.binet https://golang.org/cl/8248043
-
Robert Griesemer authored
As suggested by ej@evanjones.ca. Fixes #5604. R=r CC=golang-dev https://golang.org/cl/9899043
-
Dave Cheney authored
Update #5599 R=golang-dev, r, minux.ma CC=golang-dev https://golang.org/cl/9738052
-
Dmitriy Vyukov authored
mheap.map become a pointer, so nelem(h->map) returns 1 rather than the map size. As the result coalescing with subsequent spans does not happen. R=golang-dev, khr CC=golang-dev https://golang.org/cl/9649046
-
Dmitriy Vyukov authored
It is a caching wrapper around SysAlloc() that can allocate small chunks. Use it for symtab allocations. Reduces number of symtab walks from 4 to 3 (reduces buildfuncs time from 10ms to 7.5ms on a large binary, reduces initial heap size by 680K on the same binary). Also can be used for type info allocation, itab allocation. There are also several places in GC where we do the same thing, they can be changed to use persistentalloc(). Also can be used in FixAlloc, because each instance of FixAlloc allocates in 128K regions, which is too eager. Reincarnation of committed and rolled back https://golang.org/cl/9805043 The latent bugs that it revealed are fixed: https://golang.org/cl/9837049 https://golang.org/cl/9778048 R=golang-dev, khr CC=golang-dev https://golang.org/cl/9778049
-
Keith Randall authored
Then use the limit to make sure MHeap_LookupMaybe & inlined copies don't return a span if the pointer is beyond the limit. Use this fact to optimize all call sites. R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/9869045
-
- 30 May, 2013 2 commits
-
-
Rob Pike authored
R=golang-dev, khr, rsc CC=golang-dev https://golang.org/cl/9728045
-
Rob Pike authored
As the code now says: We are forced to return a float64 because the API is silly, but do the division as integers so we can ask if AllocsPerRun()==1 instead of AllocsPerRun()<2. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/9837049
-