Age | Commit message (Collapse) | Author | Files | Lines |
|
* adds pass 3 to dequeue from channels eagerly
various other cleanup/churn:
* use switch on cas->send in each pass to
factor out common code.
* longer goto labels, commented at target
* be more agressive about can't happen:
throw instead of print + cope.
* use "select" instead of "selectgo" in errors
* use printf for debug prints when possible
R=ken2, ken3
CC=golang-dev, r
http://codereview.appspot.com/875041
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/805043
|
|
R=ken2, r, ken3
CC=golang-dev
http://codereview.appspot.com/831042
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/842042
|
|
main semantic change is to enforce single argument to panic.
runtime: change to 1-argument panic.
use String method on argument if it has one.
R=ken2, r
CC=golang-dev
http://codereview.appspot.com/812043
|
|
Also minor reformatting.
R=rsc
CC=golang-dev
http://codereview.appspot.com/845041
Committer: Russ Cox <rsc@golang.org>
|
|
baby step toward panic+recover.
Fixes issue 349.
R=r
CC=golang-dev
http://codereview.appspot.com/825043
|
|
now runtime.MemStats.Sys really is the sum of all the other Sys fields.
R=r
CC=golang-dev
http://codereview.appspot.com/843041
|
|
expvar: default publishings for cmdline, memstats
godoc: import expvar
R=r
CC=golang-dev
http://codereview.appspot.com/815041
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/786041
|
|
eliminate second pass of mark+sweep
by scanning finalizer table specially.
R=r
CC=golang-dev
http://codereview.appspot.com/782041
|
|
R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/747041
Committer: Russ Cox <rsc@golang.org>
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/719041
|
|
no way to get the data out yet.
add prototype for runtime.Callers,
missing from last CL.
R=r
CC=golang-dev
http://codereview.appspot.com/713041
|
|
cut copies of traceback from 6 to 1.
R=r
CC=golang-dev
http://codereview.appspot.com/703041
|
|
will return the "zero" value
R=rsc
CC=golang-dev
http://codereview.appspot.com/700041
|
|
when there are fewer arguments
R=rsc
CC=golang-dev
http://codereview.appspot.com/622041
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
TBR=rsc
CC=golang-dev
http://codereview.appspot.com/610043
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/608041
|
|
- mkall now generates syscall stabs automatically
- we can call unicode versions of winapi now
- introduce GetErrstr function to fetch error text given errno
- general cleanup
R=rsc
CC=golang-dev
http://codereview.appspot.com/562041
Committer: Russ Cox <rsc@golang.org>
|
|
- gofmt -w src misc
- only manually modified file: src/pkg/go/printer/nodes.go
R=rsc
CC=golang-dev, r
http://codereview.appspot.com/606041
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/462043
|
|
lots of missing parts, but builds and can call dlls, see a sample code in syscall_mingw.go
R=rsc
CC=golang-dev
http://codereview.appspot.com/218042
Committer: Russ Cox <rsc@golang.org>
|
|
for 6g and 8g. can also be used
for 5g. 5g is still a stub.
R=rsc
CC=golang-dev
http://codereview.appspot.com/362041
|
|
This keeps fragmentation from delaying
garbage collections (and causing more fragmentation).
Cuts fresh godoc (with indexes) from 261M to 166M (120M live).
Cuts toy wc program from 50M to 8M.
Fixes issue 647.
R=r, cw
CC=golang-dev
http://codereview.appspot.com/257041
|
|
8g and 5g have stubs to ignore complex
R=rsc
CC=golang-dev
http://codereview.appspot.com/257042
|
|
check that NOSPLIT functions don't use too much stack.
correct some missing NOSPLITs in the runtime library.
Fixes bug reported in
https://groups.google.com/group/golang-nuts/t/efff68b73941eccf
R=ken2
CC=golang-dev
http://codereview.appspot.com/236041
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/224060
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/224053
|
|
This permits cgo generated code to use these header files even
if the Go sources are not around.
R=rsc
CC=golang-dev
http://codereview.appspot.com/224045
|
|
Fixes issue 420.
R=r
CC=golang-dev
http://codereview.appspot.com/218065
|
|
more complex -- constants, variables and print.
R=rsc
CC=golang-dev
http://codereview.appspot.com/217061
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/194151
Committer: Russ Cox <rsc@golang.org>
|
|
import and export
R=rsc
CC=golang-dev
http://codereview.appspot.com/214050
|
|
only front-end compiler work.
best to do thin in 3 steps
1. frontend
2. backend
3. lib
R=rsc
CC=golang-dev
http://codereview.appspot.com/214042
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/207110
|
|
Fixes issue 598.
R=adg
CC=golang-dev
http://codereview.appspot.com/206089
|
|
because free needs to mark the block as freed to
coordinate with the garbage collector.
(in C++ free can blindly put the block on the free list,
no questions asked, so the cache saves some work.)
R=iant
CC=golang-dev
http://codereview.appspot.com/206069
|
|
R=kaib
CC=golang-dev
http://codereview.appspot.com/206059
|
|
* specialize sweepspan as sweepspan0 and sweepspan1.
* in sweepspan1, inline "free" to avoid expensive mlookup.
R=iant
CC=golang-dev
http://codereview.appspot.com/206060
|
|
R=iant
CC=golang-dev
http://codereview.appspot.com/207054
|
|
* add bit tracking finalizer status, avoiding getfinalizer lookup
* add ability to allocate uncleared memory
R=iant
CC=golang-dev
http://codereview.appspot.com/207044
|
|
R=iant
CC=golang-dev
http://codereview.appspot.com/206052
|
|
stab in the dark but plausible: the kernel does try to
return time zone information.
http://fxr.watson.org/fxr/source/kern/kern_time.c?v=FREEBSD8#L421
R=iant
CC=golang-dev
http://codereview.appspot.com/206053
|
|
finalize chan, to free OS X semaphore inside Lock.
os: finalize File, to close fd.
Fixes issue 503.
R=ken2
CC=golang-dev
http://codereview.appspot.com/204065
|
|
add simple garbage collection benchmark.
R=iant
CC=golang-dev
http://codereview.appspot.com/204053
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/204061
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/203053
|
|
Allows binary to run on some Linux system.
Fix for issue 365.
R=rsc
CC=golang-dev
http://codereview.appspot.com/199096
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/199082
Committer: Russ Cox <rsc@golang.org>
|