Age | Commit message (Collapse) | Author | Files | Lines |
|
registers.
R=rsc
http://codereview.appspot.com/166049
|
|
then enable stack check.
R=r
http://codereview.appspot.com/165100
|
|
FreeBSD was passing stk as the new thread's stack base, while
stk is the top of the stack in go. The added check should cause
a trap if this ever comes up in any new ports, or regresses
in current ones.
R=rsc
CC=golang-dev
http://codereview.appspot.com/167055
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/165097
Committer: Russ Cox <rsc@golang.org>
|
|
cuts working size for hello world from 6 MB to 1.2 MB.
still some work to be done, but diminishing returns.
R=r
http://codereview.appspot.com/165080
|
|
to provide functionality previously hacked in to
reflect and gob.
R=r
http://codereview.appspot.com/165076
|
|
the one-item case could be generalized easily with no cost. worth considering.
R=rsc
CC=golang-dev, cw
http://codereview.appspot.com/167044
|
|
* broken by reflect, gob
TBR=r
http://codereview.appspot.com/166077
|
|
* inform garbage collector about memory with no pointers in it
1.9s gcc reverse-complement.c
reverse-complement.go
4.5s / 3.5s original, with/without bounds checks
3.5s / 3.3s bounds check reduction
3.3s / 2.8s smarter garbage collector
2.6s / 2.3s assembler bytes.IndexByte
2.5s / 2.1s even smarter garbage collector (this CL)
R=r
http://codereview.appspot.com/165064
|
|
Makes the code look cleaner, even if it's a little harder to figure
out from the sort invariants.
R=rsc
CC=golang-dev
http://codereview.appspot.com/165061
|
|
On a microbenchmark that ping-pongs on lots of channels, this makes
the multithreaded case about 20% faster and the uniprocessor case
about 1% slower. (Due to cache effects, I expect.)
R=rsc, agl
CC=golang-dev
http://codereview.appspot.com/166043
|
|
Fixes issue 176.
R=r
http://codereview.appspot.com/166044
|
|
* throw away dead code
* add mlookup counter
* add malloc counter
* set up for blocks with no pointers
Fixes issue 367.
R=r
http://codereview.appspot.com/165050
|
|
the bash scripts and makefiles for building go didn't take into account
the fact $GOROOT / $GOBIN could both be directories containing whitespaces,
and was not possible to build it in such a situation.
this commit adjusts the various makefiles/scripts to make it aware of that
possibility, and now it builds successfully when using a path with whitespaces
as well.
Fixes issue 115.
R=rsc, dsymonds1
http://codereview.appspot.com/157067
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc, dho
http://codereview.appspot.com/157116
Committer: Russ Cox <rsc@golang.org>
|
|
we can't use them interchangably.
R=rsc, wjosephson
CC=golang-dev
http://codereview.appspot.com/156113
Committer: Russ Cox <rsc@golang.org>
|
|
R=ken2
http://codereview.appspot.com/157114
|
|
* add runtime sliceslice1 for x[lo:]
* remove runtime arraytoslice, rewriting &arr into arr[0:len(arr)].
* port cgen_inline into 8g, 5g.
* use native memmove in maps
R=ken2
http://codereview.appspot.com/157106
|
|
R=r
http://codereview.appspot.com/156104
|
|
Fixes issue 265.
R=r
CC=golang-dev
http://codereview.appspot.com/157084
|
|
R=r
http://codereview.appspot.com/157077
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/157074
Committer: Russ Cox <rsc@golang.org>
|
|
- has arguments (no stack split)
- MOVL does not set condition
R=ken2, rsc
http://codereview.appspot.com/156086
|
|
R=rsc
http://codereview.appspot.com/156077
Committer: Russ Cox <rsc@golang.org>
|
|
In thread.c, we need to cast to whatever the native
size of intptr is on the system, but we only have
uintptr available. They're the same size, but can't
do signed casts without this one :).
R=rsc
CC=golang-dev
http://codereview.appspot.com/156073
Committer: Russ Cox <rsc@golang.org>
|
|
This patchset gets Go to pretty much the same state that
FreeBSD/amd64 is in.
R=rsc
http://codereview.appspot.com/157055
Committer: Russ Cox <rsc@golang.org>
|
|
R=ken2
http://codereview.appspot.com/156063
|
|
* move memmove to arch-specific subdirectories
* add memmove for arm
* add copyright notices marking them as copied from Inferno
R=ken2
http://codereview.appspot.com/156061
|
|
R=r
http://codereview.appspot.com/156059
|
|
R=rsc
http://codereview.appspot.com/156056
|
|
did not test 386, but should work
shouldnt matter if copy is not used
R=rsc
http://codereview.appspot.com/156055
|
|
the signal handling stack is a different size than
the normal stack, so it cannot be allocated using
the backup stack allocator.
Fixes issue 250.
R=agl1
CC=golang-dev
http://codereview.appspot.com/157044
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/157042
|
|
linux/386 stack trace: use 32-bit hex.
Fixes issue 159.
R=r
http://codereview.appspot.com/154178
|
|
cgo/libmach remain unimplemented. However, compilers, runtime,
and packages are 100%. I still need to go through and implement
missing syscalls (at least make sure they're all listed), but
for all shipped functionality, this is done. Ship! ;)
R=rsc, VenkateshSrinivas
http://codereview.appspot.com/152142
Committer: Russ Cox <rsc@golang.org>
|
|
R=r
http://codereview.appspot.com/154171
|
|
Fixes issue 176.
R=r
http://codereview.appspot.com/154146
|
|
SELinux will cause mmap to fail when we request w+x memory unless the
user has configured their policies. We have a warning in make.bash,
but it's quite likely that the policy will be reset at some point and
then all their binaries start failing.
This patch prints a warning on Linux when mmap fails with EACCES.
R=rsc
CC=golang-dev
http://codereview.appspot.com/152086
|
|
R=rsc
http://codereview.appspot.com/152110
|
|
R=rsc
http://codereview.appspot.com/154101
|
|
go/test: passes 88% (306/347)
R=rsc
http://codereview.appspot.com/152089
|
|
R=r
http://codereview.appspot.com/152057
|
|
rsc's algorithm
- applied gofmt -w misc src
- partial CL (last chunk)
R=rsc, r
http://go/go-review/1024041
|
|
usage to EABI.
go/test: passes 85% (296/347) on random android phone.
R=rsc
http://go/go-review/1024003
|
|
R=rsc
http://go/go-review/1017056
|
|
go/test: passes 99% (343/347)
R=rsc
http://go/go-review/1016004
|
|
selfree maintains a cache of Select structures for several sizes. In
newselect, we'll use an entry from the cache if one is found. However,
the Scase structures corresponding to a send may have been allocated
for the wrong size. In this case we'll write off the end of the Scase
into random memory and, generally, read some amount of junk in the
receive.
This patch fixes the issue by removing the cache, on the advice of
rsc.
R=rsc
CC=go-dev
http://go/go-review/1016002
|
|
when switching architectures.
fix bug twice: make sure clean removes the file,
and generate into architecture-specific file names.
R=r
http://go/go-review/1013018
|
|
call. This uses the header files from a 32-bit Ubuntu Hardy
system.
The use of _LOOSE_KERNEL_NAMES seems right. The
-D__ARCH_SI_UID_T works around a bug which appears to be fixed
in later Linux versions.
R=rsc
http://go/go-review/1013015
|
|
R=rsc
http://go/go-review/1015009
|