- 22 Jul, 2013 10 commits
-
-
Brad Fitzpatrick authored
For consistency with Go documentation style. R=golang-dev, khr CC=golang-dev https://golang.org/cl/11697043
-
David du Colombier authored
src/cmd/ld/lib.c:1379 set and not used: p src/cmd/ld/lib.c:1426 format mismatch 6llux INT, arg 3 src/cmd/ld/lib.c:1437 format mismatch 6llux INT, arg 3 src/cmd/ld/lib.c:1456 format mismatch 6llux INT, arg 3 src/cmd/ld/lib.c:1477 format mismatch 6llux INT, arg 3 src/cmd/ld/lib.c:1459 set and not used: started R=golang-dev, rsc CC=golang-dev https://golang.org/cl/11615044
-
Dmitriy Vyukov authored
notetsleepg is the same as notetsleep, but is called on user g. It includes entersyscall/exitsyscall and will help to avoid split stack functions in syscall status. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/11681043
-
Dmitriy Vyukov authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/11677043
-
Dmitriy Vyukov authored
This gives more space during the call to runtime.lock. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/11679043
-
Dmitriy Vyukov authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/11671043
-
Mikio Hara authored
R=dave CC=golang-dev https://golang.org/cl/11537044
-
Alex Brainman authored
Moves the network poller from net package into runtime. benchmark old ns/op new ns/op delta BenchmarkTCP4OneShot 316386 287061 -9.27% BenchmarkTCP4OneShot-2 339822 313424 -7.77% BenchmarkTCP4OneShot-3 330057 306589 -7.11% BenchmarkTCP4OneShotTimeout 341775 287061 -16.01% BenchmarkTCP4OneShotTimeout-2 380835 295849 -22.32% BenchmarkTCP4OneShotTimeout-3 398412 328070 -17.66% BenchmarkTCP4Persistent 40622 33392 -17.80% BenchmarkTCP4Persistent-2 44528 35736 -19.74% BenchmarkTCP4Persistent-3 44919 36907 -17.84% BenchmarkTCP4PersistentTimeout 45309 33588 -25.87% BenchmarkTCP4PersistentTimeout-2 50289 38079 -24.28% BenchmarkTCP4PersistentTimeout-3 51559 37103 -28.04% BenchmarkTCP6OneShot 361305 345645 -4.33% BenchmarkTCP6OneShot-2 361305 331976 -8.12% BenchmarkTCP6OneShot-3 376929 347598 -7.78% BenchmarkTCP6OneShotTimeout 361305 322212 -10.82% BenchmarkTCP6OneShotTimeout-2 378882 333928 -11.86% BenchmarkTCP6OneShotTimeout-3 388647 335881 -13.58% BenchmarkTCP6Persistent 47653 35345 -25.83% BenchmarkTCP6Persistent-2 49215 35736 -27.39% BenchmarkTCP6Persistent-3 38474 37493 -2.55% BenchmarkTCP6PersistentTimeout 56637 34369 -39.32% BenchmarkTCP6PersistentTimeout-2 42575 38079 -10.56% BenchmarkTCP6PersistentTimeout-3 44137 37689 -14.61% R=dvyukov CC=golang-dev https://golang.org/cl/8670044
-
David Symonds authored
Trivial, but annoying while debugging this code. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/11656043
-
Andrew Gerrand authored
Fixes #5898. R=golang-dev, r CC=golang-dev https://golang.org/cl/11556043
-
- 20 Jul, 2013 4 commits
-
-
Rémy Oudompheng authored
Calls into math/rand are very slow, especially under race detector because of heap accesses. go test -bench . -run none -benchtime .1s Before: 23.0s After: 17.4s Fixes #5837. R=golang-dev, dave, r CC=golang-dev https://golang.org/cl/11564044
-
Anthony Martin authored
R=golang-dev, dave, bradfitz, rsc CC=golang-dev https://golang.org/cl/10030043
-
Alex Brainman authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/11623043
-
Alex Brainman authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/11620044
-
- 19 Jul, 2013 14 commits
-
-
Russ Cox authored
This does not change the default compiler on OS X to clang. It appears that for now we can keep using gcc as long as we enable a few more warning settings that are on-by-default elsewhere. R=golang-dev, bradfitz, dave CC=golang-dev https://golang.org/cl/11610044
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/11604043
-
Ian Lance Taylor authored
Fixes #5924. R=golang-dev, khr, rsc CC=golang-dev https://golang.org/cl/11606043
-
Russ Cox authored
This CL introduces a FUNCDATA number for runtime-specific garbage collection metadata, changes the C and Go compilers to emit that metadata, and changes the runtime to expect it. The old pseudo-instructions that carried this information are gone, as is the linker code to process them. R=golang-dev, dvyukov, cshapiro CC=golang-dev https://golang.org/cl/11406044
-
Russ Cox authored
So far no checked-in assembly needs these, but it matches having them for M and G. I needed these for some manual testing. R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/11595043
-
Keith Randall authored
where it belongs. R=rsc CC=golang-dev https://golang.org/cl/11596043
-
Keith Randall authored
whose argument size is unknown (C vararg functions, and assembly code without an explicit specification). We used to use 0 to mean "unknown" and 1 to mean "zero". Now we use ArgsSizeUnknown (0x80000000) to mean "unknown". R=golang-dev, rsc CC=golang-dev https://golang.org/cl/11590043
-
Dmitriy Vyukov authored
This holds the last finalized object and arguments to its finalizer. Fixes #5348. R=golang-dev, iant CC=golang-dev https://golang.org/cl/11454044
-
Dmitriy Vyukov authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/11432046
-
Dmitriy Vyukov authored
It contains pointers to first blocks of lots of spans. R=golang-dev, iant CC=golang-dev https://golang.org/cl/11416046
-
Dmitriy Vyukov authored
If the network is not polled for 10ms, sysmon starts polling network on every iteration (every 20us) until another thread blocks in netpoll. Fixes #5922. R=golang-dev, iant CC=golang-dev https://golang.org/cl/11569043
-
David Symonds authored
It is an expensive test to run, and even more so with -race, and causes timeouts on builders. It is doubtful that it would find a race that other tests in this package wouldn't, so there is little loss in excluding it. Update #5837. R=golang-dev, dave CC=golang-dev https://golang.org/cl/11568043
-
Russ Cox authored
It assumes that the m will not change, and the m may change if the goroutine is preempted. R=golang-dev, r CC=golang-dev https://golang.org/cl/11560043
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/11542044
-
- 18 Jul, 2013 12 commits
-
-
Dmitriy Vyukov authored
If a goroutine runs for more than 10ms, preempt it. Update #543. R=rsc CC=golang-dev https://golang.org/cl/10796043
-
Russ Cox authored
If we start a garbage collection on g0 during a stack split or unsplit, we'll see morestack or lessstack at the top of the stack. Record an argument frame size for those, and record that they terminate the stack. R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/11533043
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/11397043
-
Daniel Morsing authored
Syntax description was moved to the top level comment of this package. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/11536043
-
Russ Cox authored
Deferreturn is synthesizing a new call frame. It must not be interrupted between copying the args there and fixing up the program counter, or else the stack will be in an inconsistent state, one that will confuse the garbage collector. R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/11522043
-
Russ Cox authored
With preemption, _sfloat2 can show up in stack traces. Write the function prototype in a way that accurately shows the frame size and the fact that it might contain pointers. R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/11523043
-
Russ Cox authored
Windows was the only one seeing this bug reliably in the builder, but it was easy to reproduce using 'GOGC=1 go test strconv'. concatstring looked like it took only one string, but in fact it takes a long list of strings. Add an explicit ... so that the traceback will not use the "fixed" frame size and instead look at the frame size metadata recorded by the caller. R=golang-dev TBR=golang-dev CC=golang-dev https://golang.org/cl/11531043
-
Russ Cox authored
This should fix the Windows build, or at least what's breaking it at the moment. Fixes #5904. TBR=golang-dev CC=golang-dev https://golang.org/cl/11519044
-
Russ Cox authored
Would fix build if build hadn't already been broken with something else. TBR=golang-dev CC=golang-dev https://golang.org/cl/11525043
-
Russ Cox authored
R=golang-dev, r, dave CC=golang-dev https://golang.org/cl/11494043
-
Russ Cox authored
The change to addr2line makes it easy to test by hand. R=golang-dev, r CC=golang-dev https://golang.org/cl/11485044
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/11495043
-