go/src/runtime
Austin Clements 2d00007bdb runtime: flush on every write barrier while debugging
Currently, we flush the write barrier buffer on every write barrier
once throwOnGCWork is set, but not during the mark completion
algorithm itself. As seen in recent failures like

  https://build.golang.org/log/317369853b803b4ee762b27653f367e1aa445ac1

by the time we actually catch a late gcWork put, the write barrier
buffer is full-size again.

As a result, we're probably not catching the actual problematic write
barrier, which is probably somewhere in the buffer.

Fix this by using the gcWork pause generation to also keep the write
barrier buffer small between the mark completion flushes it and when
mark completion is done.

For #27993.

Change-Id: I77618169441d42a7d562fb2a998cfaa89891edb2
Reviewed-on: https://go-review.googlesource.com/c/154638
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2018-12-18 15:17:50 +00:00
..
cgo runtime,cmd/dist,cmd/link: add cgo support on openbsd/arm 2018-12-18 12:02:45 +00:00
debug runtime/debug: add API to read module info in binary 2018-11-13 17:16:48 +00:00
internal runtime/internal/sys: regenerate zgoos_*.go files 2018-11-05 15:09:00 +00:00
msan runtime: enable memory sanitizer on arm64 2018-05-02 17:52:14 +00:00
pprof runtime/pprof: ignore cpu profile test failures on openbsd/arm 2018-12-12 02:36:44 +00:00
race cmd,runtime: enable race detector on arm64 2018-11-13 16:57:22 +00:00
testdata runtime: fix CGO traceback frame count 2018-12-10 23:09:58 +00:00
trace all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
HACKING.md runtime: fix heap pointer invariant rules in HACKING.md 2018-11-30 21:12:20 +00:00
Makefile
alg.go cmd/link/internal/ld: remove R_ADDR relocations inside XCOFF text sections 2018-11-26 23:37:00 +00:00
asm.s runtime: correct ABI information for all functions 2018-11-12 20:27:18 +00:00
asm_386.s runtime, reflect: access runtime.reflectcall directly 2018-11-12 20:27:14 +00:00
asm_amd64.s runtime, reflect: access runtime.reflectcall directly 2018-11-12 20:27:14 +00:00
asm_amd64p32.s runtime, reflect: access runtime.reflectcall directly 2018-11-12 20:27:14 +00:00
asm_arm.s runtime, reflect: access runtime.reflectcall directly 2018-11-12 20:27:14 +00:00
asm_arm64.s runtime: don't use thread local storage before it is set up on iOS 2018-11-17 20:33:30 +00:00
asm_mips64x.s runtime, reflect: access runtime.reflectcall directly 2018-11-12 20:27:14 +00:00
asm_mipsx.s runtime, reflect: access runtime.reflectcall directly 2018-11-12 20:27:14 +00:00
asm_ppc64x.h
asm_ppc64x.s cmd/link, runtime: add initial cgo support for ppc64 2018-11-20 14:50:09 +00:00
asm_s390x.s runtime, reflect: access runtime.reflectcall directly 2018-11-12 20:27:14 +00:00
asm_wasm.s runtime, reflect: access runtime.reflectcall directly 2018-11-12 20:27:14 +00:00
atomic_arm64.s
atomic_mips64x.s
atomic_mipsx.s
atomic_pointer.go runtime: remove unused function casp 2018-08-22 22:43:12 +00:00
atomic_ppc64x.s
auxv_none.go runtime: parse auxv for page size and executable name on Solaris 2018-04-03 15:49:45 +00:00
callers_test.go
cgo.go
cgo_mmap.go runtime: enable memory sanitizer on arm64 2018-05-02 17:52:14 +00:00
cgo_ppc64x.go
cgo_sigaction.go runtime: enable memory sanitizer on arm64 2018-05-02 17:52:14 +00:00
cgocall.go all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
cgocallback.go
cgocheck.go runtime: rename _MSpan* constants to mSpan* 2018-09-26 20:51:07 +00:00
chan.go runtime: use multiplication with overflow check for makechan 2018-10-23 16:42:58 +00:00
chan_test.go
chanbarrier_test.go all: skip unsupported tests for js/wasm 2018-04-30 19:39:18 +00:00
closure_test.go
compiler.go
complex.go
complex_test.go
cpuflags.go runtime: make processor capability variable naming platform specific 2018-11-14 20:30:31 +00:00
cpuflags_amd64.go runtime: use internal/cpu variables in assembler code 2018-08-24 07:29:52 +00:00
cpuprof.go
cputicks.go runtime: add js/wasm architecture 2018-05-08 00:17:34 +00:00
crash_cgo_test.go runtime: fix CGO traceback frame count 2018-12-10 23:09:58 +00:00
crash_nonunix_test.go all: skip unsupported tests for js/wasm 2018-04-30 19:39:18 +00:00
crash_test.go all: skip unsupported tests on AIX 2018-11-02 16:12:08 +00:00
crash_unix_test.go runtime: add AIX operating system 2018-10-03 20:58:16 +00:00
debug.go runtime: add js/wasm architecture 2018-05-08 00:17:34 +00:00
debug_test.go runtime: fix hangs in TestDebugCall* 2018-12-17 03:00:28 +00:00
debugcall.go runtime: support for debugger function calls 2018-05-22 15:55:05 +00:00
defs1_linux.go
defs1_netbsd_386.go
defs1_netbsd_amd64.go
defs1_netbsd_arm.go
defs1_solaris_amd64.go
defs2_linux.go runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
defs3_linux.go all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
defs_aix.go runtime: add AIX operating system 2018-10-03 20:58:16 +00:00
defs_aix_ppc64.go runtime: add AIX operating system 2018-10-03 20:58:16 +00:00
defs_arm_linux.go
defs_darwin.go runtime: move semaphore ops from system calls to libc calls on Darwin 2018-06-16 00:58:37 +00:00
defs_darwin_386.go runtime: move semaphore ops from system calls to libc calls on Darwin 2018-06-16 00:58:37 +00:00
defs_darwin_amd64.go runtime: move semaphore ops from system calls to libc calls on Darwin 2018-06-16 00:58:37 +00:00
defs_darwin_arm.go runtime: move semaphore ops from system calls to libc calls on iOS 2018-06-16 00:58:45 +00:00
defs_darwin_arm64.go runtime: move semaphore ops from system calls to libc calls on iOS 2018-06-16 00:58:45 +00:00
defs_dragonfly.go
defs_dragonfly_amd64.go
defs_freebsd.go syscall: FreeBSD 12 ino64 support 2018-10-05 21:38:13 +00:00
defs_freebsd_386.go runtime: FreeBSD fast clock_gettime HPET timecounter support 2018-04-26 03:54:19 +00:00
defs_freebsd_amd64.go runtime: FreeBSD fast clock_gettime HPET timecounter support 2018-04-26 03:54:19 +00:00
defs_freebsd_arm.go runtime: FreeBSD fast clock_gettime HPET timecounter support 2018-04-26 03:54:19 +00:00
defs_linux.go runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
defs_linux_386.go runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
defs_linux_amd64.go runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
defs_linux_arm.go runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
defs_linux_arm64.go runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
defs_linux_mips64x.go runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
defs_linux_mipsx.go runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
defs_linux_ppc64.go runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
defs_linux_ppc64le.go runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
defs_linux_s390x.go runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
defs_nacl_386.go runtime: support for debugger function calls 2018-05-22 15:55:05 +00:00
defs_nacl_amd64p32.go runtime: support for debugger function calls 2018-05-22 15:55:05 +00:00
defs_nacl_arm.go runtime: support for debugger function calls 2018-05-22 15:55:05 +00:00
defs_netbsd.go
defs_netbsd_386.go
defs_netbsd_amd64.go
defs_netbsd_arm.go
defs_openbsd.go runtime: remap stack spans with MAP_STACK on OpenBSD 2018-06-29 21:27:23 +00:00
defs_openbsd_386.go runtime: remap stack spans with MAP_STACK on OpenBSD 2018-06-29 21:27:23 +00:00
defs_openbsd_amd64.go runtime: remap stack spans with MAP_STACK on OpenBSD 2018-06-29 21:27:23 +00:00
defs_openbsd_arm.go runtime: correct signal structs/offsets for openbsd/arm 2018-12-13 18:13:30 +00:00
defs_plan9_386.go
defs_plan9_amd64.go
defs_plan9_arm.go
defs_solaris.go
defs_solaris_amd64.go
defs_windows.go runtime: query thread stack size from OS on Windows 2018-07-02 15:18:26 +00:00
defs_windows_386.go runtime: windows/arm fix tracebacks printed from sigpanic 2018-11-26 19:24:54 +00:00
defs_windows_amd64.go runtime: windows/arm fix tracebacks printed from sigpanic 2018-11-26 19:24:54 +00:00
defs_windows_arm.go runtime: windows/arm fix tracebacks printed from sigpanic 2018-11-26 19:24:54 +00:00
duff_386.s
duff_amd64.s
duff_arm.s
duff_arm64.s runtime, cmd/compile: use ldp for DUFFCOPY on ARM64 2018-03-06 04:14:59 +00:00
duff_mips64x.s
duff_ppc64x.s
env_plan9.go
env_posix.go runtime: look up runtime env variables case insensitively on Windows 2018-11-02 17:05:38 +00:00
env_test.go
error.go runtime: don't say "different packages" if they may not be different 2018-07-11 21:34:05 +00:00
example_test.go
export_arm_test.go
export_debug_test.go runtime: fix hangs in TestDebugCall* 2018-12-17 03:00:28 +00:00
export_futex_test.go
export_linux_test.go runtime: fix errno sign for epollctl on mips, mips64 and ppc64 2018-04-24 14:10:43 +00:00
export_mmap_test.go
export_test.go runtime: add iterator abstraction for mTreap 2018-12-17 23:28:18 +00:00
export_unix_test.go runtime: add AIX operating system 2018-10-03 20:58:16 +00:00
export_windows_test.go
extern.go cmd/compile: encourage inlining of functions with single-call bodies 2018-11-08 17:29:23 +00:00
fastlog2.go
fastlog2_test.go
fastlog2table.go
float.go
funcdata.h cmd/compile,runtime: implement stack objects 2018-10-03 19:52:49 +00:00
futex_test.go runtime: remove the dummy arg of getcallersp 2018-04-26 18:57:20 +00:00
gc_test.go runtime: eliminate mark 2 and fix mark termination race 2018-10-02 20:35:20 +00:00
gcinfo_test.go cmd/compile,runtime: remove ambiguously live logic 2018-10-03 19:54:16 +00:00
go_tls.h
hash32.go
hash64.go runtime: add js/wasm architecture 2018-05-08 00:17:34 +00:00
hash_test.go all: skip unsupported tests for js/wasm 2018-04-30 19:39:18 +00:00
heapdump.go runtime: clean up MSpan* MCache* MCentral* in docs 2018-11-05 22:56:22 +00:00
iface.go cmd/compile: shrink specialized convT2x call sites 2018-11-06 00:02:14 +00:00
iface_test.go
lfstack.go
lfstack_32bit.go
lfstack_64bit.go runtime: handle 64bits addresses for AIX 2018-11-26 14:06:28 +00:00
lfstack_test.go
lock_futex.go all: add support for synchronous callbacks to js/wasm 2018-11-10 11:57:17 +00:00
lock_js.go syscall/js: rename js.Callback to js.Func 2018-12-13 18:34:01 +00:00
lock_sema.go all: add support for synchronous callbacks to js/wasm 2018-11-10 11:57:17 +00:00
malloc.go runtime: handle 64bits addresses for AIX 2018-11-26 14:06:28 +00:00
malloc_test.go runtime: add physical memory scavenging test 2018-10-30 15:44:23 +00:00
map.go runtime: during map delete, update entries after new last element 2018-11-13 21:24:57 +00:00
map_benchmark_test.go runtime: exit early when scanning map buckets 2018-10-31 22:48:13 +00:00
map_fast32.go runtime: during map delete, update entries after new last element 2018-11-13 21:24:57 +00:00
map_fast64.go runtime: during map delete, update entries after new last element 2018-11-13 21:24:57 +00:00
map_faststr.go runtime: during map delete, update entries after new last element 2018-11-13 21:24:57 +00:00
map_test.go runtime: during map delete, update entries after new last element 2018-11-13 21:24:57 +00:00
mbarrier.go reflect: use correct write barrier operations for method funcs 2018-09-26 21:12:16 +00:00
mbitmap.go all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
mcache.go runtime: clean up MSpan* MCache* MCentral* in docs 2018-11-05 22:56:22 +00:00
mcentral.go runtime: clean up MSpan* MCache* MCentral* in docs 2018-11-05 22:56:22 +00:00
mem_aix.go runtime: add AIX operating system 2018-10-03 20:58:16 +00:00
mem_bsd.go runtime: use functions from mem_bsd.go on Darwin 2018-09-12 18:26:54 +00:00
mem_js.go runtime: add js/wasm architecture 2018-05-08 00:17:34 +00:00
mem_linux.go runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
mem_plan9.go runtime: don't try to shrink address space with brk in Plan 9 2018-02-28 15:57:10 +00:00
mem_windows.go runtime: fix sysUsed for Windows 2018-12-17 22:42:27 +00:00
memclr_386.s all: align cpu feature variable offset naming 2018-08-24 18:40:16 +00:00
memclr_amd64.s all: align cpu feature variable offset naming 2018-08-24 18:40:16 +00:00
memclr_amd64p32.s runtime: use Go function signatures for memclr and memmove comments 2018-05-21 13:18:16 +00:00
memclr_arm.s runtime: use Go function signatures for memclr and memmove comments 2018-05-21 13:18:16 +00:00
memclr_arm64.s runtime: use Go function signatures for memclr and memmove comments 2018-05-21 13:18:16 +00:00
memclr_mips64x.s runtime: use Go function signatures for memclr and memmove comments 2018-05-21 13:18:16 +00:00
memclr_mipsx.s runtime: use Go function signatures for memclr and memmove comments 2018-05-21 13:18:16 +00:00
memclr_plan9_386.s runtime: use Go function signatures for memclr and memmove comments 2018-05-21 13:18:16 +00:00
memclr_plan9_amd64.s runtime: use Go function signatures for memclr and memmove comments 2018-05-21 13:18:16 +00:00
memclr_ppc64x.s runtime: improve performance of memclr, memmove on ppc64x 2018-11-06 14:54:59 +00:00
memclr_s390x.s runtime: use Go function signatures for memclr and memmove comments 2018-05-21 13:18:16 +00:00
memclr_wasm.s runtime: use Go function signatures for memclr and memmove comments 2018-05-21 13:18:16 +00:00
memmove_386.s all: align cpu feature variable offset naming 2018-08-24 18:40:16 +00:00
memmove_amd64.s all: align cpu feature variable offset naming 2018-08-24 18:40:16 +00:00
memmove_amd64p32.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
memmove_arm.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
memmove_arm64.s runtime: use Go function signatures for memclr and memmove comments 2018-05-21 13:18:16 +00:00
memmove_linux_amd64_test.go
memmove_mips64x.s runtime: use Go function signatures for memclr and memmove comments 2018-05-21 13:18:16 +00:00
memmove_mipsx.s runtime: use Go function signatures for memclr and memmove comments 2018-05-21 13:18:16 +00:00
memmove_plan9_386.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
memmove_plan9_amd64.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
memmove_ppc64x.s runtime: improve performance of memclr, memmove on ppc64x 2018-11-06 14:54:59 +00:00
memmove_s390x.s runtime: use Go function signatures for memclr and memmove comments 2018-05-21 13:18:16 +00:00
memmove_test.go runtime, cmd/compile: use ldp for DUFFCOPY on ARM64 2018-03-06 04:14:59 +00:00
memmove_wasm.s runtime: use Go function signatures for memclr and memmove comments 2018-05-21 13:18:16 +00:00
mfinal.go runtime: clarify SetFinalizer docs 2018-07-09 23:40:50 +00:00
mfinal_test.go
mfixalloc.go runtime: clean up MSpan* MCache* MCentral* in docs 2018-11-05 22:56:22 +00:00
mgc.go runtime: flush on every write barrier while debugging 2018-12-18 15:17:50 +00:00
mgclarge.go runtime: allocate from free and scav fairly 2018-12-17 23:28:36 +00:00
mgcmark.go all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
mgcstack.go cmd/compile,runtime: implement stack objects 2018-10-03 19:52:49 +00:00
mgcsweep.go runtime: implement efficient page reclaimer 2018-11-15 19:27:11 +00:00
mgcsweepbuf.go runtime: replace sys.CacheLineSize by corresponding internal/cpu const and vars 2018-08-24 18:28:25 +00:00
mgcwork.go runtime: capture pause stack for late gcWork put debugging 2018-12-17 21:24:19 +00:00
mheap.go runtime: allocate from free and scav fairly 2018-12-17 23:28:36 +00:00
mkduff.go runtime, cmd/compile: use ldp for DUFFCOPY on ARM64 2018-03-06 04:14:59 +00:00
mkfastlog2table.go
mknacl.sh all: use consistent shebang line across all shell scripts 2018-08-22 16:41:11 +00:00
mksizeclasses.go
mmap.go runtime: add AIX operating system 2018-10-03 20:58:16 +00:00
mprof.go runtime: add a more stable isSystemGoroutine mode 2018-10-02 20:35:28 +00:00
msan.go
msan0.go
msan_amd64.s
msan_arm64.s runtime: enable memory sanitizer on arm64 2018-05-02 17:52:14 +00:00
msize.go
mstats.go runtime: clean up MSpan* MCache* MCentral* in docs 2018-11-05 22:56:22 +00:00
mwbbuf.go runtime: flush on every write barrier while debugging 2018-12-18 15:17:50 +00:00
net_plan9.go
netpoll.go all: use "reports whether" consistently in the few places that didn't 2018-11-02 22:47:58 +00:00
netpoll_aix.go runtime: add AIX operating system 2018-10-03 20:58:16 +00:00
netpoll_epoll.go runtime: use gList in netpoll 2018-08-20 18:19:25 +00:00
netpoll_fake.go runtime: use gList in netpoll 2018-08-20 18:19:25 +00:00
netpoll_kqueue.go runtime: use gList in netpoll 2018-08-20 18:19:25 +00:00
netpoll_solaris.go runtime: use gList in netpoll 2018-08-20 18:19:25 +00:00
netpoll_stub.go runtime: use gList in netpoll 2018-08-20 18:19:25 +00:00
netpoll_windows.go runtime: use gList in netpoll 2018-08-20 18:19:25 +00:00
norace_linux_test.go
norace_test.go runtime: remove the dummy arg of getcallersp 2018-04-26 18:57:20 +00:00
numcpu_freebsd_test.go
os2_aix.go internal/cpu, runtime: add CPU feature detection support for AIX 2018-10-31 16:11:20 +00:00
os2_freebsd.go
os2_nacl.go
os2_openbsd.go
os2_plan9.go
os2_solaris.go
os3_plan9.go runtime: replace calls to hasprefix with hasPrefix 2018-08-22 19:44:26 +00:00
os3_solaris.go runtime,cmd/ld: on darwin, create theads using libc 2018-04-30 02:41:03 +00:00
os_aix.go internal/cpu, runtime: add CPU feature detection support for AIX 2018-10-31 16:11:20 +00:00
os_android.go
os_darwin.go runtime: in semasleep, subtract time spent so far from timeout 2018-09-07 15:43:45 +00:00
os_darwin_arm.go runtime: move arm hardware division support detection to internal/cpu 2018-08-24 14:27:07 +00:00
os_darwin_arm64.go
os_dragonfly.go runtime: move darwin kevent calls to libc 2018-06-13 18:27:15 +00:00
os_freebsd.go runtime: move arm hardware division support detection to internal/cpu 2018-08-24 14:27:07 +00:00
os_freebsd2.go all: enable c-shared/c-archive support for freebsd/amd64 2018-03-21 21:56:20 +00:00
os_freebsd_amd64.go all: enable c-shared/c-archive support for freebsd/amd64 2018-03-21 21:56:20 +00:00
os_freebsd_arm.go runtime: move arm hardware division support detection to internal/cpu 2018-08-24 14:27:07 +00:00
os_freebsd_noauxv.go runtime: parse auxv on freebsd 2018-03-21 15:40:01 +00:00
os_js.go os: add js/wasm architecture 2018-06-01 05:18:38 +00:00
os_linux.go runtime: ignore GNU/Linux sigaction errors for signals 32 and 33 2018-07-25 21:30:24 +00:00
os_linux_arm.go runtime: remove unused armArch 2018-10-05 19:52:26 +00:00
os_linux_arm64.go runtime: avoid arm64 8.1 atomics on Android 2018-11-04 19:34:07 +00:00
os_linux_be64.go runtime: add missing build constraints to os_linux_{be64,noauxv,novdso,ppc64x}.go files 2018-03-07 14:26:19 +00:00
os_linux_generic.go
os_linux_mips64x.go
os_linux_mipsx.go
os_linux_noauxv.go runtime: add missing build constraints to os_linux_{be64,noauxv,novdso,ppc64x}.go files 2018-03-07 14:26:19 +00:00
os_linux_novdso.go runtime: add support for VDSO on ppc64x for use in walltime/nanotime 2018-08-31 13:12:31 +00:00
os_linux_ppc64x.go runtime: don't use linkname to refer to internal/cpu 2018-08-21 14:36:09 +00:00
os_linux_s390x.go internal/bytealg: move short string Index implementations into bytealg 2018-03-04 19:49:44 +00:00
os_nacl.go runtime: correct ABI information for all functions 2018-11-12 20:27:18 +00:00
os_nacl_arm.go runtime: move arm hardware division support detection to internal/cpu 2018-08-24 14:27:07 +00:00
os_netbsd.go runtime: in semasleep, subtract time spent so far from timeout 2018-09-07 15:43:45 +00:00
os_netbsd_386.go
os_netbsd_amd64.go
os_netbsd_arm.go runtime: move arm hardware division support detection to internal/cpu 2018-08-24 14:27:07 +00:00
os_nonopenbsd.go runtime: remap stack spans with MAP_STACK on OpenBSD 2018-06-29 21:27:23 +00:00
os_openbsd.go runtime: correct new thread stack for openbsd MAP_STACK 2018-07-11 17:58:23 +00:00
os_openbsd_arm.go runtime: move arm hardware division support detection to internal/cpu 2018-08-24 14:27:07 +00:00
os_plan9.go runtime: replace calls to hasprefix with hasPrefix 2018-08-22 19:44:26 +00:00
os_plan9_arm.go runtime: move arm hardware division support detection to internal/cpu 2018-08-24 14:27:07 +00:00
os_solaris.go runtime: traceback from outermost libc call 2018-07-24 21:06:55 +00:00
os_windows.go runtime: pass LR to sigprof on windows/arm 2018-12-12 23:17:48 +00:00
os_windows_arm.go runtime: support windows/arm 2018-09-18 22:18:23 +00:00
panic.go runtime: make traceback indicate whether _defer was just allocated 2018-12-17 21:24:13 +00:00
plugin.go
print.go
proc.go runtime: fix CGO traceback frame count 2018-12-10 23:09:58 +00:00
proc_runtime_test.go
proc_test.go all: skip unsupported tests for js/wasm 2018-04-30 19:39:18 +00:00
profbuf.go
profbuf_test.go
proflabel.go
race.go runtime: correct ABI information for all functions 2018-11-12 20:27:18 +00:00
race0.go
race_amd64.s all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
race_arm64.s runtime: add arg maps for sync/atomic functions in ARM64 race mode 2018-11-21 00:10:38 +00:00
race_ppc64le.s runtime/race: implement race detector for ppc64le 2018-06-11 17:45:36 +00:00
rand_test.go runtime: simplify range expressions in tests 2018-03-12 19:58:42 +00:00
rdebug.go
relax_stub.go
rt0_aix_ppc64.s runtime: add AIX operating system 2018-10-03 20:58:16 +00:00
rt0_android_386.s
rt0_android_amd64.s
rt0_android_arm.s
rt0_android_arm64.s
rt0_darwin_386.s
rt0_darwin_amd64.s
rt0_darwin_arm.s
rt0_darwin_arm64.s build: support frame-pointer for arm64 2018-08-29 18:28:34 +00:00
rt0_dragonfly_amd64.s
rt0_freebsd_386.s
rt0_freebsd_amd64.s
rt0_freebsd_arm.s
rt0_js_wasm.s syscall/js: rename js.Callback to js.Func 2018-12-13 18:34:01 +00:00
rt0_linux_386.s
rt0_linux_amd64.s
rt0_linux_arm.s
rt0_linux_arm64.s build: support frame-pointer for arm64 2018-08-29 18:28:34 +00:00
rt0_linux_mips64x.s
rt0_linux_mipsx.s
rt0_linux_ppc64.s cmd/link, runtime: add initial cgo support for ppc64 2018-11-20 14:50:09 +00:00
rt0_linux_ppc64le.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
rt0_linux_s390x.s
rt0_nacl_386.s
rt0_nacl_amd64p32.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
rt0_nacl_arm.s
rt0_netbsd_386.s
rt0_netbsd_amd64.s
rt0_netbsd_arm.s
rt0_openbsd_386.s
rt0_openbsd_amd64.s
rt0_openbsd_arm.s
rt0_plan9_386.s
rt0_plan9_amd64.s
rt0_plan9_arm.s
rt0_solaris_amd64.s
rt0_windows_386.s
rt0_windows_amd64.s
rt0_windows_arm.s runtime: support windows/arm 2018-09-18 22:18:23 +00:00
runtime-gdb.py runtime: fix runtime-gdb.py when switching sp value 2018-12-07 17:11:55 +00:00
runtime-gdb_test.go cmd/compile: encourage inlining of functions with single-call bodies 2018-11-08 17:29:23 +00:00
runtime-lldb_test.go runtime: revert "skip TestLldbPython when lldb is too old" 2018-10-05 22:24:04 +00:00
runtime.go
runtime1.go runtime: remove GODEBUG=gcrescanstacks=1 mode 2018-10-02 20:35:27 +00:00
runtime2.go runtime: make processor capability variable naming platform specific 2018-11-14 20:30:31 +00:00
runtime_linux_test.go runtime: fix errno sign for epollctl on mips, mips64 and ppc64 2018-04-24 14:10:43 +00:00
runtime_mmap_test.go
runtime_test.go all: skip unsupported tests for js/wasm 2018-04-30 19:39:18 +00:00
runtime_unix_test.go runtime: add AIX operating system 2018-10-03 20:58:16 +00:00
rwmutex.go
rwmutex_test.go all: skip unsupported tests for js/wasm 2018-04-30 19:39:18 +00:00
select.go all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
sema.go runtime: replace sys.CacheLineSize by corresponding internal/cpu const and vars 2018-08-24 18:28:25 +00:00
semasleep_test.go runtime: don't build semasleep_test on Plan 9 2018-09-13 19:54:03 +00:00
sigaction.go runtime: enable memory sanitizer on arm64 2018-05-02 17:52:14 +00:00
signal_386.go
signal_aix_ppc64.go runtime: add AIX operating system 2018-10-03 20:58:16 +00:00
signal_amd64x.go
signal_arm.go
signal_arm64.go
signal_darwin.go
signal_darwin_386.go
signal_darwin_amd64.go
signal_darwin_arm.go
signal_darwin_arm64.go
signal_dragonfly.go
signal_dragonfly_amd64.go
signal_freebsd.go
signal_freebsd_386.go
signal_freebsd_amd64.go
signal_freebsd_arm.go
signal_linux_386.go
signal_linux_amd64.go
signal_linux_arm.go
signal_linux_arm64.go
signal_linux_mips64x.go
signal_linux_mipsx.go
signal_linux_ppc64x.go
signal_linux_s390x.go
signal_mips64x.go
signal_mipsx.go
signal_nacl.go
signal_nacl_386.go
signal_nacl_amd64p32.go
signal_nacl_arm.go
signal_netbsd.go
signal_netbsd_386.go
signal_netbsd_amd64.go
signal_netbsd_arm.go
signal_openbsd.go
signal_openbsd_386.go
signal_openbsd_amd64.go
signal_openbsd_arm.go runtime: correct signal structs/offsets for openbsd/arm 2018-12-13 18:13:30 +00:00
signal_plan9.go
signal_ppc64x.go runtime: add AIX operating system 2018-10-03 20:58:16 +00:00
signal_sighandler.go runtime: add AIX operating system 2018-10-03 20:58:16 +00:00
signal_solaris.go
signal_solaris_amd64.go
signal_unix.go all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
signal_windows.go runtime: correct isAbortPC check in isgoexception 2018-12-05 02:56:47 +00:00
sigqueue.go runtime: mark sigInitIgnored nosplit 2018-08-24 19:05:34 +00:00
sigqueue_plan9.go os/signal: add func Ignored(sig Signal) bool 2018-04-21 04:18:03 +00:00
sigtab_aix.go runtime: add AIX operating system 2018-10-03 20:58:16 +00:00
sigtab_linux_generic.go
sigtab_linux_mipsx.go
sizeclasses.go
sizeof_test.go runtime: convert g.waitreason from string to uint8 2018-05-03 17:04:22 +00:00
slice.go cmd/compile: move slice construction to callers of makeslice 2018-10-29 19:23:00 +00:00
slice_test.go runtime: use multiplication with overflow check for makeslice 2018-10-23 07:23:15 +00:00
softfloat64.go
softfloat64_test.go
stack.go runtime: when using explicit argmap, also use arglen 2018-11-13 22:52:09 +00:00
stack_test.go cmd/compile: encourage inlining of functions with single-call bodies 2018-11-08 17:29:23 +00:00
string.go cmd/compile: avoid string allocations when map key is struct or array literal 2018-10-15 19:22:07 +00:00
string_test.go strings: declare IndexByte as noescape 2018-10-30 20:03:54 +00:00
stubs.go all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
stubs2.go runtime: add AIX operating system 2018-10-03 20:58:16 +00:00
stubs3.go runtime: add AIX operating system 2018-10-03 20:58:16 +00:00
stubs32.go
stubs_386.go runtime: correct ABI information for all functions 2018-11-12 20:27:18 +00:00
stubs_android.go
stubs_arm.go cmd/internal/obj/arm, runtime: delete old ARM softfloat code 2018-04-17 18:27:55 +00:00
stubs_linux.go
stubs_nonlinux.go
stubs_x86.go runtime: query thread stack size from OS on Windows 2018-07-02 15:18:26 +00:00
symtab.go runtime: reduce linear search through pcvalue cache 2018-11-09 16:06:56 +00:00
symtab_test.go
sys_aix_ppc64.s runtime: add AIX operating system 2018-10-03 20:58:16 +00:00
sys_arm.go
sys_arm64.go
sys_darwin.go syscall: implement syscalls on Darwin using libSystem 2018-11-07 20:27:01 +00:00
sys_darwin_32.go runtime,os,syscall,internal/poll: replace getdirentries on iOS 2018-12-13 17:10:32 +00:00
sys_darwin_64.go runtime,os,syscall,internal/poll: replace getdirentries on iOS 2018-12-13 17:10:32 +00:00
sys_darwin_386.s runtime,os,syscall,internal/poll: replace getdirentries on iOS 2018-12-13 17:10:32 +00:00
sys_darwin_amd64.s runtime,os,syscall,internal/poll: replace getdirentries on iOS 2018-12-13 17:10:32 +00:00
sys_darwin_arm.s runtime,os,syscall,internal/poll: replace getdirentries on iOS 2018-12-13 17:10:32 +00:00
sys_darwin_arm64.s runtime,os,syscall,internal/poll: replace getdirentries on iOS 2018-12-13 17:10:32 +00:00
sys_dragonfly_amd64.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
sys_freebsd_386.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
sys_freebsd_amd64.s runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
sys_freebsd_arm.s runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
sys_linux_386.s runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
sys_linux_amd64.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
sys_linux_arm.s runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
sys_linux_arm64.s runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
sys_linux_mips64x.s runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
sys_linux_mipsx.s runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
sys_linux_ppc64x.s cmd/link, runtime: add initial cgo support for ppc64 2018-11-20 14:50:09 +00:00
sys_linux_s390x.s runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
sys_mips64x.go
sys_mipsx.go
sys_nacl_386.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
sys_nacl_amd64p32.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
sys_nacl_arm.s
sys_netbsd_386.s runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
sys_netbsd_amd64.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
sys_netbsd_arm.s runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
sys_nonppc64x.go
sys_openbsd_386.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
sys_openbsd_amd64.s runtime: use MADV_FREE on Linux if available 2018-09-18 15:41:44 +00:00
sys_openbsd_arm.s runtime,cmd/dist,cmd/link: add cgo support on openbsd/arm 2018-12-18 12:02:45 +00:00
sys_plan9_386.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
sys_plan9_amd64.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
sys_plan9_arm.s
sys_ppc64x.go
sys_s390x.go
sys_solaris_amd64.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
sys_wasm.go runtime: add js/wasm architecture 2018-05-08 00:17:34 +00:00
sys_wasm.s syscall/js: rename js.Callback to js.Func 2018-12-13 18:34:01 +00:00
sys_windows_386.s runtime, time: refactor startNano handling 2018-11-02 12:50:03 +00:00
sys_windows_amd64.s runtime, time: refactor startNano handling 2018-11-02 12:50:03 +00:00
sys_windows_arm.s runtime: fix profiling on windows/ARM 2018-12-12 01:35:51 +00:00
sys_x86.go
syscall2_solaris.go runtime: clean up libc_* definitions on Solaris 2018-03-01 07:31:53 +00:00
syscall_aix.go syscall: remove linknames to runtime symbols for aix/ppc64 2018-12-14 09:10:02 +00:00
syscall_nacl.h
syscall_solaris.go syscall: change solaris files to libc files 2018-10-10 00:58:17 +00:00
syscall_windows.go syscall: add Syscall18 on Windows 2018-11-02 17:53:18 +00:00
syscall_windows_test.go runtime: query thread stack size from OS on Windows 2018-07-02 15:18:26 +00:00
textflag.h
time.go runtime: move nanotime wrappers to time and poll packages 2018-11-02 12:52:30 +00:00
timeasm.go runtime, time: refactor startNano handling 2018-11-02 12:50:03 +00:00
timestub.go runtime, time: refactor startNano handling 2018-11-02 12:50:03 +00:00
timestub2.go runtime: add AIX operating system 2018-10-03 20:58:16 +00:00
tls_arm.s runtime: fix profiling on windows/ARM 2018-12-12 01:35:51 +00:00
tls_arm64.h
tls_arm64.s
tls_mips64x.s
tls_mipsx.s
tls_ppc64x.s runtime: use unsigned load for iscgo variable in ppc64x runtime asm 2018-10-23 20:25:29 +00:00
tls_s390x.s
trace.go runtime: remove redundant explicit deref in trace.go 2018-08-22 19:48:50 +00:00
traceback.go all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
type.go runtime: replace calls to hasprefix with hasPrefix 2018-08-22 19:44:26 +00:00
typekind.go
unaligned1.go runtime: add js/wasm architecture 2018-05-08 00:17:34 +00:00
unaligned2.go
utf8.go cmd/compile: optimize len([]rune(string)) 2018-05-06 05:31:01 +00:00
vdso_elf32.go runtime: use vDSO for clock_gettime on linux/arm 2018-03-03 12:12:58 +00:00
vdso_elf64.go runtime: add support for VDSO on ppc64x for use in walltime/nanotime 2018-08-31 13:12:31 +00:00
vdso_freebsd.go runtime: FreeBSD fast clock_gettime HPET timecounter support 2018-04-26 03:54:19 +00:00
vdso_freebsd_arm.go runtime: fast clock_gettime call on FreeBSD 2018-04-18 21:54:26 +00:00
vdso_freebsd_x86.go runtime: fast clock_gettime on FreeBSD, always call getHPETTimecounter on systemstack 2018-05-04 17:34:20 +00:00
vdso_in_none.go runtime: add support for VDSO on ppc64x for use in walltime/nanotime 2018-08-31 13:12:31 +00:00
vdso_linux.go all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
vdso_linux_386.go runtime: use vDSO for clock_gettime on linux/arm64 2018-03-27 13:21:27 +00:00
vdso_linux_amd64.go runtime: use vDSO for clock_gettime on linux/arm64 2018-03-27 13:21:27 +00:00
vdso_linux_arm.go runtime: use vDSO for clock_gettime on linux/arm64 2018-03-27 13:21:27 +00:00
vdso_linux_arm64.go runtime: use vDSO for clock_gettime on linux/arm64 2018-03-27 13:21:27 +00:00
vdso_linux_ppc64x.go runtime: add support for VDSO on ppc64x for use in walltime/nanotime 2018-08-31 13:12:31 +00:00
vdso_linux_test.go runtime: add support for VDSO on ppc64x for use in walltime/nanotime 2018-08-31 13:12:31 +00:00
vlop_386.s
vlop_arm.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
vlop_arm_test.go all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
vlrt.go runtime: move semaphore ops from system calls to libc calls on Darwin 2018-06-16 00:58:37 +00:00
wincallback.go runtime: support windows/arm 2018-09-18 22:18:23 +00:00
write_err.go
write_err_android.go
zcallback_windows.go runtime: support windows/arm 2018-09-18 22:18:23 +00:00
zcallback_windows.s runtime: support windows/arm 2018-09-18 22:18:23 +00:00
zcallback_windows_arm.s runtime: support windows/arm 2018-09-18 22:18:23 +00:00