1
0
mirror of https://github.com/golang/go synced 2024-10-04 20:21:22 -06:00
go/src/pkg/runtime
Jan Ziak db1c218d4f undo CL 8954044 / ad3c2ffb16d7
It works on i386, but fails on amd64 and arm.

««« original CL description
runtime: prevent the GC from seeing the content of a frame in runfinq()

Fixes #5348.

R=golang-dev, dvyukov
CC=golang-dev
https://golang.org/cl/8954044
»»»

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8695051
2013-04-25 18:12:09 +02:00
..
cgo runtime: pass setmg function to cgo_init 2013-03-25 18:14:02 -04:00
debug runtime, runtime/debug, runtime/race: deflake tests 2013-04-07 11:37:37 -07:00
pprof runtime/pprof: adjust reported line numbers to show call sites 2013-02-15 14:27:16 -05:00
race sync, sync/atomic: do not corrupt race detector after a nil dereference. 2013-04-08 23:46:54 +02:00
alg.c runtime: Implement faster equals for strings and bytes. 2013-04-02 16:26:15 -07:00
append_test.go runtime: benchmark for appending N bytes should not append N² bytes. 2013-03-02 21:11:05 +01:00
arch_386.h runtime: add missing copyright 2013-03-20 02:40:29 +09:00
arch_amd64.h runtime: add missing copyright 2013-03-20 02:40:29 +09:00
arch_arm.h runtime: add missing copyright 2013-03-20 02:40:29 +09:00
asm_386.s runtime: Implement faster equals for strings and bytes. 2013-04-02 16:26:15 -07:00
asm_amd64.s runtime: Implement faster equals for strings and bytes. 2013-04-02 16:26:15 -07:00
asm_arm.s runtime: Implement faster equals for strings and bytes. 2013-04-02 16:26:15 -07:00
atomic_386.c runtime: add atomic xchg64 2013-03-05 09:46:52 +02:00
atomic_amd64.c
atomic_arm.c runtime: replace unions with structs 2013-04-06 20:02:49 -07:00
callback_windows_386.c runtime: add cgocallback_gofunc that can call Go func value 2013-02-22 16:08:56 -05:00
callback_windows_amd64.c runtime: add cgocallback_gofunc that can call Go func value 2013-02-22 16:08:56 -05:00
cgocall.c net: band-aid for windows network poller 2013-03-25 20:57:36 +04:00
cgocall.h
chan_test.go
chan.c all: fix typos 2013-04-24 04:46:14 +08:00
closure_test.go
compiler.go
complex_test.go
complex.c runtime: inline several float64 routines to speed up complex128 division 2012-08-07 23:45:50 +08:00
cpuprof.c all: clean up C function prototypes 2013-02-26 09:51:33 -08:00
crash_cgo_test.go cmd/go: fix "go run" cgo source when cgo is disabled 2013-02-28 16:07:26 +08:00
crash_test.go runtime, runtime/debug, runtime/race: deflake tests 2013-04-07 11:37:37 -07:00
debug.go runtime: re-format comments. 2012-11-26 10:53:11 -05:00
defs1_linux.go
defs2_linux.go runtime: integrated network poller for linux 2013-03-14 19:06:35 +04:00
defs_arm_linux.go
defs_darwin_386.h runtime: integrated network poller for darwin 2013-03-14 10:38:37 +04:00
defs_darwin_amd64.h runtime: integrated network poller for darwin 2013-03-14 10:38:37 +04:00
defs_darwin.go runtime: integrated network poller for darwin 2013-03-14 10:38:37 +04:00
defs_freebsd_386.h runtime: use UMTX_OP_WAIT_UINT on FreeBSD 2013-04-12 05:20:15 -07:00
defs_freebsd_amd64.h runtime: use UMTX_OP_WAIT_UINT on FreeBSD 2013-04-12 05:20:15 -07:00
defs_freebsd_arm.h runtime: use UMTX_OP_WAIT_UINT on FreeBSD 2013-04-12 05:20:15 -07:00
defs_freebsd.go runtime: use UMTX_OP_WAIT_UINT on FreeBSD 2013-04-12 05:20:15 -07:00
defs_linux_386.h runtime: integrated network poller for linux 2013-03-14 19:06:35 +04:00
defs_linux_amd64.h runtime: integrated network poller for linux 2013-03-14 19:06:35 +04:00
defs_linux_arm.h net, runtime: enable runtime-integrated pollster on Linux/ARM. 2013-03-16 04:01:56 +08:00
defs_linux.go runtime: integrated network poller for linux 2013-03-14 19:06:35 +04:00
defs_netbsd_386.go runtime: fix build for NetBSD/ARM 2013-03-19 02:47:04 +08:00
defs_netbsd_386.h runtime: implement SysUnused for netbsd 2012-11-26 22:34:01 +11:00
defs_netbsd_amd64.go runtime: fix build for NetBSD/ARM 2013-03-19 02:47:04 +08:00
defs_netbsd_amd64.h runtime: implement SysUnused for netbsd 2012-11-26 22:34:01 +11:00
defs_netbsd_arm.go runtime: fix build for NetBSD/ARM 2013-03-19 02:47:04 +08:00
defs_netbsd_arm.h runtime: fix build for NetBSD/ARM 2013-03-19 02:47:04 +08:00
defs_netbsd.go runtime: fix build for NetBSD/ARM 2013-03-19 02:47:04 +08:00
defs_openbsd_386.h runtime: implement SysUnused for openbsd 2012-11-26 22:32:59 +11:00
defs_openbsd_amd64.h runtime: implement SysUnused for openbsd 2012-11-26 22:32:59 +11:00
defs_openbsd.go runtime: implement SysUnused for openbsd 2012-11-26 22:32:59 +11:00
defs_plan9_386.h runtime: add support for panic/recover in Plan 9 note handler 2013-01-30 02:53:56 -08:00
defs_plan9_amd64.h runtime: add support for panic/recover in Plan 9 note handler 2013-01-30 02:53:56 -08:00
defs_windows_386.h
defs_windows_amd64.h
defs_windows.go
env_plan9.c runtime: Fix plan9 aes hash initialization. 2013-03-12 11:03:16 -07:00
env_posix.c runtime/cgo: make symbol naming consistent 2013-02-28 16:24:38 -05:00
error.go
export_futex_test.go runtime: fix tv_sec 32-bit overflows in sleep routines. 2013-03-18 20:11:11 +01:00
export_test.go runtime: implement local work queues (in preparation for new scheduler) 2013-02-23 08:48:02 +04:00
extern.go runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
float.c runtime: inline several float64 routines to speed up complex128 division 2012-08-07 23:45:50 +08:00
futex_test.go runtime: fix tv_sec 32-bit overflows in sleep routines. 2013-03-18 20:11:11 +01:00
gc_test.go runtime: TestGcSys: if GOGC=off, skip instead of failing 2013-03-30 15:10:53 -07:00
hashmap_fast.c runtime: avoid hashing strings until needed in single-bucket maps 2013-04-02 20:58:25 -07:00
hashmap.c runtime: fix integer overflow in hashmap 2013-04-08 18:56:38 -07:00
hashmap.h runtime: faster hashmap implementation. 2013-03-20 13:51:29 -07:00
iface_test.go cmd/gc: cache itab lookup in convT2I. 2012-07-03 09:09:05 +10:00
iface.c runtime: always incorporate hash seed at start of hash computation 2013-01-04 07:53:42 -08:00
lfstack_test.go
lfstack.c runtime: use new CNT_MASK in lfstack 2013-01-26 18:16:43 -08:00
lock_futex.c runtime: change Note from union to struct 2013-04-06 20:09:02 -07:00
lock_sema.c runtime: change Note from union to struct 2013-04-06 20:09:02 -07:00
Makefile
malloc1.go
malloc.goc runtime: use a distinct pattern to mark free blocks in need of zeroing 2013-04-04 14:18:52 -07:00
malloc.h runtime: replace union in MHeap with a struct 2013-04-06 20:02:03 -07:00
mallocrand.go
mallocrep1.go all: set GOMAXPROCS to 1 when counting mallocs 2012-12-01 00:38:01 +08:00
mallocrep.go
map_test.go runtime: fix race on hashmap flags field 2013-04-07 18:19:16 -07:00
mapspeed_test.go runtime: new map tests and benchmarks 2013-04-02 17:55:49 -07:00
mcache.c runtime: allocate heap metadata at run time 2013-02-15 14:27:03 -05:00
mcentral.c runtime: remove declaration of non-existent function 2013-03-22 17:52:55 -07:00
mem_darwin.c runtime: correct return value checks for mmap on darwin/freebsd 2013-03-23 02:17:01 +11:00
mem_freebsd.c runtime: correct return value checks for mmap on darwin/freebsd 2013-03-23 02:17:01 +11:00
mem_linux.c runtime: integrated network poller for linux 2013-03-14 19:06:35 +04:00
mem_netbsd.c runtime: improve mmap return value checking for netbsd/openbsd 2013-03-23 02:15:52 +11:00
mem_openbsd.c runtime: improve mmap return value checking for netbsd/openbsd 2013-03-23 02:15:52 +11:00
mem_plan9.c src: Add support for 64-bit version of Plan 9 2012-08-31 13:21:13 -04:00
mem_windows.c
mem.go gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
memclr_arm.s runtime: remove memset/memclr shim 2012-06-25 23:01:34 +10:00
memmove_386.s
memmove_amd64.s runtime: fix integer overflow in amd64 memmove. 2013-03-09 00:41:03 +01:00
memmove_arm.s runtime: avoid r9/r10 during memmove 2012-06-25 08:28:30 +10:00
memmove_linux_amd64_test.go runtime: fix integer overflow in amd64 memmove. 2013-03-09 00:41:03 +01:00
mfinal_test.go
mfinal.c cmd/gc, reflect, runtime: switch to indirect func value representation 2013-02-21 17:01:13 -05:00
mfixalloc.c runtime: make panic possible before malloc is ready 2013-03-14 10:10:12 -04:00
mgc0.c undo CL 8954044 / ad3c2ffb16d7 2013-04-25 18:12:09 +02:00
mgc0.go runtime: interpret type information during garbage collection 2013-01-10 15:45:46 -05:00
mgc0.h reflect: add garbage collection info in ChanOf, MapOf, PtrTo, SliceOf 2013-03-26 11:50:29 -07:00
mheap.c runtime: if span was scavenged, mark it as needing to be zeroed 2013-04-16 09:08:06 -07:00
mkversion.c
mprof.goc runtime: replace union in MHeap with a struct 2013-04-06 20:02:03 -07:00
msize.c
netpoll_epoll.c runtime: does not report duplicate errors in netpoll 2013-03-26 20:25:43 +04:00
netpoll_kqueue.c runtime: does not report duplicate errors in netpoll 2013-03-26 20:25:43 +04:00
netpoll_stub.c net, runtime: enable runtime-integrated pollster on Linux/ARM. 2013-03-16 04:01:56 +08:00
netpoll.goc runtime: explicitly remove fd's from epoll waitset before close() 2013-03-21 12:54:19 +04:00
os_darwin.c all: fix typos 2013-04-24 04:46:14 +08:00
os_darwin.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_freebsd_arm.c runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_freebsd.c runtime: use UMTX_OP_WAIT_UINT on FreeBSD 2013-04-12 05:20:15 -07:00
os_freebsd.h runtime: add missing copyright 2013-03-20 02:40:29 +09:00
os_linux_386.c runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_linux_arm.c runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_linux.c runtime: correct misplaced right brace in Linux SIGBUS handling 2013-03-22 17:32:04 -07:00
os_linux.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_netbsd_386.c runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_netbsd_amd64.c runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_netbsd_arm.c runtime: fix build for NetBSD/ARM 2013-03-19 02:47:04 +08:00
os_netbsd.c runtime: add missing copyright 2013-03-20 02:40:29 +09:00
os_netbsd.h runtime: fix netbsd again after reorg 2013-03-14 17:53:01 -04:00
os_openbsd.c runtime: add missing copyright 2013-03-20 02:40:29 +09:00
os_openbsd.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_plan9_386.c runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
os_plan9_amd64.c runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
os_plan9.c runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
os_plan9.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_windows_386.c runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
os_windows_amd64.c runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
os_windows.c runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
os_windows.h runtime: allow cgo callbacks on non-Go threads 2013-02-20 17:48:23 -05:00
panic.c runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
parfor_test.go runtime: avoid closure in parfor test 2013-02-22 12:11:12 -05:00
parfor.c runtime: fix misaligned 64-bit atomic 2013-03-10 20:46:11 +04:00
print.c runtime: add conversion specifier to printf for char values 2013-02-19 18:05:44 -08:00
proc_test.go runtime: refactor Syscall benchmark 2013-03-01 01:10:34 +02:00
proc.c runtime: fix deadlock in network poller 2013-04-06 22:27:54 -07:00
proc.p
race0.c all: clean up C function prototypes 2013-02-26 09:51:33 -08:00
race_amd64.s runtime: fix racefuncenter argument corruption. 2013-02-28 07:32:29 +01:00
race.c runtime: fix data/bss shadow memory mapping for race detector 2013-04-04 09:11:34 +11:00
race.go runtime: add RaceRead/RaceWrite functions 2012-11-14 16:51:23 +04:00
race.h runtime/race: switch to explicit race context instead of goroutine id's 2013-02-06 11:40:54 +04:00
rt0_darwin_386.s runtime: change 386 startup convention 2013-03-07 19:57:10 -08:00
rt0_darwin_amd64.s runtime: change amd64 startup convention 2013-03-06 15:03:04 -05:00
rt0_freebsd_386.s runtime: change 386 startup convention 2013-03-07 19:57:10 -08:00
rt0_freebsd_amd64.s runtime: change amd64 startup convention 2013-03-06 15:03:04 -05:00
rt0_freebsd_arm.s runtime: FreeBSD/ARM support 2012-10-12 23:19:39 +08:00
rt0_linux_386.s runtime: change 386 startup convention 2013-03-07 19:57:10 -08:00
rt0_linux_amd64.s runtime: change amd64 startup convention 2013-03-06 15:03:04 -05:00
rt0_linux_arm.s
rt0_netbsd_386.s runtime: change 386 startup convention 2013-03-07 19:57:10 -08:00
rt0_netbsd_amd64.s runtime: fix netbsd, windows build 2013-03-06 16:55:08 -05:00
rt0_netbsd_arm.s runtime: NetBSD/ARM support 2013-02-13 01:00:04 +08:00
rt0_openbsd_386.s runtime: change 386 startup convention 2013-03-07 19:57:10 -08:00
rt0_openbsd_amd64.s runtime: change amd64 startup convention 2013-03-06 15:03:04 -05:00
rt0_plan9_386.s runtime: change 386 startup convention 2013-03-07 19:57:10 -08:00
rt0_plan9_amd64.s runtime: change amd64 startup convention 2013-03-06 15:03:04 -05:00
rt0_windows_386.s runtime: change 386 startup convention 2013-03-07 19:57:10 -08:00
rt0_windows_amd64.s runtime: fix netbsd, windows build 2013-03-06 16:55:08 -05:00
rune.c all: make Unicode surrogate halves illegal as UTF-8 2012-08-08 14:01:23 -07:00
runtime1.goc runtime: prepare for 64-bit ints 2012-09-24 14:58:34 -04:00
runtime_linux_test.go
runtime_test.go runtime: aggregate defer allocations 2012-12-22 14:54:39 -05:00
runtime-gdb.py runtime: fix gdb printing of maps 2013-03-29 11:04:07 -07:00
runtime.c runtime: faster hashmap implementation. 2013-03-20 13:51:29 -07:00
runtime.h runtime: make CgoMal alloc field void* 2013-04-06 20:18:15 -07:00
sema.goc runtime: replace unions with structs 2013-04-06 20:02:49 -07:00
signal_386.c runtime: unbreak netbsd builds 2013-03-15 11:43:43 -04:00
signal_amd64.c runtime: unbreak netbsd builds 2013-03-15 11:43:43 -04:00
signal_arm.c runtime: unbreak netbsd builds 2013-03-15 11:43:43 -04:00
signal_darwin_386.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
signal_darwin_amd64.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
signal_freebsd_386.h runtime: freebsd, netbsd build fixes after reorg 2013-03-14 17:39:39 -04:00
signal_freebsd_amd64.h runtime: freebsd, netbsd build fixes after reorg 2013-03-14 17:39:39 -04:00
signal_freebsd_arm.h runtime: fix build for freebsd/arm after reorg 2013-03-14 17:50:07 -04:00
signal_linux_386.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
signal_linux_amd64.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
signal_linux_arm.h runtime, net: fix arm build 2013-03-14 19:42:25 +00:00
signal_netbsd_386.h runtime: unbreak netbsd builds 2013-03-15 11:43:43 -04:00
signal_netbsd_amd64.h runtime: unbreak netbsd builds 2013-03-15 11:43:43 -04:00
signal_netbsd_arm.h runtime: fix build for NetBSD/ARM 2013-03-19 02:47:04 +08:00
signal_openbsd_386.h runtime: fix build on openbsd/386 2013-04-15 10:20:24 -07:00
signal_openbsd_amd64.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
signal_unix.c runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
signal_unix.h runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
signals_darwin.h
signals_freebsd.h
signals_linux.h runtime: ignore signal 33 == SIGSETXID on GNU/Linux 2012-07-26 22:46:20 -07:00
signals_netbsd.h
signals_openbsd.h
signals_plan9.h runtime: add missing copyright 2013-03-20 02:40:29 +09:00
signals_windows.h
sigqueue.goc os/signal: add Stop, be careful about SIGHUP 2013-03-15 00:00:02 -04:00
slice.c runtime: special-case append([]byte, string) for small strings 2013-03-01 16:41:39 -08:00
softfloat64_test.go
softfloat64.go
softfloat_arm.c 5a, 5l, math: Add support for ABSD, ABSF floating point instructions. 2012-08-03 16:15:11 -04:00
stack_test.go runtime: deflake TestStackMem 2013-03-12 15:19:06 +04:00
stack.c runtime: fix stack cache typos 2013-02-26 09:59:17 -08:00
stack.h runtime: add support for panic/recover in Plan 9 note handler 2013-01-30 02:53:56 -08:00
string_test.go runtime: Implement faster equals for strings and bytes. 2013-04-02 16:26:15 -07:00
string.goc runtime: Implement faster equals for strings and bytes. 2013-04-02 16:26:15 -07:00
symtab_test.go
symtab.c runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
sys_darwin_386.s runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
sys_darwin_amd64.s runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
sys_freebsd_386.s runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
sys_freebsd_amd64.s runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
sys_freebsd_arm.s runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
sys_linux_386.s runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
sys_linux_amd64.s runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
sys_linux_arm.s net, runtime: enable runtime-integrated pollster on Linux/ARM. 2013-03-16 04:01:56 +08:00
sys_netbsd_386.s runtime: correct mmap return value checking on netbsd/openbsd 2013-03-18 12:18:49 +11:00
sys_netbsd_amd64.s runtime: correct mmap return value checking on netbsd/openbsd 2013-03-18 12:18:49 +11:00
sys_netbsd_arm.s runtime: fix build for NetBSD/ARM 2013-03-19 02:47:04 +08:00
sys_openbsd_386.s runtime: correct mmap return value checking on netbsd/openbsd 2013-03-18 12:18:49 +11:00
sys_openbsd_amd64.s runtime: correct mmap return value checking on netbsd/openbsd 2013-03-18 12:18:49 +11:00
sys_plan9_386.s runtime: Plan 9: fix errstr 2013-03-09 05:39:15 +01:00
sys_plan9_amd64.s runtime: Plan 9: fix errstr 2013-03-09 05:39:15 +01:00
sys_windows_386.s runtime: fix cgo callbacks on windows 2013-03-07 09:18:48 -05:00
sys_windows_amd64.s runtime: fix cgo callbacks on windows 2013-03-07 09:18:48 -05:00
syscall_windows_test.go runtime: clear locked bit when goroutine exits 2013-03-08 11:26:00 -05:00
syscall_windows.goc
time_plan9_386.c runtime: Plan 9, 32-bit: fix build by updating call to open() 2013-03-12 23:10:18 +01:00
time.goc runtime: declare addtimer/deltimer in runtime.h 2013-03-05 09:38:15 +02:00
traceback_arm.c cmd/ld, runtime: restrict stack root scan to locals and arguments 2013-03-28 14:36:23 -07:00
traceback_x86.c cmd/ld, runtime: restrict stack root scan to locals and arguments 2013-03-28 14:36:23 -07:00
type.go reflect: add ArrayOf, ChanOf, MapOf, SliceOf 2012-11-13 13:06:29 -05:00
type.h reflect: add ArrayOf, ChanOf, MapOf, SliceOf 2012-11-13 13:06:29 -05:00
typekind.h reflect: add ArrayOf, ChanOf, MapOf, SliceOf 2012-11-13 13:06:29 -05:00
vdso_linux_amd64.c runtime: faster & safer hash function 2013-03-12 10:47:44 -07:00
vlop_386.s
vlop_arm_test.go gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
vlop_arm.s runtime: ~3.7x speed up of div/mod on ARM 2012-10-20 16:40:19 +08:00
vlrt_386.c
vlrt_arm.c