Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
R=r, cw
CC=golang-dev
http://codereview.appspot.com/198085
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/199042
|
|
No longer a distinct type; now a property of func types.
R=ken2
CC=golang-dev
http://codereview.appspot.com/197042
|
|
Fixes issue 219.
R=ken2, r
CC=golang-dev
http://codereview.appspot.com/194097
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/193104
|
|
(eliminate assumption of package global name space,
make code easier to move between packages).
R=r
CC=golang-dev
http://codereview.appspot.com/194072
|
|
bonus: type switch now detects multiple uses of identical interface types.
bonus: interface types are now order-independent, following the spec.
R=ken2
CC=golang-dev
http://codereview.appspot.com/194053
|
|
detect compilation of special package runtime with
compiler flag instead of package name.
R=ken2
CC=golang-dev
http://codereview.appspot.com/193080
|
|
need better management of mach semaphores eventually
but this avoids allocating them for uncontended Locks.
R=r
CC=agl1, golang-dev
http://codereview.appspot.com/190079
|
|
8l: add GOOS=pchw, stop spelling out all the elf numbers.
R=r
CC=golang-dev
http://codereview.appspot.com/186144
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/186146
Committer: Russ Cox <rsc@golang.org>
|
|
* move memory code into $GOOS-specific directory.
* allow printing of static strings < 256 bytes.
(dynamic strings will bump maxstring as they are allocated.)
* use cgo2c for runtime.mal.
R=r, dho
CC=golang-dev
http://codereview.appspot.com/186143
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/186108
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/186078
|
|
in various already expensive routines.
helps keep cpu utilization up when GOMAXPROCS > 1,
but not a full solution.
http://groups.google.com/group/golang-nuts/t/7a9535c4136d3e2
R=r
CC=golang-dev
http://codereview.appspot.com/184043
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/183138
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/176066
Committer: Russ Cox <rsc@golang.org>
|
|
(Thanks to ken and rsc for pointing this out)
rsc:
ken pointed out that there's a race in the new
one-lock-per-channel code. the issue is that
if one goroutine has gone to sleep doing
select {
case <-c1:
case <-c2:
}
and then two more goroutines try to send
on c1 and c2 simultaneously, the way that
the code makes sure only one wins is the
selgen field manipulation in dequeue:
// if sgp is stale, ignore it
if(sgp->selgen != sgp->g->selgen) {
//prints("INVALID PSEUDOG POINTER\n");
freesg(c, sgp);
goto loop;
}
// invalidate any others
sgp->g->selgen++;
but because the global lock is gone both
goroutines will be fiddling with sgp->g->selgen
at the same time.
This results in a 7% slowdown in the single threaded case for a
ping-pong microbenchmark.
Since the cas predominantly succeeds, adding a simple check first
didn't make any difference.
R=rsc
CC=golang-dev
http://codereview.appspot.com/180068
|
|
them in the stream.
R=rsc
http://codereview.appspot.com/174052
|
|
most signals, so that ordinary programs
can be killed, for example.
Fixes issue 434.
R=dsymonds1
CC=golang-dev, hoisie
http://codereview.appspot.com/180064
|
|
Fixes issue 71.
R=rsc, r
http://codereview.appspot.com/162056
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes issue 401.
R=ken2
http://codereview.appspot.com/180053
|
|
parsing and printing to new syntax.
Use -oldparser to parse the old syntax,
use -oldprinter to print the old syntax.
2) Change default gofmt formatting settings
to use tabs for indentation only and to use
spaces for alignment. This will make the code
alignment insensitive to an editor's tabwidth.
Use -spaces=false to use tabs for alignment.
3) Manually changed src/exp/parser/parser_test.go
so that it doesn't try to parse the parser's
source files using the old syntax (they have
new syntax now).
4) gofmt -w src misc test/bench
4th set of files.
R=rsc
CC=golang-dev
http://codereview.appspot.com/180049
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/178046
|
|
This change removes the necessity to have GOBIN in $PATH,
and also doesn't assume that the build is being run from
$GOROOT/src. This is a minimal set of necessary changes
to get Go to build happily from the FreeBSD ports
collection.
R=rsc
CC=golang-dev
http://codereview.appspot.com/171044
Committer: Russ Cox <rsc@golang.org>
|