gcc/libgo/runtime
Ian Lance Taylor 3ab98a471c runtime: Do not reserve huge amount of swap on 32 bit architectures.
The mmap() call which reserves the arena should have MAP_NORESERVE
flag as in typical cases this memory will never be (fully) needed.
This matters in environments which do not do Linux style memory
overcommit, such as OpenIndiana/OpenSolaris/Solaris.

The MAP_NORESERVE flag does not exist on all operating systems
(for example FreeBSD). Therefore we define it to zero value in
case it does not exist.

Fixes issue 21.

From-SVN: r196088
2013-02-15 18:55:09 +00:00
..
arch.h
array.h compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
chan.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
cpuprof.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
defs.h
env_posix.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
getncpu-bsd.c runtime: support NumCPU() on more platforms Added support for Solaris, Irix, *BSD (including Darwin). 2012-08-07 04:42:49 +00:00
getncpu-irix.c runtime: support NumCPU() on more platforms Added support for Solaris, Irix, *BSD (including Darwin). 2012-08-07 04:42:49 +00:00
getncpu-linux.c runtime: use sched_getaffinity for runtime.NumCPU() on Linux 2012-08-10 06:08:11 +00:00
getncpu-none.c runtime: support NumCPU() on more platforms Added support for Solaris, Irix, *BSD (including Darwin). 2012-08-07 04:42:49 +00:00
getncpu-solaris.c runtime: support NumCPU() on more platforms Added support for Solaris, Irix, *BSD (including Darwin). 2012-08-07 04:42:49 +00:00
go-alloc.h
go-append.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-assert-interface.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-assert.c runtime: Copy runtime_printf from other Go library. 2012-05-24 20:44:34 +00:00
go-assert.h
go-breakpoint.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
go-byte-array-to-string.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-caller.c runtime: In backtraces, get inline functions, skip split-stack fns. 2013-01-30 22:24:40 +00:00
go-callers.c runtime: Correct handling of runtime.Callers skip parameter. 2013-02-02 15:11:48 +00:00
go-can-convert-interface.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-cgo.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
go-check-interface.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-construct-map.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-convert-interface.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-copy.c
go-defer.c
go-defer.h
go-deferred-recover.c
go-eface-compare.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-eface-val-compare.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-fieldtrack.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
go-getgoroot.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
go-int-array-to-string.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-int-to-string.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-interface-compare.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-interface-eface-compare.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-interface-val-compare.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-main.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-make-slice.c libgo: Update to current version of master library. 2012-11-21 07:03:38 +00:00
go-map-delete.c runtime: Delete from a nil map is now a no-op. 2012-12-12 23:29:10 +00:00
go-map-index.c
go-map-len.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-map-range.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-matherr.c
go-memcmp.c compiler, runtime: Memcmp routine returns intgo. 2012-11-06 18:12:45 +00:00
go-nanotime.c
go-new-map.c compiler, libgo: Fixes to prepare for 64-bit int. 2012-11-06 18:28:21 +00:00
go-new.c
go-nosys.c libgo: Update Go library to master revision 15489/921e53d4863c. 2013-01-29 20:52:43 +00:00
go-now.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
go-panic.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-panic.h compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-print.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-recover.c
go-reflect-call.c runtime: Fix reflect.Call support for 64-bit ints. 2012-11-02 23:17:05 +00:00
go-reflect-map.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
go-rune.c compiler, libgo: Fixes to prepare for 64-bit int. 2012-11-06 18:28:21 +00:00
go-runtime-error.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-setenv.c libgo: Update Go library to master revision 15489/921e53d4863c. 2013-01-29 20:52:43 +00:00
go-signal.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
go-strcmp.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-string-to-byte-array.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-string-to-int-array.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-string.h compiler, libgo: Fixes to prepare for 64-bit int. 2012-11-06 18:28:21 +00:00
go-strplus.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-strslice.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-traceback.c runtime: In backtraces, get inline functions, skip split-stack fns. 2013-01-30 22:24:40 +00:00
go-trampoline.c libgo: Update to revision 15193:6fdc1974457c of master library. 2012-12-22 01:15:33 +00:00
go-type-complex.c runtime: Return random number of hash of NaN. 2012-09-22 06:06:31 +00:00
go-type-eface.c
go-type-error.c
go-type-float.c runtime: Return random number of hash of NaN. 2012-09-22 06:06:31 +00:00
go-type-identity.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-type-interface.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-type-string.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-type.h compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-typedesc-equal.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-typestring.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
go-unsafe-new.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
go-unsafe-newarray.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
go-unsafe-pointer.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
go-unwind.c
goc2c.c runtime: Change main in goc2c to return int. 2013-02-07 22:24:34 +00:00
iface.goc
interface.h compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
lfstack.c runtime: SPARCv9 fixes for lfstack. 2013-01-29 13:58:18 +00:00
lock_futex.c libgo: Update Go library to master revision 15489/921e53d4863c. 2013-01-29 20:52:43 +00:00
lock_sema.c
malloc.goc libgo: Update Go library to master revision 15489/921e53d4863c. 2013-01-29 20:52:43 +00:00
malloc.h libgo: Update Go library to master revision 15489/921e53d4863c. 2013-01-29 20:52:43 +00:00
map.goc
map.h
mcache.c libgo: Update to current sources. 2012-10-23 04:31:11 +00:00
mcentral.c libgo: Update Go library to master revision 15489/921e53d4863c. 2013-01-29 20:52:43 +00:00
mem_posix_memalign.c
mem.c runtime: Do not reserve huge amount of swap on 32 bit architectures. 2013-02-15 18:55:09 +00:00
mfinal.c libgo: Update to revision 15193:6fdc1974457c of master library. 2012-12-22 01:15:33 +00:00
mfixalloc.c
mgc0.c libgo: Update Go library to master revision 15489/921e53d4863c. 2013-01-29 20:52:43 +00:00
mgc0.h libgo: Update to revision 15193:6fdc1974457c of master library. 2012-12-22 01:15:33 +00:00
mheap.c re PR go/56172 (net FAILs on Solaris) 2013-02-05 23:59:24 +00:00
mprof.goc runtime: In backtraces, get inline functions, skip split-stack fns. 2013-01-30 22:24:40 +00:00
msize.c runtime: Copy runtime_printf from other Go library. 2012-05-24 20:44:34 +00:00
panic.c libgo: Update Go library to master revision 15502/229081515358. 2013-01-30 01:37:13 +00:00
parfor.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
print.c runtime: Fix build failures with -D_FORTIFY_SOURCE=2. 2012-12-04 06:18:07 +00:00
proc.c runtime: Block signals when creating a new thread. 2013-01-31 17:30:28 +00:00
race.h libgo: Update to current master library sources. 2012-12-12 23:13:29 +00:00
reflect.goc compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
rtems-task-variable-add.c
runtime1.goc libgo: Update to current sources. 2012-10-23 04:31:11 +00:00
runtime.c libgo: Update Go library to master revision 15502/229081515358. 2013-01-30 01:37:13 +00:00
runtime.h runtime: In backtraces, get inline functions, skip split-stack fns. 2013-01-30 22:24:40 +00:00
sema.goc libgo: Update to current sources. 2012-10-23 04:31:11 +00:00
signal_unix.c
sigqueue.goc libgo: Update Go library to master revision 15489/921e53d4863c. 2013-01-29 20:52:43 +00:00
string.goc runtime: In backtraces, get inline functions, skip split-stack fns. 2013-01-30 22:24:40 +00:00
thread-linux.c runtime: support NumCPU() on more platforms Added support for Solaris, Irix, *BSD (including Darwin). 2012-08-07 04:42:49 +00:00
thread-sema.c runtime: support NumCPU() on more platforms Added support for Solaris, Irix, *BSD (including Darwin). 2012-08-07 04:42:49 +00:00
thread.c
time.goc libgo: Update Go library to master revision 15502/229081515358. 2013-01-30 01:37:13 +00:00
yield.c