- 22 Jul, 2013 2 commits
-
-
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 17 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
-
Brad Fitzpatrick authored
Be consistent with os.File, strings.Reader, bytes.Reader, etc, which all allow seeks past the end. R=golang-dev, r CC=golang-dev https://golang.org/cl/11403043
-
Andrew Bonventre authored
R=r, nigeltao CC=golang-dev https://golang.org/cl/11446043
-
Ian Lance Taylor authored
Update #5905 Don't emit #pragma cgo_ldflag and cgo_import_static declarations that gccgo doesn't understand and can't use. R=golang-dev, rsc, bradfitz CC=golang-dev https://golang.org/cl/11490043
-
Dave Cheney authored
R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/11436043
-
Brad Fitzpatrick authored
R=golang-dev, dsymonds, rogpeppe CC=golang-dev https://golang.org/cl/11432044
-
- 17 Jul, 2013 3 commits
-
-
Ian Lance Taylor authored
Otherwise the tests in pkg/runtime fail: runtime: unknown argument frame size for runtime.deferreturn called from 0x48657b [runtime_test.func·022] fatal error: invalid stack ... R=golang-dev, dave CC=golang-dev https://golang.org/cl/11483043
-
Dominik Honnef authored
This will behave like similar "*-other-window" functions in Emacs. Default key bind is C-x 4 C-c C-j – while awkward, it follows both the convention for other-window functions and the convention for not using user- or emacs-reserved keys. R=golang-dev, adonovan CC=golang-dev https://golang.org/cl/10707045
-
Russ Cox authored
Update #543 I believe the runtime is strong enough now to reenable preemption during the function prologue. Assuming this is or can be made stable, it will be in Go 1.2. More aggressive preemption is not planned for Go 1.2. R=golang-dev, iant CC=golang-dev https://golang.org/cl/11433045
-