1
0
mirror of https://github.com/golang/go synced 2024-11-07 12:46:16 -07:00
go/src/runtime
Michael Pratt ecfce58965 runtime: skip work recheck for non-spinning Ms
When an M transitions from spinning to non-spinning state, it must
recheck most sources of work to avoid missing work submitted between its
initial check and decrementing sched.nmspinning (see "delicate dance"
comment).

Ever since the scheduler rewrite in Go 1.1 (golang.org/cl/7314062), we
have performed this recheck on all Ms before stopping, regardless of
whether or not they were spinning.

Unfortunately, there is a problem with this approach: non-spinning Ms
are not eligible to steal work (note the skip over the stealWork block),
but can detect work during the recheck. If there is work available, this
non-spinning M will jump to top, skip stealing, land in recheck again,
and repeat. i.e., it will spin uselessly.

The spin is bounded. This can only occur if there is another spinning M,
which will either take the work, allowing this M to stop, or take some
other work, allowing this M to upgrade to spinning. But the spinning is
ultimately just a fancy spin-wait.

golang.org/issue/43997 discusses several ways to address this. This CL
takes the simplest approach: skipping the recheck on non-spinning Ms and
allowing them to go to stop.

Results for scheduler-relevant runtime and time benchmarks can be found
at https://perf.golang.org/search?q=upload:20210420.5.

The new BenchmarkCreateGoroutinesSingle is a characteristic example
workload that hits this issue hard. A single M readies lots of work
without itself parking. Other Ms must spin to steal work, which is very
short-lived, forcing those Ms to spin again. Some of the Ms will be
non-spinning and hit the above bug.

With this fixed, that benchmark drops in CPU usage by a massive 68%, and
wall time 24%. BenchmarkNetpollBreak shows similar drops because it is
unintentionally almost the same benchmark (create short-living Gs in a
loop). Typical well-behaved programs show little change.

We also measure scheduling latency (time from goready to execute). Note
that many of these benchmarks are very noisy because they don't involve
much scheduling. Those that do, like CreateGoroutinesSingle, are
expected to increase as we are replacing unintentional spin waiting with
a real park.

Fixes #43997

Change-Id: Ie1d1e1800f393cee1792455412caaa5865d13562
Reviewed-on: https://go-review.googlesource.com/c/go/+/310850
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2021-04-22 20:45:37 +00:00
..
cgo runtime: unify C->Go ABI transitions 2021-04-15 12:38:13 +00:00
debug all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
internal runtime: using wyhash for memhashFallback on 64bit platform 2021-04-12 02:29:32 +00:00
metrics runtime/metrics: update documentation to current interface 2021-02-16 16:26:30 +00:00
msan
pprof runtime/pprof: deflake TestMorestack 2021-04-06 18:01:39 +00:00
race runtime: replace os.MkdirTemp with T.TempDir 2021-04-08 07:33:58 +00:00
testdata runtime: don't run TestCrashDumpsAllThreads in parallel 2021-04-22 00:34:25 +00:00
trace all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTemp 2020-12-09 19:12:23 +00:00
abi_test.go runtime: improve synchronization in TestFinalizerRegisterABI 2021-04-16 00:01:58 +00:00
alg.go Revert "cmd/compile: split exported/non-exported methods for interface type" 2020-10-28 17:10:08 +00:00
asm_386.s cmd/compile: allow conversion from slice to array ptr 2021-04-21 00:53:48 +00:00
asm_amd64.s runtime: call cgocallbackg indirectly 2021-04-22 16:15:44 +00:00
asm_arm64.s cmd/compile: allow conversion from slice to array ptr 2021-04-21 00:53:48 +00:00
asm_arm.s cmd/compile: allow conversion from slice to array ptr 2021-04-21 00:53:48 +00:00
asm_mips64x.s cmd/compile: allow conversion from slice to array ptr 2021-04-21 00:53:48 +00:00
asm_mipsx.s cmd/compile: allow conversion from slice to array ptr 2021-04-21 00:53:48 +00:00
asm_ppc64x.h
asm_ppc64x.s cmd/compile: allow conversion from slice to array ptr 2021-04-21 00:53:48 +00:00
asm_riscv64.s cmd/compile: allow conversion from slice to array ptr 2021-04-21 00:53:48 +00:00
asm_s390x.s cmd/compile: allow conversion from slice to array ptr 2021-04-21 00:53:48 +00:00
asm_wasm.s runtime: use TOPFRAME to identify top-of-frame functions 2021-02-19 00:02:49 +00:00
asm.s [dev.regabi] runtime: initialize special registers before sigpanic 2021-02-08 17:48:48 +00:00
atomic_arm64.s
atomic_mips64x.s
atomic_mipsx.s
atomic_pointer.go
atomic_ppc64x.s
atomic_riscv64.s cmd/internal/obj/riscv: add FENCE instruction 2020-03-15 07:13:18 +00:00
auxv_none.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
callers_test.go runtime: mark testCallersEqual as a test helper 2020-02-22 04:32:05 +00:00
cgo_mmap.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
cgo_ppc64x.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
cgo_sigaction.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
cgo.go
cgocall.go runtime: fix uses of ABIInternal PCs in assembly 2021-04-01 00:51:26 +00:00
cgocallback.go
cgocheck.go cmd/compile,runtime: pass only ptr and len to some runtime calls 2020-04-08 22:19:53 +00:00
chan_test.go docs: fix spelling 2021-02-24 04:11:43 +00:00
chan.go cmd/compile,runtime: make selectnbrecv return two values 2021-02-23 05:02:26 +00:00
chanbarrier_test.go
checkptr_test.go cmd/compile: fix checkptr handling of &^ 2020-08-20 17:48:29 +00:00
checkptr.go runtime: don't report a pointer alignment error for pointer-free base type 2020-03-17 20:47:06 +00:00
closure_test.go all: add empty line between copyright header and package clause 2020-08-17 09:45:44 +00:00
compiler.go
complex_test.go
complex.go
conv_wasm_test.go runtime: use correct truncated constants for float conversion 2020-05-06 13:55:00 +00:00
cpuflags_amd64.go
cpuflags_arm64.go runtime: improve memmove performance on arm64 2020-11-02 15:23:43 +00:00
cpuflags.go runtime: improve MIPS64x memclr 2020-03-26 17:48:20 +00:00
cpuprof.go runtime: handle nil gp in cpuprof 2021-02-19 00:01:52 +00:00
cputicks.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
crash_cgo_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
crash_nonunix_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
crash_test.go runtime: make sure to remove open-coded defer entries in all cases after a recover 2021-01-27 20:44:24 +00:00
crash_unix_test.go runtime: don't run TestCrashDumpsAllThreads in parallel 2021-04-22 00:34:25 +00:00
debug_test.go runtime: update debug call protocol for register ABI 2021-04-14 19:54:26 +00:00
debug.go runtime: update docs for GOMAXPROCS 2020-09-10 14:44:25 +00:00
debugcall.go runtime: update debug call protocol for register ABI 2021-04-14 19:54:26 +00:00
debuglog_off.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
debuglog_on.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
debuglog_test.go
debuglog.go runtime: fix debuglog traceback printing off-by-one 2020-04-29 20:33:30 +00:00
defer_test.go all: remove duplicate words 2021-03-13 11:56:59 +00:00
defs1_linux.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs1_netbsd_386.go runtime: add netpollBreak 2019-10-21 16:37:45 +00:00
defs1_netbsd_amd64.go runtime: add netpollBreak 2019-10-21 16:37:45 +00:00
defs1_netbsd_arm64.go runtime: add netpollBreak 2019-10-21 16:37:45 +00:00
defs1_netbsd_arm.go runtime: add netpollBreak 2019-10-21 16:37:45 +00:00
defs1_solaris_amd64.go runtime: add pipe/pipe2 on Solaris 2019-11-08 19:28:57 +00:00
defs2_linux.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs3_linux.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs_aix_ppc64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs_aix.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs_arm_linux.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs_darwin_amd64.go runtime: add netpollBreak 2019-10-21 16:37:45 +00:00
defs_darwin_arm64.go runtime: set up TLS without cgo on darwin/arm64 2020-10-28 13:25:44 +00:00
defs_darwin.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs_dragonfly_amd64.go runtime: use pipe2 for nonblockingPipe on dragonfly 2021-02-25 18:43:17 +00:00
defs_dragonfly.go runtime: use pipe2 for nonblockingPipe on dragonfly 2021-02-25 18:43:17 +00:00
defs_freebsd_386.go runtime: correct error handling in several FreeBSD syscall wrappers 2020-12-22 15:59:17 +00:00
defs_freebsd_amd64.go runtime: correct error handling in several FreeBSD syscall wrappers 2020-12-22 15:59:17 +00:00
defs_freebsd_arm64.go runtime: correct error handling in several FreeBSD syscall wrappers 2020-12-22 15:59:17 +00:00
defs_freebsd_arm.go runtime: correct error handling in several FreeBSD syscall wrappers 2020-12-22 15:59:17 +00:00
defs_freebsd.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs_illumos_amd64.go runtime: make NumCPU respect zone CPU cap on illumos 2019-10-28 18:06:12 +00:00
defs_linux_386.go runtime: revert signal stack mlocking 2020-08-13 02:17:17 +00:00
defs_linux_amd64.go runtime: revert signal stack mlocking 2020-08-13 02:17:17 +00:00
defs_linux_arm64.go runtime: remove unused _F_SETFL const on linux 2020-02-24 15:55:01 +00:00
defs_linux_arm.go runtime: add file copyright header declaration 2020-09-02 10:09:21 +00:00
defs_linux_mips64x.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs_linux_mipsx.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs_linux_ppc64.go runtime: define nonblockingPipe 2019-10-20 21:15:55 +00:00
defs_linux_ppc64le.go runtime: define nonblockingPipe 2019-10-20 21:15:55 +00:00
defs_linux_riscv64.go runtime: add support for linux/riscv64 2020-01-19 14:04:09 +00:00
defs_linux_s390x.go runtime: define nonblockingPipe 2019-10-20 21:15:55 +00:00
defs_linux.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs_netbsd_386.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs_netbsd_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs_netbsd_arm.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs_netbsd.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs_openbsd_386.go runtime: add netpollBreak 2019-10-21 16:37:45 +00:00
defs_openbsd_amd64.go runtime: switch runtime to libc for openbsd/amd64 2021-01-22 18:58:08 +00:00
defs_openbsd_arm64.go runtime: switch runtime to libc for openbsd/arm64 2021-01-27 12:18:00 +00:00
defs_openbsd_arm.go runtime: add netpollBreak 2019-10-21 16:37:45 +00:00
defs_openbsd_mips64.go runtime: add defs for openbsd/mips64 2020-10-28 18:54:46 +00:00
defs_openbsd.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs_plan9_386.go runtime: add file copyright header declaration 2020-09-02 10:09:21 +00:00
defs_plan9_amd64.go runtime: add file copyright header declaration 2020-09-02 10:09:21 +00:00
defs_plan9_arm.go
defs_solaris_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs_solaris.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
defs_windows_386.go runtime: factor common code out of defs_windows_*.go 2021-02-19 00:03:30 +00:00
defs_windows_amd64.go runtime: factor common code out of defs_windows_*.go 2021-02-19 00:03:30 +00:00
defs_windows_arm64.go runtime: initial windows/arm64 implementation files 2021-02-19 00:40:56 +00:00
defs_windows_arm.go runtime: fix windows/arm CONTEXT_CONTROL 2021-02-19 00:03:36 +00:00
defs_windows.go runtime: convert windows/arm64 assembly 2021-02-19 00:41:03 +00:00
duff_386.s
duff_amd64.s [dev.regabi] cmd/compile: reserve X15 as zero register on AMD64 2021-02-03 22:44:53 +00:00
duff_arm64.s
duff_arm.s
duff_mips64x.s
duff_ppc64x.s runtime: generate dummy duffcopy 2020-03-31 23:54:09 +00:00
duff_riscv64.s cmd/compile,cmd/internal/obj/riscv,runtime: use Duff's devices on riscv64 2020-10-28 05:02:44 +00:00
duff_s390x.s
env_plan9.go all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTemp 2020-12-09 19:12:23 +00:00
env_posix.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
env_test.go runtime, syscall: use local cache for Setenv/Getenv in Plan 9 2020-06-19 11:28:19 +00:00
error.go cmd/compile: allow conversion from slice to array ptr 2021-04-21 00:53:48 +00:00
example_test.go
export_aix_test.go runtime: fix nbpipe_test for AIX 2019-10-30 14:51:03 +00:00
export_arm_test.go
export_darwin_test.go internal/syscall/unix: use fcntl64 on 32-bit GNU/Linux systems 2019-12-23 23:29:48 +00:00
export_debug_regabiargs_off_test.go runtime: update debug call protocol for register ABI 2021-04-14 19:54:26 +00:00
export_debug_regabiargs_on_test.go runtime: update debug call protocol for register ABI 2021-04-14 19:54:26 +00:00
export_debug_test.go runtime: update debug call protocol for register ABI 2021-04-14 19:54:26 +00:00
export_debuglog_test.go
export_futex_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
export_linux_test.go runtime: fix unsafe.Pointer alignment on Linux 2019-10-22 01:03:09 +00:00
export_mmap_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
export_pipe2_test.go runtime: use pipe2 for nonblockingPipe on dragonfly 2021-02-25 18:43:17 +00:00
export_pipe_test.go runtime: use pipe2 for nonblockingPipe on dragonfly 2021-02-25 18:43:17 +00:00
export_solaris_test.go runtime: add pipe/pipe2 on Solaris 2019-11-08 19:28:57 +00:00
export_test.go runtime: support register ABI Go functions from Windows callbacks 2021-03-31 20:09:03 +00:00
export_unix_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
export_windows_test.go
extern.go runtime,cmd/link: include GOEXPERIMENTs in runtime.Version(), "go version X" 2021-04-08 02:17:22 +00:00
fastlog2_test.go
fastlog2.go
fastlog2table.go
float.go
funcdata.h cmd/compile, runtime: add metadata for argument printing in traceback 2021-04-22 17:47:59 +00:00
futex_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
gc_test.go runtime: make gcTestMoveStackOnNextCall not double the stack 2021-04-02 01:14:00 +00:00
gcinfo_test.go runtime: move checkmarks to a separate bitmap 2020-08-17 14:31:20 +00:00
go_tls.h all: remove nacl (part 3, more amd64p32) 2019-10-10 22:38:38 +00:00
HACKING.md runtime: update go:notinheap documentation 2020-09-25 15:35:59 +00:00
hash32.go runtime: using wyhash for memhashFallback on 32bit platform 2021-03-16 00:50:54 +00:00
hash64.go runtime: using wyhash for memhashFallback on 64bit platform 2021-04-12 02:29:32 +00:00
hash_test.go runtime: raise alert threshold on window smhasher test 2020-06-12 20:46:27 +00:00
heapdump.go runtime: drop haveexperiment, sys.GOEXPERIMENT 2021-04-08 02:17:13 +00:00
histogram_test.go runtime: shift timeHistogram buckets and allow negative durations 2020-12-23 17:31:18 +00:00
histogram.go runtime: fix typo in histogram.go 2021-02-04 04:46:49 +00:00
iface_test.go cmd/compile: use staticuint64s instead of staticbytes 2020-03-04 21:43:01 +00:00
iface.go cmd/compile: make interface conversion function selection ABI insensitive 2021-04-12 22:50:31 +00:00
lfstack_32bit.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
lfstack_64bit.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
lfstack_test.go
lfstack.go
libfuzzer_amd64.s cmd/compile, runtime: add comparison tracing for libFuzzer 2019-11-05 00:00:43 +00:00
libfuzzer_arm64.s cmd/compile, runtime: add comparison tracing for libFuzzer 2019-11-05 00:00:43 +00:00
libfuzzer.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
lock_futex.go runtime: move findrunnable timer delay computation closer to use 2021-04-16 21:03:44 +00:00
lock_js.go runtime: move findrunnable timer delay computation closer to use 2021-04-16 21:03:44 +00:00
lock_sema.go runtime: move findrunnable timer delay computation closer to use 2021-04-16 21:03:44 +00:00
lockrank_off.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
lockrank_on.go runtime: check partial lock ranking order 2021-03-10 19:07:29 +00:00
lockrank_test.go runtime: check partial lock ranking order 2021-03-10 19:07:29 +00:00
lockrank.go runtime: check partial lock ranking order 2021-03-10 19:07:29 +00:00
Makefile
malloc_test.go runtime: align 12-byte objects to 8 bytes on 32-bit systems 2020-10-01 19:13:03 +00:00
malloc.go runtime: fix typos in comments 2021-03-30 03:31:44 +00:00
map_benchmark_test.go all: add empty line between copyright header and package clause 2020-08-17 09:45:44 +00:00
map_fast32.go runtime: code cleanup about map 2020-09-30 19:59:48 +00:00
map_fast64.go runtime: code cleanup about map 2020-09-30 19:59:48 +00:00
map_faststr.go runtime: overwrite existing keys for mapassign_faststr variant 2021-03-28 03:27:04 +00:00
map_test.go runtime: avoid memclr call for keys in mapdelete_fast 2020-08-17 04:56:56 +00:00
map.go runtime: simplify syntax for pointer arithmetic in mapaccess functions 2021-04-11 20:41:32 +00:00
mbarrier.go [dev.regabi] reflect: support for register ABI on amd64 for reflect.(Value).Call 2021-02-16 15:51:50 +00:00
mbitmap.go runtime: crash the GC when clobberdead pointer is seen 2021-04-20 01:47:04 +00:00
mcache.go runtime: move internal GC statistics from memstats to gcController 2021-04-13 23:42:29 +00:00
mcentral.go runtime: block sweep completion on all sweep paths 2021-04-12 19:22:50 +00:00
mcheckmark.go runtime: add world-stopped assertions 2020-10-30 20:20:58 +00:00
mem_aix.go runtime: delineate which memstats are system stats with a type 2020-10-26 18:09:41 +00:00
mem_bsd.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
mem_darwin.go runtime: delineate which memstats are system stats with a type 2020-10-26 18:09:41 +00:00
mem_js.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
mem_linux.go runtime: delineate which memstats are system stats with a type 2020-10-26 18:09:41 +00:00
mem_plan9.go runtime: delineate which memstats are system stats with a type 2020-10-26 18:09:41 +00:00
mem_windows.go runtime: delineate which memstats are system stats with a type 2020-10-26 18:09:41 +00:00
memclr_386.s runtime: eliminate externalthreadhandler 2021-04-13 21:13:12 +00:00
memclr_amd64.s runtime: eliminate externalthreadhandler 2021-04-13 21:13:12 +00:00
memclr_arm64.s runtime: convert windows/arm64 assembly 2021-02-19 00:41:03 +00:00
memclr_arm.s runtime: convert windows/arm64 assembly 2021-02-19 00:41:03 +00:00
memclr_mips64x.s runtime: document pointer write atomicity for memclrNoHeapPointers 2021-01-29 19:11:07 +00:00
memclr_mipsx.s runtime: document pointer write atomicity for memclrNoHeapPointers 2021-01-29 19:11:07 +00:00
memclr_plan9_386.s runtime: document pointer write atomicity for memclrNoHeapPointers 2021-01-29 19:11:07 +00:00
memclr_plan9_amd64.s runtime: document pointer write atomicity for memclrNoHeapPointers 2021-01-29 19:11:07 +00:00
memclr_ppc64x.s runtime: document pointer write atomicity for memclrNoHeapPointers 2021-01-29 19:11:07 +00:00
memclr_riscv64.s runtime: document pointer write atomicity for memclrNoHeapPointers 2021-01-29 19:11:07 +00:00
memclr_s390x.s runtime: document pointer write atomicity for memclrNoHeapPointers 2021-01-29 19:11:07 +00:00
memclr_wasm.s runtime: document pointer write atomicity for memclrNoHeapPointers 2021-01-29 19:11:07 +00:00
memmove_386.s all: fix dead links to inferno-os bitbucket repository 2020-06-04 07:25:06 +00:00
memmove_amd64.s runtime: port performance-critical functions to regabi 2021-04-12 18:08:47 +00:00
memmove_arm64.s runtime: improve memmove performance on arm64 2020-11-02 15:23:43 +00:00
memmove_arm.s all: fix dead links to inferno-os bitbucket repository 2020-06-04 07:25:06 +00:00
memmove_linux_amd64_test.go all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTemp 2020-12-09 19:12:23 +00:00
memmove_mips64x.s runtime: document special memmove requirements 2020-01-22 18:54:48 +00:00
memmove_mipsx.s runtime: document special memmove requirements 2020-01-22 18:54:48 +00:00
memmove_plan9_386.s all: fix dead links to inferno-os bitbucket repository 2020-06-04 07:25:06 +00:00
memmove_plan9_amd64.s all: fix dead links to inferno-os bitbucket repository 2020-06-04 07:25:06 +00:00
memmove_ppc64x.s all: remove duplicate words 2021-03-13 11:56:59 +00:00
memmove_riscv64.s runtime: fix file permission 2020-02-25 15:48:09 +00:00
memmove_s390x.s runtime: document special memmove requirements 2020-01-22 18:54:48 +00:00
memmove_test.go runtime: improve memmove performance on arm64 2020-11-02 15:23:43 +00:00
memmove_wasm.s runtime: document special memmove requirements 2020-01-22 18:54:48 +00:00
metrics_test.go runtime/metrics: change unit on *-by-size metrics to match bucket unit 2021-01-08 16:28:15 +00:00
metrics.go runtime: move next_gc and last_next_gc into gcControllerState 2021-04-14 14:03:30 +00:00
mfinal_test.go
mfinal.go runtime: support register ABI for finalizers 2021-03-11 17:26:22 +00:00
mfixalloc.go runtime: delineate which memstats are system stats with a type 2020-10-26 18:09:41 +00:00
mgc.go Revert "runtime: implement runqdrain() for GC mark worker goroutines" 2021-04-20 22:47:50 +00:00
mgcmark.go runtime: remove useless nFlushCacheRoots 2021-04-16 21:50:38 +00:00
mgcpacer.go runtime: make gcEffectiveGrowthRatio a method on gcControllerState 2021-04-14 14:04:06 +00:00
mgcscavenge_test.go runtime: remove a duplicated testcase of TestPallocDataFindScavengeCa… 2021-03-04 16:31:19 +00:00
mgcscavenge.go runtime: move next_gc and last_next_gc into gcControllerState 2021-04-14 14:03:30 +00:00
mgcstack.go cmd/compile: don't allow go:notinheap on the heap or stack 2020-08-25 01:46:05 +00:00
mgcsweep.go runtime: move internal GC statistics from memstats to gcController 2021-04-13 23:42:29 +00:00
mgcwork.go runtime: fix some typos 2021-03-29 19:16:20 +00:00
mheap.go runtime: move internal GC statistics from memstats to gcController 2021-04-13 23:42:29 +00:00
mkduff.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
mkfastlog2table.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
mkpreempt.go runtime: save R15 before checking AVX state 2021-02-23 20:05:37 +00:00
mksizeclasses.go runtime: fix documented alignment of 32KiB and 64KiB size classes 2021-03-13 04:53:32 +00:00
mmap.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
mpagealloc_32bit.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
mpagealloc_64bit.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
mpagealloc_test.go runtime: define the AddrRange used for testing in terms of addrRange 2020-10-22 15:25:33 +00:00
mpagealloc.go runtime: check for sysAlloc failures in pageAlloc 2021-03-31 03:52:40 +00:00
mpagecache_test.go runtime: ensure allocToCache updates searchAddr in a valid way 2020-04-27 21:37:31 +00:00
mpagecache.go runtime: add heap lock assertions 2020-10-30 20:21:14 +00:00
mpallocbits_test.go runtime: bit parallel implementation of findBitRange64 2020-08-17 22:00:17 +00:00
mpallocbits.go runtime: bit parallel implementation of findBitRange64 2020-08-17 22:00:17 +00:00
mprof.go runtime, cmd/link/internal/ld: disable memory profiling when data unreachable 2021-03-09 20:09:52 +00:00
mranges_test.go runtime: add tests for addrRanges.add 2020-10-23 23:01:52 +00:00
mranges.go runtime: implement addrRanges.findSucc with a binary search 2020-10-26 22:00:15 +00:00
msan0.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
msan_amd64.s cmd/compile, runtime: use __msan_memmove for moving data, split msanread to fields 2020-12-03 15:40:11 +00:00
msan_arm64.s cmd/compile, runtime: use __msan_memmove for moving data, split msanread to fields 2020-12-03 15:40:11 +00:00
msan.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
msize.go runtime: use divRoundUp 2020-03-20 16:05:35 +00:00
mspanset.go runtime: break down memstats.gc_sys 2020-10-26 18:10:04 +00:00
mstats.go runtime: move next_gc and last_next_gc into gcControllerState 2021-04-14 14:03:30 +00:00
mwbbuf.go runtime: remove debugCachedWork 2020-10-15 15:55:19 +00:00
nbpipe_fcntl_libc_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
nbpipe_fcntl_unix_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
nbpipe_pipe2.go runtime: use pipe2 for nonblockingPipe on dragonfly 2021-02-25 18:43:17 +00:00
nbpipe_pipe.go runtime: use pipe2 for nonblockingPipe on dragonfly 2021-02-25 18:43:17 +00:00
nbpipe_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
net_plan9.go
netpoll_aix.go runtime: replace the type of netpollWakeSig from a uintptr to a uint32 2020-04-10 03:29:25 +00:00
netpoll_epoll.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
netpoll_fake.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
netpoll_kqueue.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
netpoll_os_test.go runtime: converge duplicate calls to netpollBreak into one 2020-03-27 17:14:16 +00:00
netpoll_solaris.go runtime: replace the type of netpollWakeSig from a uintptr to a uint32 2020-04-10 03:29:25 +00:00
netpoll_stub.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
netpoll_windows.go runtime: replace the type of netpollWakeSig from a uintptr to a uint32 2020-04-10 03:29:25 +00:00
netpoll.go runtime: document netpollclose 2021-03-09 07:44:18 +00:00
norace_linux_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
norace_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
numcpu_freebsd_test.go
os2_aix.go runtime: clean up system calls during cgo callback init 2021-02-19 00:01:25 +00:00
os2_freebsd.go
os2_openbsd.go
os2_plan9.go
os2_solaris.go
os3_plan9.go runtime: use sigpanic0 on all OSes 2021-04-09 17:49:01 +00:00
os3_solaris.go runtime: clean up system calls during cgo callback init 2021-02-19 00:01:25 +00:00
os_aix.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_android.go
os_darwin_arm64.go runtime: consistently seed fastrand state across archs 2019-11-12 21:40:12 +00:00
os_darwin.go runtime: clean up system calls during cgo callback init 2021-02-19 00:01:25 +00:00
os_dragonfly.go runtime: use pipe2 for nonblockingPipe on dragonfly 2021-02-25 18:43:17 +00:00
os_freebsd2.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_freebsd_amd64.go
os_freebsd_arm64.go internal/cpu: consolidate arm64 feature detection 2020-10-20 11:09:52 +00:00
os_freebsd_arm.go runtime: consistently seed fastrand state across archs 2019-11-12 21:40:12 +00:00
os_freebsd_noauxv.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_freebsd.go runtime: clean up system calls during cgo callback init 2021-02-19 00:01:25 +00:00
os_illumos.go runtime: make NumCPU respect zone CPU cap on illumos 2019-10-28 18:06:12 +00:00
os_js.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_linux_arm64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_linux_arm.go runtime: mlock top of signal stack on Linux 5.2–5.4.1 2019-12-05 01:48:14 +00:00
os_linux_be64.go all: simplify the spelling of Linux 2021-04-13 13:56:21 +00:00
os_linux_generic.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_linux_mips64x.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_linux_mipsx.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_linux_noauxv.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_linux_novdso.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_linux_ppc64x.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_linux_riscv64.go runtime: add missing code for linux/riscv64 2020-01-23 14:36:57 +00:00
os_linux_s390x.go runtime: move s390x HWCap CPU feature detection to internal/cpu 2020-10-22 17:11:03 +00:00
os_linux_x86.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_linux.go runtime: unify C->Go ABI transitions 2021-04-15 12:38:13 +00:00
os_netbsd_386.go internal/cpu: consolidate arm64 feature detection 2020-10-20 11:09:52 +00:00
os_netbsd_amd64.go internal/cpu: consolidate arm64 feature detection 2020-10-20 11:09:52 +00:00
os_netbsd_arm64.go internal/cpu: consolidate arm64 feature detection 2020-10-20 11:09:52 +00:00
os_netbsd_arm.go internal/cpu: consolidate arm64 feature detection 2020-10-20 11:09:52 +00:00
os_netbsd.go runtime: fix uses of ABIInternal PCs in assembly 2021-04-01 00:51:26 +00:00
os_nonopenbsd.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_only_solaris.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_openbsd_arm64.go internal/cpu: consolidate arm64 feature detection 2020-10-20 11:09:52 +00:00
os_openbsd_arm.go runtime: consistently seed fastrand state across archs 2019-11-12 21:40:12 +00:00
os_openbsd_libc.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_openbsd_mips64.go runtime: add support for openbsd/mips64 2020-10-29 08:07:46 +00:00
os_openbsd_syscall1.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_openbsd_syscall2.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_openbsd_syscall.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
os_openbsd.go runtime: switch runtime to libc for openbsd/amd64 2021-01-22 18:58:08 +00:00
os_plan9_arm.go runtime: consistently seed fastrand state across archs 2019-11-12 21:40:12 +00:00
os_plan9.go runtime: init plan9 hashkey by time 2021-03-30 01:17:14 +00:00
os_solaris.go runtime: add pipe/pipe2 on Solaris 2019-11-08 19:28:57 +00:00
os_windows_arm64.go runtime: initial windows/arm64 implementation files 2021-02-19 00:40:56 +00:00
os_windows_arm.go
os_windows.go runtime: mark stdcallN functions cgo_unsafe_args 2021-04-16 16:09:59 +00:00
panic32.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
panic_test.go runtime: fix bad link to issue tracker in test 2020-04-22 16:03:11 +00:00
panic.go cmd/compile: allow conversion from slice to array ptr 2021-04-21 00:53:48 +00:00
plugin.go runtime, cgo/test: improve debugging output 2021-04-13 23:56:27 +00:00
preempt_386.s reflect,runtime: use internal ABI for selected ASM routines, attempt 2 2020-10-30 17:41:35 +00:00
preempt_amd64.s runtime: save R15 before checking AVX state 2021-02-23 20:05:37 +00:00
preempt_arm64.s reflect,runtime: use internal ABI for selected ASM routines, attempt 2 2020-10-30 17:41:35 +00:00
preempt_arm.s reflect,runtime: use internal ABI for selected ASM routines, attempt 2 2020-10-30 17:41:35 +00:00
preempt_mips64x.s reflect,runtime: use internal ABI for selected ASM routines, attempt 2 2020-10-30 17:41:35 +00:00
preempt_mipsx.s reflect,runtime: use internal ABI for selected ASM routines, attempt 2 2020-10-30 17:41:35 +00:00
preempt_nonwindows.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
preempt_ppc64x.s reflect,runtime: use internal ABI for selected ASM routines, attempt 2 2020-10-30 17:41:35 +00:00
preempt_riscv64.s reflect,runtime: use internal ABI for selected ASM routines, attempt 2 2020-10-30 17:41:35 +00:00
preempt_s390x.s reflect,runtime: use internal ABI for selected ASM routines, attempt 2 2020-10-30 17:41:35 +00:00
preempt_wasm.s reflect,runtime: use internal ABI for selected ASM routines, attempt 2 2020-10-30 17:41:35 +00:00
preempt.go runtime: remove go115ReduceLiveness and go115RestartSeq 2020-10-30 21:13:24 +00:00
print.go runtime: print hex numbers with hex prefixes in traceback debug 2021-02-19 00:03:44 +00:00
proc_runtime_test.go
proc_test.go runtime: skip work recheck for non-spinning Ms 2021-04-22 20:45:37 +00:00
proc.go runtime: skip work recheck for non-spinning Ms 2021-04-22 20:45:37 +00:00
profbuf_test.go
profbuf.go
proflabel.go
race0.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
race_amd64.s runtime: unify C->Go ABI transitions 2021-04-15 12:38:13 +00:00
race_arm64.s runtime: remove racefuncenterfp 2021-03-05 23:32:44 +00:00
race_ppc64le.s cmd/link: support 32b TLS_LE offsets on PPC64 2021-04-13 13:54:51 +00:00
race.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
rand_test.go
rdebug.go
relax_stub.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
rt0_aix_ppc64.s
rt0_android_386.s
rt0_android_amd64.s
rt0_android_arm64.s
rt0_android_arm.s
rt0_darwin_amd64.s
rt0_darwin_arm64.s cmd/link: support internal linking on darwin/arm64 2020-10-14 21:32:26 +00:00
rt0_dragonfly_amd64.s
rt0_freebsd_386.s
rt0_freebsd_amd64.s
rt0_freebsd_arm64.s runtime: use the CBZ instruction in the assembler 2020-08-17 20:59:59 +00:00
rt0_freebsd_arm.s
rt0_illumos_amd64.s
rt0_ios_amd64.s all: add GOOS=ios GOARCH=amd64 target for the ios simulator 2020-10-22 17:13:24 +00:00
rt0_ios_arm64.s runtime: define ios/arm64 entry points 2020-10-19 18:31:05 +00:00
rt0_js_wasm.s runtime: fix past-the-end write of wasmStack 2019-10-19 04:45:10 +00:00
rt0_linux_386.s
rt0_linux_amd64.s
rt0_linux_arm64.s runtime: use CBZ/CBNZ in linux/arm64 assembly code 2020-03-03 09:29:47 +00:00
rt0_linux_arm.s
rt0_linux_mips64x.s
rt0_linux_mipsx.s
rt0_linux_ppc64.s runtime: add file copyright header declaration 2020-09-02 10:09:21 +00:00
rt0_linux_ppc64le.s runtime: add file copyright header declaration 2020-09-02 10:09:21 +00:00
rt0_linux_riscv64.s runtime: add support for linux/riscv64 2020-01-19 14:04:09 +00:00
rt0_linux_s390x.s
rt0_netbsd_386.s
rt0_netbsd_amd64.s
rt0_netbsd_arm64.s runtime: use the CBZ instruction in the assembler 2020-08-17 20:59:59 +00:00
rt0_netbsd_arm.s
rt0_openbsd_386.s
rt0_openbsd_amd64.s
rt0_openbsd_arm64.s runtime: use the CBZ instruction in the assembler 2020-08-17 20:59:59 +00:00
rt0_openbsd_arm.s
rt0_openbsd_mips64.s runtime: add support for openbsd/mips64 2020-10-29 08:07:46 +00:00
rt0_plan9_386.s
rt0_plan9_amd64.s
rt0_plan9_arm.s
rt0_solaris_amd64.s
rt0_windows_386.s
rt0_windows_amd64.s runtime: fix stack alignment for Windows amd64 lib entry 2021-03-20 17:08:03 +00:00
rt0_windows_arm64.s runtime: initial windows/arm64 implementation files 2021-02-19 00:40:56 +00:00
rt0_windows_arm.s
runtime1.go runtime: remove GODEBUG=scavenge mode 2021-03-04 17:27:32 +00:00
runtime2.go syscall: syscall.AllThreadsSyscall signal handling fixes 2021-04-21 21:25:26 +00:00
runtime_linux_test.go runtime: fix unsafe.Pointer alignment on Linux 2019-10-22 01:03:09 +00:00
runtime_mmap_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
runtime_test.go runtime: document, clean up internal/sys 2021-02-19 00:01:38 +00:00
runtime_unix_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
runtime-gdb_test.go runtime: replace os.MkdirTemp with T.TempDir 2021-04-08 07:33:58 +00:00
runtime-gdb.py runtime: make runtime-gdb.py tolerant of creatively-named gdb versions 2020-06-03 22:07:42 +00:00
runtime-lldb_test.go runtime: replace os.MkdirTemp with T.TempDir 2021-04-08 07:33:58 +00:00
runtime.go
rwmutex_test.go
rwmutex.go runtime: static lock ranking for the runtime (enabled by GOEXPERIMENT) 2020-04-07 21:51:03 +00:00
select.go runtime: check channel's elemsize before calling race detector 2020-11-25 15:59:35 +00:00
sema_test.go runtime: really wait for goroutines in testSemaHandoff 2020-02-22 04:08:12 +00:00
sema.go runtime: static lock ranking for the runtime (enabled by GOEXPERIMENT) 2020-04-07 21:51:03 +00:00
semasleep_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
sigaction.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
signal_386.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
signal_aix_ppc64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
signal_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
signal_arm64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
signal_arm.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
signal_darwin_amd64.go
signal_darwin_arm64.go
signal_darwin.go
signal_dragonfly_amd64.go
signal_dragonfly.go
signal_freebsd_386.go
signal_freebsd_amd64.go
signal_freebsd_arm64.go runtime: add support for freebsd/arm64 2019-10-25 17:59:05 +00:00
signal_freebsd_arm.go
signal_freebsd.go
signal_linux_386.go
signal_linux_amd64.go
signal_linux_arm64.go
signal_linux_arm.go
signal_linux_mips64x.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
signal_linux_mipsx.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
signal_linux_ppc64x.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
signal_linux_riscv64.go runtime: add support for linux/riscv64 2020-01-19 14:04:09 +00:00
signal_linux_s390x.go cmd/internal/obj, runtime: preempt & restart some instruction sequences 2020-05-06 15:41:12 +00:00
signal_mips64x.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
signal_mipsx.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
signal_netbsd_386.go
signal_netbsd_amd64.go
signal_netbsd_arm64.go
signal_netbsd_arm.go
signal_netbsd.go
signal_openbsd_386.go
signal_openbsd_amd64.go
signal_openbsd_arm64.go
signal_openbsd_arm.go
signal_openbsd_mips64.go runtime: add support for openbsd/mips64 2020-10-29 08:07:46 +00:00
signal_openbsd.go runtime: switch runtime to libc for openbsd/amd64 2021-01-22 18:58:08 +00:00
signal_plan9.go
signal_ppc64x.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
signal_riscv64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
signal_solaris_amd64.go
signal_solaris.go
signal_unix.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
signal_windows_test.go runtime: replace os.MkdirTemp with T.TempDir 2021-04-08 07:33:58 +00:00
signal_windows.go runtime: use sigpanic0 on all OSes 2021-04-09 17:49:01 +00:00
sigqueue_note.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
sigqueue_plan9.go os/signal: fix a deadlock with syscall.AllThreadsSyscall() use 2020-12-23 05:27:04 +00:00
sigqueue.go syscall: syscall.AllThreadsSyscall signal handling fixes 2021-04-21 21:25:26 +00:00
sigtab_aix.go
sigtab_linux_generic.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
sigtab_linux_mipsx.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
sizeclasses.go runtime: fix documented alignment of 32KiB and 64KiB size classes 2021-03-13 04:53:32 +00:00
sizeof_test.go runtime, time: gofmt 2020-05-26 22:06:26 +00:00
slice_test.go all: add empty line between copyright header and package clause 2020-08-17 09:45:44 +00:00
slice.go runtime: use old capacity to decide on append growth regime 2020-09-25 03:59:54 +00:00
softfloat64_test.go
softfloat64.go runtime: use quiet NaNs in softfloat implementation 2020-03-02 17:17:18 +00:00
stack_test.go runtime: use inlined function name for traceback elision 2020-11-24 21:47:44 +00:00
stack.go cmd/internal/obj/x86: simplify huge frame prologue 2021-04-05 16:22:10 +00:00
string_test.go runtime: revert signal stack mlocking 2020-08-13 02:17:17 +00:00
string.go runtime: make concatstring{2,3,4,5} consistent w/ compiler's use 2021-04-02 20:26:12 +00:00
stubs2.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
stubs3.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
stubs_386.go runtime: clean up system calls during cgo callback init 2021-02-19 00:01:25 +00:00
stubs_amd64.go reflect: add register ABI support for makeFuncStub and methodValueCall 2021-04-02 16:53:18 +00:00
stubs_arm64.go runtime: convert windows/arm64 assembly 2021-02-19 00:41:03 +00:00
stubs_arm.go runtime: clean up system calls during cgo callback init 2021-02-19 00:01:25 +00:00
stubs_linux.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
stubs_mips64x.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
stubs_mipsx.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
stubs_nonlinux.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
stubs_ppc64x.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
stubs_s390x.go
stubs.go runtime: port performance-critical functions to regabi 2021-04-12 18:08:47 +00:00
symtab_test.go runtime: non-strict InlTreeIndex lookup in Frames.Next 2021-03-30 15:43:47 +00:00
symtab.go cmd/compile, runtime: add metadata for argument printing in traceback 2021-04-22 17:47:59 +00:00
sys_aix_ppc64.s
sys_arm64.go
sys_arm.go
sys_darwin_amd64.s runtime: unify C->Go ABI transitions 2021-04-15 12:38:13 +00:00
sys_darwin_arm64.go runtime: set up TLS without cgo on darwin/arm64 2020-10-28 13:25:44 +00:00
sys_darwin_arm64.s internal/cpu: add darwin/arm64 CPU feature detection support 2020-12-07 07:59:54 +00:00
sys_darwin.go runtime: use entersyscall in syscall_syscallX on Darwin 2021-03-01 22:49:36 +00:00
sys_dragonfly_amd64.s runtime: unify C->Go ABI transitions 2021-04-15 12:38:13 +00:00
sys_freebsd_386.s runtime: correct error handling in several FreeBSD syscall wrappers 2020-12-22 15:59:17 +00:00
sys_freebsd_amd64.s runtime: unify C->Go ABI transitions 2021-04-15 12:38:13 +00:00
sys_freebsd_arm64.s runtime: correct error handling in several FreeBSD syscall wrappers 2020-12-22 15:59:17 +00:00
sys_freebsd_arm.s runtime: correct error handling in several FreeBSD syscall wrappers 2020-12-22 15:59:17 +00:00
sys_libc.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
sys_linux_386.s runtime: unify C->Go ABI transitions 2021-04-15 12:38:13 +00:00
sys_linux_amd64.s runtime: unify C->Go ABI transitions 2021-04-15 12:38:13 +00:00
sys_linux_arm64.s runtime: make nanotime1 reentrant 2020-08-10 18:06:04 +00:00
sys_linux_arm.s runtime: make nanotime1 reentrant 2020-08-10 18:06:04 +00:00
sys_linux_mips64x.s runtime: check mips64 VDSO clock_gettime return code 2021-01-07 01:55:27 +00:00
sys_linux_mipsx.s runtime: negate errno value for mips pipe/pipe2 2020-03-24 11:03:07 +00:00
sys_linux_ppc64x.s runtime: make nanotime1 reentrant 2020-08-10 18:06:04 +00:00
sys_linux_riscv64.s cmd/internal/obj/riscv: add FENCE instruction 2020-03-15 07:13:18 +00:00
sys_linux_s390x.s runtime: M-targeted signals for Linux 2019-10-26 02:52:25 +00:00
sys_mips64x.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
sys_mipsx.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
sys_netbsd_386.s runtime: fix uses of ABIInternal PCs in assembly 2021-04-01 00:51:26 +00:00
sys_netbsd_amd64.s runtime: unify C->Go ABI transitions 2021-04-15 12:38:13 +00:00
sys_netbsd_arm64.s runtime: fix uses of ABIInternal PCs in assembly 2021-04-01 00:51:26 +00:00
sys_netbsd_arm.s runtime: fix uses of ABIInternal PCs in assembly 2021-04-01 00:51:26 +00:00
sys_nonppc64x.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
sys_openbsd1.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
sys_openbsd2.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
sys_openbsd3.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
sys_openbsd_386.s runtime: M-targeted signals for BSDs 2019-10-26 02:52:28 +00:00
sys_openbsd_amd64.s runtime: unify C->Go ABI transitions 2021-04-15 12:38:13 +00:00
sys_openbsd_arm64.s runtime,syscall: convert syscall on openbsd/arm64 to libc 2021-01-28 02:19:23 +00:00
sys_openbsd_arm.s runtime, syscall: correct openbsd/arm and openbsd/arm64 syscalls for OpenBSD 6.7 2020-05-26 17:02:46 +00:00
sys_openbsd_mips64.s runtime: correct sigfwd on openbsd/mips64 2020-12-08 01:46:45 +00:00
sys_openbsd.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
sys_plan9_386.s
sys_plan9_amd64.s
sys_plan9_arm.s
sys_ppc64x.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
sys_riscv64.go runtime: add support for linux/riscv64 2020-01-19 14:04:09 +00:00
sys_s390x.go
sys_solaris_amd64.s runtime: make nanotime use monotonic clock in Solaris 2019-10-11 20:01:28 +00:00
sys_wasm.go runtime: delete gosave (dead code) 2021-02-19 00:41:17 +00:00
sys_wasm.s runtime: use correct truncated constants for float conversion 2020-05-06 13:55:00 +00:00
sys_windows_386.s runtime: eliminate externalthreadhandler 2021-04-13 21:13:12 +00:00
sys_windows_amd64.s runtime: call nanotimeQPC from nanotime1 normally 2021-04-21 23:01:42 +00:00
sys_windows_arm64.s runtime: eliminate externalthreadhandler 2021-04-13 21:13:12 +00:00
sys_windows_arm.s runtime: eliminate externalthreadhandler 2021-04-13 21:13:12 +00:00
sys_x86.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
syscall2_solaris.go [dev.regabi] cmd/compile: process //go:linknames after declarations 2020-12-01 17:08:36 +00:00
syscall_aix.go
syscall_solaris.go runtime: syscall_forkx on Solaris can return error on success 2019-12-11 01:10:28 +00:00
syscall_windows_test.go runtime: increase maxargs to avoid syscall18 crash when called with more than 16 args 2021-04-14 09:46:36 +00:00
syscall_windows.go runtime: support register ABI Go functions from Windows callbacks 2021-03-31 20:09:03 +00:00
textflag.h [dev.regabi] cmd/compile,cmd/link: initial support for ABI wrappers 2020-12-22 18:13:48 +00:00
time_fake.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
time_nofake.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
time_test.go all: enable more tests on macOS/ARM64 2020-10-09 01:09:06 +00:00
time.go runtime, time: disable preemption in addtimer 2021-03-10 21:49:24 +00:00
timeasm.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
timestub2.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
timestub.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
tls_arm64.h runtime: convert windows/arm64 assembly 2021-02-19 00:41:03 +00:00
tls_arm64.s runtime: convert windows/arm64 assembly 2021-02-19 00:41:03 +00:00
tls_arm.s all: remove scattered remnants of darwin/arm 2020-04-08 18:35:49 +00:00
tls_mips64x.s
tls_mipsx.s
tls_ppc64x.s cmd/link: support 32b TLS_LE offsets on PPC64 2021-04-13 13:54:51 +00:00
tls_riscv64.s cmd/dist,cmd/go,runtime: add support for cgo on linux/riscv64 2020-11-03 12:59:51 +00:00
tls_s390x.s
tls_stub.go runtime: bypass ABI wrapper when calling needm on Windows 2021-03-24 19:18:50 +00:00
tls_windows_amd64.go runtime: bypass ABI wrapper when calling needm on Windows 2021-03-24 19:18:50 +00:00
trace.go runtime: move next_gc and last_next_gc into gcControllerState 2021-04-14 14:03:30 +00:00
traceback_test.go cmd/compile, runtime: add metadata for argument printing in traceback 2021-04-22 17:47:59 +00:00
traceback.go cmd/compile, runtime: add metadata for argument printing in traceback 2021-04-22 17:47:59 +00:00
type.go cmd/compile, cmd/link: use weak reference in itab 2021-03-24 14:38:53 +00:00
typekind.go
utf8.go all: fix typo in RuneSelf, runeSelf comments 2020-01-06 02:46:02 +00:00
vdso_elf32.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
vdso_elf64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
vdso_freebsd_arm64.go runtime: add support for freebsd/arm64 2019-10-25 17:59:05 +00:00
vdso_freebsd_arm.go
vdso_freebsd_x86.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
vdso_freebsd.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
vdso_in_none.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
vdso_linux_386.go
vdso_linux_amd64.go runtime: don't crash if vsyscall and vdso are disabled on x86_64 2020-09-30 05:39:59 +00:00
vdso_linux_arm64.go
vdso_linux_arm.go
vdso_linux_mips64x.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
vdso_linux_ppc64x.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
vdso_linux.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
vlop_386.s all: fix dead links to inferno-os bitbucket repository 2020-06-04 07:25:06 +00:00
vlop_arm_test.go
vlop_arm.s all: fix dead links to inferno-os bitbucket repository 2020-06-04 07:25:06 +00:00
vlrt.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
wincallback.go runtime: mark Windows' address-taken asm routines as ABIInternal 2021-03-19 17:08:02 +00:00
write_err_android.go
write_err.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zcallback_windows_arm64.s runtime: mark Windows' address-taken asm routines as ABIInternal 2021-03-19 17:08:02 +00:00
zcallback_windows_arm.s runtime: mark Windows' address-taken asm routines as ABIInternal 2021-03-19 17:08:02 +00:00
zcallback_windows.go
zcallback_windows.s runtime: mark Windows' address-taken asm routines as ABIInternal 2021-03-19 17:08:02 +00:00