go/src/runtime
Michael Anthony Knyszek a935749091 runtime: make TestSpuriousWakeupsNeverHangSemasleep more robust
This change modifies this test (which involves an arbitrary timeout) to
be a little less flaky by double-checking that our subprocess program
completed even if the ticker fires and we've exceeded our timeout. The
logic behind this change is that the testing goroutine might get delayed
for any number of reasons, but the subprocess could still complete in
time. Still, the goroutine will wake up to handle the ticker and see its
over time, even though the event it was waiting for did actually happen.

I can't reproduce #71548 locally, so I suspect because this test calls
t.Parallel other load can delay the testing goroutine enough for this to
happen (especially with GODEBUG=gccheckmark=1, which pauses
everything to perform a full mark and sweep, and runtime tests love to
call runtime.GC).

For #71548.

Change-Id: I83e86a0115f65950886b57b5af0b4a517ef5f90f
Reviewed-on: https://go-review.googlesource.com/c/go/+/648576
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Commit-Queue: Michael Knyszek <mknyszek@google.com>
2025-02-12 08:23:26 -08:00
..
asan runtime, cmd/go: enable address sanitizer on linux/loong64 2023-08-29 00:22:11 +00:00
cgo runtime/cgo: clarify that C code must not retain pointer 2025-02-06 05:37:51 -08:00
coverage cmd/preprofile, runtime/coverage: add package comment 2024-09-16 17:07:00 +00:00
debug all: fix some function names and typos in comment 2024-11-21 22:16:20 +00:00
internal runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
metrics crypto/x509: keep RSA CRT values in ParsePKCS1PrivateKey 2024-11-30 01:49:35 +00:00
msan runtime, cmd/go: enable memory sanitizer on linux/loong64 2023-08-25 20:58:13 +00:00
pprof runtime/pprof: hide map runtime frames from heap profiles 2025-01-09 13:59:08 -08:00
race runtime: get rid of gc programs for types 2024-11-18 20:36:14 +00:00
testdata runtime: don't duplicate reraised panic values in printpanics 2025-02-06 12:02:14 -08:00
trace runtime, cmd/trace: remove code paths that include v1 tracer 2024-04-15 16:44:47 +00:00
HACKING.md runtime: update HACKING.md with execution traces and debuglog 2025-02-11 11:23:37 -08:00
Makefile
abi_test.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
alg.go internal/runtime/maps: proper capacity hint handling 2024-10-30 14:07:22 +00:00
align_runtime_test.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
align_test.go
arena.go runtime: fix GODEBUG=gccheckmark=1 and add smoke test 2025-02-03 08:21:09 -08:00
arena_test.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
asan.go runtime: move getcallersp to internal/runtime/sys 2024-09-17 17:01:20 +00:00
asan0.go all: fix copyright headers 2023-12-15 21:57:36 +00:00
asan_amd64.s runtime: change the name of variables in asan-related assembly functions 2023-11-22 02:20:04 +00:00
asan_arm64.s runtime: change the name of variables in asan-related assembly functions 2023-11-22 02:20:04 +00:00
asan_loong64.s runtime: change the name of variables in asan-related assembly functions 2023-11-22 02:20:04 +00:00
asan_ppc64le.s
asan_riscv64.s
asm.s runtime: cleanup crashstack code 2024-05-16 21:49:14 +00:00
asm_386.s runtime: add crash stack support for 386 2024-03-15 15:45:13 +00:00
asm_amd64.h internal/cpu: detect support of AVX512 2023-11-15 18:30:03 +00:00
asm_amd64.s runtime: add runtime.debugPinnerV1 2024-05-11 20:38:24 +00:00
asm_arm.s runtime: add crash stack support for arm 2024-02-23 21:00:52 +00:00
asm_arm64.s Revert "runtime: Check LSE support on ARM64 at runtime init" 2025-01-27 09:58:29 -08:00
asm_loong64.s runtime: improve CALLFN macro for loong64 2024-11-16 01:19:57 +00:00
asm_mips64x.s runtime: add crash stack support for mips64x 2023-11-06 19:45:59 +00:00
asm_mipsx.s runtime: add crash stack support for mips/mipsle 2024-05-06 11:46:29 +00:00
asm_ppc64x.h
asm_ppc64x.s all: convert PPC64 CMPx ...,R0,... to CMPx Rx,$0 2024-05-22 18:17:17 +00:00
asm_riscv64.h cmd/go: add rva23u64 as a valid value for GORISCV64 2025-02-05 03:44:40 -08:00
asm_riscv64.s runtime: use regabi for riscv64 cputicks 2024-09-05 01:59:23 +00:00
asm_s390x.s runtime: add crash stack support for s390x 2024-01-25 09:18:28 +00:00
asm_wasm.s cmd/internal/obj/wasm, runtime: detect wasmexport call before runtime initialization 2025-01-16 12:14:23 -08:00
atomic_arm64.s
atomic_loong64.s cmd/compile/internal: intrinsify publicationBarrier on loong64 2024-11-08 01:04:43 +00:00
atomic_mips64x.s
atomic_mipsx.s
atomic_pointer.go all: document legacy //go:linkname for modules with ≥100 dependents 2024-05-29 16:25:21 +00:00
atomic_ppc64x.s
atomic_riscv64.s
auxv_none.go
badlinkname.go all: document legacy //go:linkname for final round of modules 2024-05-29 17:58:53 +00:00
badlinkname_linux.go runtime: push vdsoClockgettimeSym linkname on linux/arm64 2024-05-21 14:47:42 +00:00
bitcursor_test.go runtime: get rid of gc programs for types 2024-11-18 20:36:14 +00:00
callers_test.go runtime: use slices and maps to clean up tests 2024-07-25 00:23:03 +00:00
cgo.go cmd/cgo: enable #cgo noescape/nocallback 2024-08-16 23:44:54 +00:00
cgo_mmap.go runtime, cmd/go: enable memory sanitizer on linux/loong64 2023-08-25 20:58:13 +00:00
cgo_ppc64x.go
cgo_sigaction.go
cgocall.go crypto/subtle: add DIT closure 2024-11-19 16:47:03 +00:00
cgocallback.go
cgocheck.go runtime: get rid of gc programs for types 2024-11-18 20:36:14 +00:00
chan.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
chan_test.go runtime: make select fairness test less picky 2023-10-31 20:47:35 +00:00
chanbarrier_test.go runtime: parallel run test 2024-05-06 17:50:18 +00:00
checkptr.go all: document legacy //go:linkname for modules with ≥20,000 dependents 2024-05-23 00:18:55 +00:00
checkptr_test.go
closure_test.go
compiler.go
complex.go
complex_test.go
conv_wasm_test.go
coro.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
coro_test.go runtime: skip coro cgo test on platforms without cgo 2024-05-17 21:36:37 +00:00
covercounter.go runtime/coverage: remove uses of //go:linkname 2024-05-21 19:41:02 +00:00
covermeta.go internal/coverage/cfile: remove more //go:linkname usage 2024-05-22 09:57:47 +00:00
cpuflags.go cmd/compiler,internal/runtime/atomic: optimize Cas{64,32} on loong64 2024-11-19 01:15:07 +00:00
cpuflags_amd64.go runtime: add ERMS-based memmove support for modern CPU platforms 2024-07-22 21:22:16 +00:00
cpuflags_arm64.go
cpuprof.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
cputicks.go
crash_cgo_test.go runtime: Goexit on C-created thread report more useful error message 2024-09-11 17:05:32 +00:00
crash_test.go internal/trace: refactor how experimental batches are exposed 2025-02-07 12:12:33 -08:00
crash_unix_test.go runtime: don't print "unexpected SPWRITE" when printing traceback 2023-10-12 20:11:47 +00:00
create_file_nounix.go
create_file_unix.go
debug.go runtime: add runtime.debugPinnerV1 2024-05-11 20:38:24 +00:00
debug_test.go all: skip and fix various tests with -asan and -msan 2024-10-28 21:04:51 +00:00
debugcall.go runtime: move getcallersp to internal/runtime/sys 2024-09-17 17:01:20 +00:00
debuglog.go runtime: run debuglog tests when debuglog tag is *not* set 2024-07-30 13:10:59 +00:00
debuglog_off.go runtime: switch debuglog from const-toggled to type-toggled 2024-07-30 13:10:56 +00:00
debuglog_on.go runtime: switch debuglog from const-toggled to type-toggled 2024-07-30 13:10:56 +00:00
debuglog_test.go runtime: make TestDebugLogInterleaving much more robust 2024-07-30 17:16:52 +00:00
defer_test.go runtime: use slices and maps to clean up tests 2024-07-25 00:23:03 +00:00
defs1_linux.go
defs1_netbsd_386.go runtime: utilize EVFILT_USER to wake up kevent for kqueue 2024-04-12 21:17:22 +00:00
defs1_netbsd_amd64.go runtime: utilize EVFILT_USER to wake up kevent for kqueue 2024-04-12 21:17:22 +00:00
defs1_netbsd_arm.go runtime: utilize EVFILT_USER to wake up kevent for kqueue 2024-04-12 21:17:22 +00:00
defs1_netbsd_arm64.go runtime: utilize EVFILT_USER to wake up kevent for kqueue 2024-04-12 21:17:22 +00:00
defs1_solaris_amd64.go runtime: remove unused _F_{GET,SET}FL constants on solaris and openbsd 2023-05-23 19:40:51 +00:00
defs2_linux.go
defs3_linux.go
defs_aix.go runtime: consolidate on a single closeonexec definition 2023-05-20 21:27:51 +00:00
defs_aix_ppc64.go runtime: consolidate on a single closeonexec definition 2023-05-20 21:27:51 +00:00
defs_arm_linux.go
defs_darwin.go runtime: utilize EVFILT_USER to wake up kevent for kqueue 2024-04-12 21:17:22 +00:00
defs_darwin_amd64.go runtime: utilize EVFILT_USER to wake up kevent for kqueue 2024-04-12 21:17:22 +00:00
defs_darwin_arm64.go runtime: utilize EVFILT_USER to wake up kevent for kqueue 2024-04-12 21:17:22 +00:00
defs_dragonfly.go runtime: utilize EVFILT_USER to wake up kevent for kqueue 2024-04-12 21:17:22 +00:00
defs_dragonfly_amd64.go runtime: utilize EVFILT_USER to wake up kevent for kqueue 2024-04-12 21:17:22 +00:00
defs_freebsd.go runtime: utilize EVFILT_USER to wake up kevent for kqueue 2024-04-12 21:17:22 +00:00
defs_freebsd_386.go runtime: utilize EVFILT_USER to wake up kevent for kqueue 2024-04-12 21:17:22 +00:00
defs_freebsd_amd64.go runtime: utilize EVFILT_USER to wake up kevent for kqueue 2024-04-12 21:17:22 +00:00
defs_freebsd_arm.go runtime: utilize EVFILT_USER to wake up kevent for kqueue 2024-04-12 21:17:22 +00:00
defs_freebsd_arm64.go runtime: utilize EVFILT_USER to wake up kevent for kqueue 2024-04-12 21:17:22 +00:00
defs_freebsd_riscv64.go runtime: utilize EVFILT_USER to wake up kevent for kqueue 2024-04-12 21:17:22 +00:00
defs_illumos_amd64.go
defs_linux.go
defs_linux_386.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_amd64.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_arm.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_arm64.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_loong64.go runtime: add padding to Linux kernel structures sigcontext on loong64 2024-08-07 01:13:35 +00:00
defs_linux_mips64x.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_mipsx.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_ppc64.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_ppc64le.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_riscv64.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_s390x.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_netbsd.go runtime: utilize EVFILT_USER to wake up kevent for kqueue 2024-04-12 21:17:22 +00:00
defs_netbsd_386.go
defs_netbsd_amd64.go
defs_netbsd_arm.go
defs_openbsd.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_openbsd_386.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_openbsd_amd64.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_openbsd_arm.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_openbsd_arm64.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_openbsd_mips64.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_openbsd_ppc64.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_openbsd_riscv64.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_plan9_386.go
defs_plan9_amd64.go
defs_plan9_arm.go
defs_solaris.go runtime: remove unused F_{GET,SET}FL cgo constants on solaris and openbsd 2023-08-24 17:47:39 +00:00
defs_solaris_amd64.go
defs_windows.go cmd/internal/osinfo,runtime,syscall: use RtlGetVersion instead of RtlGetNtVersionNumbers 2024-03-21 11:49:46 +00:00
defs_windows_386.go runtime: support SetUnhandledExceptionFilter on Windows 2023-10-05 08:26:52 +00:00
defs_windows_amd64.go runtime: support SetUnhandledExceptionFilter on Windows 2023-10-05 08:26:52 +00:00
defs_windows_arm.go runtime: support SetUnhandledExceptionFilter on Windows 2023-10-05 08:26:52 +00:00
defs_windows_arm64.go runtime: support SetUnhandledExceptionFilter on Windows 2023-10-05 08:26:52 +00:00
duff_386.s
duff_amd64.s
duff_arm.s
duff_arm64.s
duff_loong64.s runtime: make duff device as ABIInternal for loong64 2023-11-21 19:04:21 +00:00
duff_mips64x.s
duff_ppc64x.s
duff_riscv64.s
duff_s390x.s
ehooks_test.go internal/runtime/exithook: make safe for concurrent os.Exit 2024-05-24 16:41:13 +00:00
env_plan9.go
env_posix.go all: document legacy //go:linkname for modules with ≥2,000 dependents 2024-05-23 01:16:47 +00:00
env_test.go
error.go runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00
example_test.go runtime: make Frames example produce documented output 2024-11-14 15:25:17 +00:00
export_aix_test.go runtime: consistently define fcntl 2023-05-17 04:58:07 +00:00
export_arm_test.go
export_darwin_test.go runtime: consistently define fcntl 2023-05-17 04:58:07 +00:00
export_debug_amd64_test.go
export_debug_arm64_test.go
export_debug_loong64_test.go runtime: add debug call injection support on loong64 2024-08-02 14:38:24 +00:00
export_debug_ppc64le_test.go runtime: gofmt -w -s 2023-11-17 15:33:38 +00:00
export_debug_test.go runtime: add debug call injection support on loong64 2024-08-02 14:38:24 +00:00
export_debuglog_test.go runtime: make TestDebugLogInterleaving much more robust 2024-07-30 17:16:52 +00:00
export_linux_test.go runtime: remove runtime.Add testing function 2023-08-21 20:20:01 +00:00
export_map_noswiss_test.go all: wire up swisstable maps 2024-10-14 19:58:47 +00:00
export_map_swiss_test.go all: wire up swisstable maps 2024-10-14 19:58:47 +00:00
export_mmap_test.go
export_pipe2_test.go
export_pipe_test.go
export_test.go all: fix some function names and typos in comment 2024-11-21 22:16:20 +00:00
export_unix_test.go runtime: consolidate on a single closeonexec definition 2023-05-20 21:27:51 +00:00
export_windows_test.go runtime: move getcallersp to internal/runtime/sys 2024-09-17 17:01:20 +00:00
extern.go runtime: document that Caller and Frame.File always use forward slashes 2024-10-25 16:18:18 +00:00
fastlog2.go
fastlog2_test.go
fastlog2table.go
fds_nonunix.go runtime: enforce standard file descriptors open on init on unix 2023-07-25 16:33:33 +00:00
fds_test.go runtime: enforce standard file descriptors open on init on unix 2023-07-25 16:33:33 +00:00
fds_unix.go runtime: call miniterrno on m0 on AIX and Solaris 2023-07-27 22:20:25 +00:00
float.go
float_test.go
funcdata.h cmd/internal/obj: tweak implicit {ArgsPointerMaps,ArgInfo} behavior 2023-08-29 18:28:09 +00:00
gc_test.go runtime: usleep in TestWeakToStrongMarkTermination 2024-12-16 08:57:31 -08:00
gcinfo_test.go runtime: get rid of gc programs for types 2024-11-18 20:36:14 +00:00
go_tls.h
hash32.go
hash64.go runtime,internal: move runtime/internal/math to internal/runtime/math 2024-07-23 19:05:16 +00:00
hash_test.go runtime: parallel run test 2024-05-06 17:50:18 +00:00
heap_test.go runtime: change heapObjectsCanMove to a func 2023-05-25 18:35:49 +00:00
heapdump.go runtime: use .Pointers() instead of .PtrBytes != 0 2024-08-16 14:47:36 +00:00
histogram.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
histogram_test.go
iface.go runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00
iface_test.go
import_test.go runtime: ignore SPWrite on innermost traceback frame 2023-09-06 14:45:46 +00:00
importx_test.go
ints.s runtime, reflect: avoid allocation in structType.Field common cases 2024-09-10 22:38:30 +00:00
lfstack.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
lfstack_test.go
libfuzzer.go
libfuzzer_amd64.s
libfuzzer_arm64.s
linkname.go cmd/cgo: enable #cgo noescape/nocallback 2024-08-16 23:44:54 +00:00
linkname_swiss.go runtime: mapiter linkname compatibility layer 2025-01-28 11:10:41 -08:00
linkname_unix.go cmd/link: disallow pull-only linknames 2024-05-15 19:57:43 +00:00
lock_futex.go runtime: allow futex OSes to use sema-based mutex 2024-11-15 21:15:59 +00:00
lock_futex_tristate.go runtime: unify lock2, allow deeper sleep 2024-11-15 21:16:04 +00:00
lock_js.go runtime: unify lock2, allow deeper sleep 2024-11-15 21:16:04 +00:00
lock_sema.go runtime: unify lock2, allow deeper sleep 2024-11-15 21:16:04 +00:00
lock_sema_tristate.go runtime: unify lock2, allow deeper sleep 2024-11-15 21:16:04 +00:00
lock_spinbit.go runtime: clean up new lock2 structure 2024-11-20 23:27:49 +00:00
lock_wasip1.go runtime: unify lock2, allow deeper sleep 2024-11-15 21:16:04 +00:00
lockrank.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
lockrank_off.go runtime: mark lockWithRankMayAcquire as nosplit 2024-07-19 19:51:57 +00:00
lockrank_on.go runtime: always acquire M when acquiring locks by rank 2024-04-22 14:29:04 +00:00
lockrank_test.go runtime: log stderr in TestLockRankGenerated on failure 2023-08-29 20:57:33 +00:00
malloc.go runtime: fix GODEBUG=gccheckmark=1 and add smoke test 2025-02-03 08:21:09 -08:00
malloc_test.go all: skip and fix various tests with -asan and -msan 2024-10-28 21:04:51 +00:00
map_benchmark_test.go runtime: fix MapCycle test 2024-11-18 18:27:41 +00:00
map_fast32_noswiss.go runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00
map_fast32_swiss.go runtime,internal/runtime/maps: specialized swissmaps 2024-10-30 15:14:31 +00:00
map_fast64_noswiss.go runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00
map_fast64_swiss.go runtime,internal/runtime/maps: specialized swissmaps 2024-10-30 15:14:31 +00:00
map_faststr_noswiss.go runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00
map_faststr_swiss.go runtime,internal/runtime/maps: specialized swissmaps 2024-10-30 15:14:31 +00:00
map_noswiss.go runtime: fix iterator returns map entries after clear (pre-swissmap) 2024-11-12 21:08:08 +00:00
map_noswiss_test.go runtime: fix iterator returns map entries after clear (pre-swissmap) 2024-11-12 21:08:08 +00:00
map_swiss.go runtime: mapiter linkname compatibility layer 2025-01-28 11:10:41 -08:00
map_swiss_test.go internal/runtime/maps: remove type fields 2024-10-29 18:54:17 +00:00
map_test.go internal/runtime/maps: re-enable some tests 2025-01-14 09:55:06 -08:00
mbarrier.go all: fix some function names and typos in comment 2024-11-21 22:16:20 +00:00
mbitmap.go runtime: get rid of gc programs for types 2024-11-18 20:36:14 +00:00
mcache.go runtime: simplify mem profile checking in mallocgc 2024-10-21 15:46:39 +00:00
mcentral.go runtime: optimize 8-byte allocation pointer data writing 2024-10-21 14:47:08 +00:00
mcheckmark.go runtime: fix GODEBUG=gccheckmark=1 and add smoke test 2025-02-03 08:21:09 -08:00
mcleanup.go runtime: fix the equality check in AddCleanup 2025-01-22 09:26:33 -08:00
mcleanup_test.go runtime: fix the equality check in AddCleanup 2025-01-22 09:26:33 -08:00
mem.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
mem_aix.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
mem_bsd.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
mem_darwin.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
mem_js.go
mem_linux.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
mem_nonsbrk.go runtime: reserve fewer memory for aligned reservation on sbrk systems 2024-10-25 17:13:47 +00:00
mem_plan9.go
mem_sbrk.go runtime: reserve fewer memory for aligned reservation on sbrk systems 2024-10-25 17:13:47 +00:00
mem_wasip1.go
mem_wasm.go runtime: (re)use unused linear memory on Wasm 2024-10-21 21:52:53 +00:00
mem_windows.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
memclr_386.s
memclr_amd64.s
memclr_arm.s
memclr_arm64.s runtime: memclrNoHeapPointers optimization for block alignment 2024-10-03 21:06:16 +00:00
memclr_loong64.s runtime: optimize the function memclrNoHeapPointers on loong64 2024-09-05 00:41:13 +00:00
memclr_mips64x.s
memclr_mipsx.s
memclr_plan9_386.s
memclr_plan9_amd64.s
memclr_ppc64x.s cmd/internal/obj/ppc64: support for extended mnemonics of BC 2024-10-29 13:14:38 +00:00
memclr_riscv64.s all: clean up addition of constants in riscv64 assembly 2023-11-09 13:57:06 +00:00
memclr_s390x.s
memclr_wasm.s
memmove_386.s
memmove_amd64.s runtime: add ERMS-based memmove support for modern CPU platforms 2024-07-22 21:22:16 +00:00
memmove_arm.s
memmove_arm64.s
memmove_linux_amd64_test.go runtime: skip TestMemmoveOverflow with asan 2024-10-29 22:12:53 +00:00
memmove_loong64.s runtime: optimize the function memmove on loong64 2024-09-11 21:43:27 +00:00
memmove_mips64x.s
memmove_mipsx.s
memmove_plan9_386.s
memmove_plan9_amd64.s
memmove_ppc64x.s cmd/internal/obj/ppc64: support for extended mnemonics of BC 2024-10-29 13:14:38 +00:00
memmove_riscv64.s all: clean up addition of constants in riscv64 assembly 2023-11-09 13:57:06 +00:00
memmove_s390x.s
memmove_test.go runtime: make use of builtin clear in tests 2024-03-29 16:41:12 +00:00
memmove_wasm.s
metrics.go runtime: move GC pause time CPU metrics update into the STW 2024-04-08 21:03:13 +00:00
metrics_test.go runtime: use slices and maps to clean up tests 2024-07-25 00:23:03 +00:00
mfinal.go runtime: improve AddCleanup documentation 2024-12-07 02:32:07 +00:00
mfinal_test.go all: skip and fix various tests with -asan and -msan 2024-10-28 21:04:51 +00:00
mfixalloc.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
mgc.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
mgclimit.go runtime: reduced struct sizes found via pahole 2024-04-22 22:07:41 +00:00
mgclimit_test.go
mgcmark.go runtime: fix GODEBUG=gccheckmark=1 and add smoke test 2025-02-03 08:21:09 -08:00
mgcpacer.go runtime: avoid futile mark worker acquisition 2024-08-01 21:11:15 +00:00
mgcpacer_test.go runtime: make the memory limit heap goal headroom proportional 2023-05-19 13:53:21 +00:00
mgcscavenge.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
mgcscavenge_test.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
mgcstack.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
mgcsweep.go weak: move internal/weak to weak, and update according to proposal 2024-11-18 22:29:23 +00:00
mgcwork.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
mheap.go runtime: fix GODEBUG=gccheckmark=1 and add smoke test 2025-02-03 08:21:09 -08:00
minmax.go cmd/compile: implement min/max builtins 2023-05-23 18:15:22 +00:00
minmax_test.go cmd/compile: implement float min/max in hardware for riscv64 2024-01-26 01:41:50 +00:00
mkduff.go runtime: make duff device as ABIInternal for loong64 2023-11-21 19:04:21 +00:00
mkfastlog2table.go
mklockrank.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
mkpreempt.go runtime: remove VZEROUPPER in asyncPreempt on darwin/amd64 2024-07-23 17:16:29 +00:00
mksizeclasses.go runtime: write out a batch with alignment info for traceallocfree 2024-05-22 20:31:27 +00:00
mmap.go runtime, cmd/go: enable memory sanitizer on linux/loong64 2023-08-25 20:58:13 +00:00
mpagealloc.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
mpagealloc_32bit.go
mpagealloc_64bit.go runtime: correct scavengeIndex.sysGrow min index handling 2024-01-03 11:00:10 +00:00
mpagealloc_test.go
mpagecache.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
mpagecache_test.go
mpallocbits.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
mpallocbits_test.go
mprof.go internal/sync: move sync.Mutex implementation into new package 2024-11-18 19:57:35 +00:00
mranges.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
mranges_test.go
msan.go internal/msan: add new package 2024-02-20 20:50:21 +00:00
msan0.go
msan_amd64.s runtime: fix tests when running with -msan 2024-01-09 01:36:54 +00:00
msan_arm64.s runtime: fix tests when running with -msan 2024-01-09 01:36:54 +00:00
msan_loong64.s runtime: fix tests when running with -msan 2024-01-09 01:36:54 +00:00
msize.go runtime: remove the allocheaders GOEXPERIMENT 2024-04-09 04:07:57 +00:00
mspanset.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
mstats.go runtime: move GC pause time CPU metrics update into the STW 2024-04-08 21:03:13 +00:00
mwbbuf.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
nbpipe_pipe.go
nbpipe_pipe2.go
nbpipe_pipe_test.go
nbpipe_test.go runtime: change fcntl to return two values 2023-05-20 20:32:54 +00:00
net_plan9.go
netpoll.go runtime: revise the documentation comments for netpoll 2024-10-21 13:40:40 +00:00
netpoll_aix.go runtime: revise the documentation comments for netpoll 2024-10-21 13:40:40 +00:00
netpoll_epoll.go runtime: revise the documentation comments for netpoll 2024-10-21 13:40:40 +00:00
netpoll_fake.go runtime: adjust netpollWaiters after goroutines are ready 2023-07-20 15:45:57 +00:00
netpoll_kqueue.go runtime: utilize EVFILT_USER more effectively 2024-11-21 16:24:21 +00:00
netpoll_kqueue_event.go runtime: utilize EVFILT_USER more effectively 2024-11-21 16:24:21 +00:00
netpoll_kqueue_pipe.go runtime: utilize EVFILT_USER more effectively 2024-11-21 16:24:21 +00:00
netpoll_os_test.go all: add missing copyright header 2023-11-17 23:34:11 +00:00
netpoll_solaris.go runtime: revise the documentation comments for netpoll 2024-10-21 13:40:40 +00:00
netpoll_stub.go runtime: revise the documentation comments for netpoll 2024-10-21 13:40:40 +00:00
netpoll_wasip1.go runtime, syscall: use pointer types on wasmimport functions 2024-11-11 21:33:33 +00:00
netpoll_windows.go runtime: revise the documentation comments for netpoll 2024-10-21 13:40:40 +00:00
nonwindows_stub.go runtime: don't call lockOSThread for every syscall call on Windows 2024-03-26 03:12:13 +00:00
norace_test.go
nosan_linux_test.go runtime: skip TestNewOSProc0 with asan and msan 2024-10-29 16:24:08 +00:00
note_js.go runtime: don't use maps in js note implementation 2024-08-01 19:13:58 +00:00
note_other.go runtime: don't use maps in js note implementation 2024-08-01 19:13:58 +00:00
numcpu_freebsd_test.go
os2_aix.go runtime: move getcallersp to internal/runtime/sys 2024-09-17 17:01:20 +00:00
os2_freebsd.go
os2_openbsd.go
os2_plan9.go
os2_solaris.go
os3_plan9.go runtime: make use of stringslite.{HasPrefix, HasSuffix} 2024-05-17 15:41:45 +00:00
os3_solaris.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
os_aix.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
os_android.go
os_darwin.go runtime: use arc4random_buf() for readRandom 2024-10-07 15:34:53 +00:00
os_darwin_arm64.go math/rand, math/rand/v2: use ChaCha8 for global rand 2023-12-05 20:34:30 +00:00
os_dragonfly.go runtime: allow futex OSes to use sema-based mutex 2024-11-15 21:15:59 +00:00
os_freebsd.go runtime: allow futex OSes to use sema-based mutex 2024-11-15 21:15:59 +00:00
os_freebsd2.go
os_freebsd_amd64.go
os_freebsd_arm.go math/rand, math/rand/v2: use ChaCha8 for global rand 2023-12-05 20:34:30 +00:00
os_freebsd_arm64.go math/rand, math/rand/v2: use ChaCha8 for global rand 2023-12-05 20:34:30 +00:00
os_freebsd_noauxv.go
os_freebsd_riscv64.go
os_illumos.go
os_js.go math/rand, math/rand/v2: use ChaCha8 for global rand 2023-12-05 20:34:30 +00:00
os_linux.go runtime: allow futex OSes to use sema-based mutex 2024-11-15 21:15:59 +00:00
os_linux_arm.go math/rand, math/rand/v2: use ChaCha8 for global rand 2023-12-05 20:34:30 +00:00
os_linux_arm64.go math/rand, math/rand/v2: use ChaCha8 for global rand 2023-12-05 20:34:30 +00:00
os_linux_be64.go
os_linux_generic.go
os_linux_loong64.go internal/cpu, runtime: make linux/loong64 HWCAP data available 2024-08-29 09:15:06 +00:00
os_linux_mips64x.go math/rand, math/rand/v2: use ChaCha8 for global rand 2023-12-05 20:34:30 +00:00
os_linux_mipsx.go math/rand, math/rand/v2: use ChaCha8 for global rand 2023-12-05 20:34:30 +00:00
os_linux_noauxv.go
os_linux_novdso.go
os_linux_ppc64x.go
os_linux_riscv64.go cpu/internal: provide runtime detection of RISC-V extensions on Linux 2025-02-05 03:47:25 -08:00
os_linux_s390x.go runtime: handle SIGPE exception for p256 crypto package on s390x 2023-08-01 17:36:28 +00:00
os_linux_x86.go
os_netbsd.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
os_netbsd_386.go
os_netbsd_amd64.go
os_netbsd_arm.go math/rand, math/rand/v2: use ChaCha8 for global rand 2023-12-05 20:34:30 +00:00
os_netbsd_arm64.go math/rand, math/rand/v2: use ChaCha8 for global rand 2023-12-05 20:34:30 +00:00
os_nonopenbsd.go
os_only_solaris.go
os_openbsd.go runtime: overwrite startupRand instead of clearing it 2024-10-07 15:35:02 +00:00
os_openbsd_arm.go math/rand, math/rand/v2: use ChaCha8 for global rand 2023-12-05 20:34:30 +00:00
os_openbsd_arm64.go math/rand, math/rand/v2: use ChaCha8 for global rand 2023-12-05 20:34:30 +00:00
os_openbsd_libc.go
os_openbsd_mips64.go math/rand, math/rand/v2: use ChaCha8 for global rand 2023-12-05 20:34:30 +00:00
os_openbsd_syscall.go
os_openbsd_syscall1.go
os_openbsd_syscall2.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
os_plan9.go runtime: make use of stringslite.{HasPrefix, HasSuffix} 2024-05-17 15:41:45 +00:00
os_plan9_arm.go math/rand, math/rand/v2: use ChaCha8 for global rand 2023-12-05 20:34:30 +00:00
os_solaris.go runtime: move getcallersp to internal/runtime/sys 2024-09-17 17:01:20 +00:00
os_unix.go runtime: consolidate on a single closeonexec definition 2023-05-20 21:27:51 +00:00
os_unix_nonlinux.go os: ignore SIGSYS in checkPidfd 2024-09-26 13:17:09 +00:00
os_wasip1.go runtime, syscall: use pointer types on wasmimport functions 2024-11-11 21:33:33 +00:00
os_wasm.go runtime: (re)use unused linear memory on Wasm 2024-10-21 21:52:53 +00:00
os_windows.go runtime: move getcallersp to internal/runtime/sys 2024-09-17 17:01:20 +00:00
os_windows_arm.go
os_windows_arm64.go
panic.go runtime: don't duplicate reraised panic values in printpanics 2025-02-06 12:02:14 -08:00
panic32.go runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00
panic_test.go runtime: properly frame panic values in tracebacks 2024-05-08 19:10:41 +00:00
panicnil_test.go
pinner.go runtime: make special offset a uintptr 2024-12-09 21:38:18 +00:00
pinner_test.go runtime: silently allow pinning of non-Go pointers in runtime.Pinner.Pin 2023-09-13 18:36:12 +00:00
plugin.go all: use kind* of abi 2024-04-02 15:10:48 +00:00
preempt.go runtime: make use of stringslite.{HasPrefix, HasSuffix} 2024-05-17 15:41:45 +00:00
preempt_386.s
preempt_amd64.s runtime: remove VZEROUPPER in asyncPreempt on darwin/amd64 2024-07-23 17:16:29 +00:00
preempt_arm.s all: add floating point option for ARM targets 2023-11-20 17:19:36 +00:00
preempt_arm64.s
preempt_loong64.s
preempt_mips64x.s
preempt_mipsx.s
preempt_nonwindows.go
preempt_ppc64x.s
preempt_riscv64.s all: clean up addition of constants in riscv64 assembly 2023-11-09 13:57:06 +00:00
preempt_s390x.s
preempt_wasm.s
print.go
proc.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
proc_runtime_test.go
proc_test.go Revert "runtime: Goexit on C-created thread report more useful error message" 2024-09-10 23:32:53 +00:00
profbuf.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
profbuf_test.go runtime: use slices and maps to clean up tests 2024-07-25 00:23:03 +00:00
proflabel.go runtime: remove datadog-agent from prof labels hall of shame 2024-12-09 18:41:45 +00:00
race.go internal/runtime/maps: enable race for map functions in internal/runtime/maps 2024-10-30 14:59:34 +00:00
race0.go
race_amd64.s runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00
race_arm64.s sync/atomic: public And/Or ops and race instrumentation 2024-05-17 18:37:29 +00:00
race_ppc64le.s sync/atomic: public And/Or ops and race instrumentation 2024-05-17 18:37:29 +00:00
race_s390x.s sync/atomic: public And/Or ops and race instrumentation 2024-05-17 18:37:29 +00:00
rand.go internal/byteorder: use canonical Go casing in names 2024-11-20 20:59:28 +00:00
rand_test.go runtime: put runtime.fastrand back temporarily 2023-12-07 23:44:31 +00:00
rdebug.go
retry.go
rt0_aix_ppc64.s runtime: on AIX, fix call to _cgo_sys_thread_create in _rt0_ppc64_aix_lib 2024-08-20 13:01:47 +00:00
rt0_android_386.s
rt0_android_amd64.s
rt0_android_arm.s
rt0_android_arm64.s
rt0_darwin_amd64.s
rt0_darwin_arm64.s
rt0_dragonfly_amd64.s
rt0_freebsd_386.s
rt0_freebsd_amd64.s
rt0_freebsd_arm.s
rt0_freebsd_arm64.s
rt0_freebsd_riscv64.s
rt0_illumos_amd64.s
rt0_ios_amd64.s
rt0_ios_arm64.s
rt0_js_wasm.s cmd/link, runtime: support library mode on wasip1 2024-08-13 21:27:50 +00:00
rt0_linux_386.s
rt0_linux_amd64.s
rt0_linux_arm.s
rt0_linux_arm64.s
rt0_linux_loong64.s
rt0_linux_mips64x.s
rt0_linux_mipsx.s
rt0_linux_ppc64.s
rt0_linux_ppc64le.s all: convert PPC64 CMPx ...,R0,... to CMPx Rx,$0 2024-05-22 18:17:17 +00:00
rt0_linux_riscv64.s
rt0_linux_s390x.s
rt0_netbsd_386.s
rt0_netbsd_amd64.s
rt0_netbsd_arm.s
rt0_netbsd_arm64.s
rt0_openbsd_386.s
rt0_openbsd_amd64.s
rt0_openbsd_arm.s
rt0_openbsd_arm64.s
rt0_openbsd_mips64.s
rt0_openbsd_ppc64.s runtime: add support for openbsd/ppc64 2023-08-22 02:48:11 +00:00
rt0_openbsd_riscv64.s runtime: add runtime support for openbsd/riscv64 port 2023-10-04 02:55:17 +00:00
rt0_plan9_386.s
rt0_plan9_amd64.s
rt0_plan9_arm.s
rt0_solaris_amd64.s
rt0_wasip1_wasm.s cmd/link, runtime: support library mode on wasip1 2024-08-13 21:27:50 +00:00
rt0_windows_386.s
rt0_windows_amd64.s runtime: ensure stack is aligned in _rt0_amd64_windows_lib 2023-07-19 11:55:15 +00:00
rt0_windows_arm.s
rt0_windows_arm64.s
runtime-gdb.py internal/runtime/maps: small maps point directly to a group 2024-10-28 20:35:25 +00:00
runtime-gdb_test.go internal/runtime/maps: small maps point directly to a group 2024-10-28 20:35:25 +00:00
runtime-gdb_unix_test.go runtime: mark TestGdbCoreCrashThreadBacktrace as flaky 2024-01-17 19:05:30 +00:00
runtime-lldb_test.go cmd: remove support for GOROOT_FINAL 2024-02-21 22:16:54 +00:00
runtime-seh_windows_test.go runtime: refactor defer processing 2023-07-31 16:52:06 +00:00
runtime.go runtime: adjust comments for auxv getAuxv 2025-02-05 09:41:51 -08:00
runtime1.go runtime: fix GODEBUG=gccheckmark=1 and add smoke test 2025-02-03 08:21:09 -08:00
runtime2.go runtime: don't duplicate reraised panic values in printpanics 2025-02-06 12:02:14 -08:00
runtime_boring.go
runtime_linux_test.go runtime: remove runtime.Add testing function 2023-08-21 20:20:01 +00:00
runtime_mmap_test.go
runtime_test.go runtime: add test for mutex starvation 2024-11-14 22:05:16 +00:00
runtime_unix_test.go
rwmutex.go runtime: always acquire M when acquiring locks by rank 2024-04-22 14:29:04 +00:00
rwmutex_test.go runtime: properly model rwmutex in lock ranking 2023-12-15 22:00:45 +00:00
security_aix.go runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
security_issetugid.go runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
security_linux.go runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
security_nonunix.go runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
security_test.go runtime: Use doas -n in TestSUID on OpenBSD 2023-06-13 18:10:14 +00:00
security_unix.go runtime: make use of stringslite.{HasPrefix, HasSuffix} 2024-05-17 15:41:45 +00:00
select.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
sema.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
sema_test.go
semasleep_test.go runtime: make TestSpuriousWakeupsNeverHangSemasleep more robust 2025-02-12 08:23:26 -08:00
sigaction.go
signal_386.go
signal_aix_ppc64.go all: fix copyright headers 2023-12-15 21:57:36 +00:00
signal_amd64.go
signal_arm.go
signal_arm64.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
signal_darwin.go
signal_darwin_amd64.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_freebsd_arm64.go runtime: unify the method signature for *sigctxt.fault 2023-09-20 18:20:42 +00:00
signal_freebsd_riscv64.go
signal_linux_386.go
signal_linux_amd64.go
signal_linux_arm.go
signal_linux_arm64.go
signal_linux_loong64.go
signal_linux_mips64x.go
signal_linux_mipsx.go
signal_linux_ppc64x.go runtime: support for debugger function calls on linux/ppc64le 2023-09-08 15:08:04 +00:00
signal_linux_riscv64.go
signal_linux_s390x.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
signal_loong64.go runtime: add debug call injection support on loong64 2024-08-02 14:38:24 +00:00
signal_mips64x.go
signal_mipsx.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
signal_netbsd.go
signal_netbsd_386.go
signal_netbsd_amd64.go
signal_netbsd_arm.go
signal_netbsd_arm64.go
signal_openbsd.go
signal_openbsd_386.go
signal_openbsd_amd64.go
signal_openbsd_arm.go
signal_openbsd_arm64.go runtime: unify the method signature for *sigctxt.fault 2023-09-20 18:20:42 +00:00
signal_openbsd_mips64.go
signal_openbsd_ppc64.go runtime: add support for openbsd/ppc64 2023-08-22 02:48:11 +00:00
signal_openbsd_riscv64.go runtime: add runtime support for openbsd/riscv64 port 2023-10-04 02:55:17 +00:00
signal_plan9.go
signal_ppc64x.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
signal_riscv64.go runtime: add runtime support for openbsd/riscv64 port 2023-10-04 02:55:17 +00:00
signal_solaris.go
signal_solaris_amd64.go
signal_unix.go runtime: use indirect call in adjustSignalStack to avoid nosplit overflow 2024-11-19 19:40:27 +00:00
signal_windows.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
signal_windows_test.go runtime: support SetUnhandledExceptionFilter on Windows 2023-10-05 08:26:52 +00:00
sigqueue.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
sigqueue_note.go
sigqueue_plan9.go
sigtab_aix.go
sigtab_linux_generic.go
sigtab_linux_mipsx.go
sizeclasses.go runtime: write out a batch with alignment info for traceallocfree 2024-05-22 20:31:27 +00:00
sizeof_test.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
slice.go runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00
slice_test.go
softfloat64.go
softfloat64_test.go
stack.go cmd/compile: remove gc programs from stack frame objects 2024-11-18 18:43:25 +00:00
stack_test.go all: fix spelling errors 2023-06-14 00:03:57 +00:00
start_line_amd64_test.go
start_line_test.go
stkframe.go runtime: get rid of gc programs for types 2024-11-18 20:36:14 +00:00
string.go strings,bytes: use result of copy in subsequent slicing 2024-10-29 16:47:05 +00:00
string_test.go
stubs.go runtime: get rid of gc programs for types 2024-11-18 20:36:14 +00:00
stubs2.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
stubs3.go
stubs_386.go runtime: rename getcallerfp to getfp 2023-05-22 10:04:13 +00:00
stubs_amd64.go runtime: support SetUnhandledExceptionFilter on Windows 2023-10-05 08:26:52 +00:00
stubs_arm.go runtime: rename getcallerfp to getfp 2023-05-22 10:04:13 +00:00
stubs_arm64.go runtime: rename getcallerfp to getfp 2023-05-22 10:04:13 +00:00
stubs_linux.go
stubs_loong64.go runtime: support regABI and add spill functions in runtime for loong64 2023-11-21 19:04:23 +00:00
stubs_mips64x.go runtime: rename getcallerfp to getfp 2023-05-22 10:04:13 +00:00
stubs_mipsx.go runtime: rename getcallerfp to getfp 2023-05-22 10:04:13 +00:00
stubs_nonlinux.go
stubs_nonwasm.go cmd/link, runtime: support library mode on wasip1 2024-08-13 21:27:50 +00:00
stubs_ppc64.go
stubs_ppc64x.go runtime: add support for openbsd/ppc64 2023-08-22 02:48:11 +00:00
stubs_riscv64.go runtime: add runtime support for openbsd/riscv64 port 2023-10-04 02:55:17 +00:00
stubs_s390x.go runtime: rename getcallerfp to getfp 2023-05-22 10:04:13 +00:00
stubs_wasm.go runtime: move getcallersp to internal/runtime/sys 2024-09-17 17:01:20 +00:00
symtab.go cmd/link, runtime: apply a delta to RODATA->DATA relocations 2024-12-23 09:49:40 -08:00
symtab_test.go
symtabinl.go all: document legacy //go:linkname for modules with ≥100 dependents 2024-05-29 16:25:21 +00:00
symtabinl_test.go cmd/compile: don't treat an InlMark as a read during deadstore 2024-07-23 20:55:24 +00:00
synctest.go runtime: establish happens-before between goroutine and bubble exit 2025-02-10 10:48:27 -08:00
synctest_test.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
sys_aix_ppc64.s
sys_arm.go
sys_arm64.go
sys_darwin.go runtime: use arc4random_buf() for readRandom 2024-10-07 15:34:53 +00:00
sys_darwin_amd64.s runtime: use arc4random_buf() for readRandom 2024-10-07 15:34:53 +00:00
sys_darwin_arm64.go
sys_darwin_arm64.s runtime: use arc4random_buf() for readRandom 2024-10-07 15:34:53 +00:00
sys_dragonfly_amd64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_freebsd_386.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_freebsd_amd64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_freebsd_arm.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_freebsd_arm64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_freebsd_riscv64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_libc.go runtime: move getcallersp to internal/runtime/sys 2024-09-17 17:01:20 +00:00
sys_linux_386.s
sys_linux_amd64.s runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
sys_linux_arm.s
sys_linux_arm64.s runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
sys_linux_loong64.s runtime: use ABIInternal for calls to sigtrampgo on linux/loong64 2024-11-16 01:19:48 +00:00
sys_linux_mips64x.s
sys_linux_mipsx.s
sys_linux_ppc64x.s runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
sys_linux_riscv64.s runtime: using ABIInternal on syscall for riscv64 2024-11-25 02:23:41 +00:00
sys_linux_s390x.s runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
sys_loong64.go
sys_mips64x.go
sys_mipsx.go
sys_netbsd_386.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_netbsd_amd64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_netbsd_arm.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_netbsd_arm64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_nonppc64x.go
sys_openbsd.go
sys_openbsd1.go
sys_openbsd2.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
sys_openbsd3.go all: document legacy //go:linkname for modules with ≥100,000 dependents 2024-05-22 20:12:46 +00:00
sys_openbsd_386.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_openbsd_amd64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_openbsd_arm.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_openbsd_arm64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_openbsd_mips64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_openbsd_ppc64.s runtime: add support for openbsd/ppc64 2023-08-22 02:48:11 +00:00
sys_openbsd_riscv64.s runtime: add runtime support for openbsd/riscv64 port 2023-10-04 02:55:17 +00:00
sys_plan9_386.s
sys_plan9_amd64.s
sys_plan9_arm.s
sys_ppc64x.go
sys_riscv64.go
sys_s390x.go
sys_solaris_amd64.s
sys_wasm.go cmd/internal/obj/wasm, runtime: detect wasmexport call before runtime initialization 2025-01-16 12:14:23 -08:00
sys_wasm.s runtime: (re)use unused linear memory on Wasm 2024-10-21 21:52:53 +00:00
sys_windows_386.s runtime: implement usleep in Go instead of assembly on Windows 2023-09-21 15:56:43 +00:00
sys_windows_amd64.s runtime: use the right number of parameters in syscall_SyscallX on Windows 2024-02-19 07:24:08 +00:00
sys_windows_arm.s runtime: fix nanotime1 on windows/arm 2024-08-22 17:12:38 +00:00
sys_windows_arm64.s runtime: implement usleep in Go instead of assembly on Windows 2023-09-21 15:56:43 +00:00
sys_x86.go
syscall2_solaris.go runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
syscall_aix.go all: remove newline characters after return statements 2023-12-14 17:22:18 +00:00
syscall_solaris.go runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
syscall_unix_test.go
syscall_windows.go runtime: reduce syscall.SyscallX stack usage 2024-10-11 17:16:18 +00:00
syscall_windows_test.go runtime: relax TestWindowsStackMemory from 100kB to 128kB 2024-11-18 02:08:17 +00:00
tagptr.go
tagptr_32bit.go
tagptr_64bit.go
test_amd64.go runtime: ignore SPWrite on innermost traceback frame 2023-09-06 14:45:46 +00:00
test_amd64.s all: add missing copyright header 2023-11-17 23:34:11 +00:00
test_stubs.go runtime: ignore SPWrite on innermost traceback frame 2023-09-06 14:45:46 +00:00
textflag.h
time.go runtime: avoid panic in expired synctest timer chan read 2024-12-10 19:51:25 +00:00
time_fake.go all: document legacy //go:linkname for modules with ≥5,000 dependents 2024-05-23 01:15:13 +00:00
time_linux_amd64.s internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
time_nofake.go all: document legacy //go:linkname for modules with ≥200 dependents 2024-05-23 01:17:26 +00:00
time_test.go time: move runtimeTimer out of Timer struct 2024-03-09 03:40:04 +00:00
time_windows.h
time_windows_386.s runtime: remove slow time compatibility hacks for wine 2023-09-07 17:19:45 +00:00
time_windows_amd64.s runtime: remove slow time compatibility hacks for wine 2023-09-07 17:19:45 +00:00
time_windows_arm.s runtime: remove slow time compatibility hacks for wine 2023-09-07 17:19:45 +00:00
time_windows_arm64.s runtime: remove slow time compatibility hacks for wine 2023-09-07 17:19:45 +00:00
timeasm.go
timestub.go all: document legacy //go:linkname for modules with ≥100 dependents 2024-05-29 16:25:21 +00:00
timestub2.go
tls_arm.s
tls_arm64.h
tls_arm64.s
tls_loong64.s
tls_mips64x.s
tls_mipsx.s
tls_ppc64x.s runtime: add support for openbsd/ppc64 2023-08-22 02:48:11 +00:00
tls_riscv64.s runtime: add runtime support for openbsd/riscv64 port 2023-10-04 02:55:17 +00:00
tls_s390x.s
tls_stub.go
tls_windows_amd64.go
trace.go runtime: allow experimental trace batches to be reused 2024-07-26 18:46:28 +00:00
trace2map_test.go runtime: rewrite traceMap to scale better 2024-04-10 18:52:49 +00:00
trace_cgo_test.go cmd/trace,internal/trace,runtime: refactor to access frames via range over func 2024-09-23 15:02:42 +00:00
traceallocfree.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
traceback.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
traceback_system_test.go all: run gofmt 2025-02-03 09:55:31 -08:00
traceback_test.go all: remove newline characters after return statements 2023-12-14 17:22:18 +00:00
tracebackx_test.go runtime: ignore SPWrite on innermost traceback frame 2023-09-06 14:45:46 +00:00
tracebuf.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
tracecpu.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
traceevent.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
tracemap.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
traceregion.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
traceruntime.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
tracestack.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
tracestatus.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
tracestring.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
tracetime.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
tracetype.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
type.go cmd/link, runtime: apply a delta to RODATA->DATA relocations 2024-12-23 09:49:40 -08:00
typekind.go all: use kind* of abi 2024-04-02 15:10:48 +00:00
unsafe.go runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00
unsafepoint_test.go runtime: test that write barriers are correctly marked unpreemptible 2023-08-11 20:24:56 +00:00
utf8.go
vdso_elf32.go
vdso_elf64.go
vdso_freebsd.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
vdso_freebsd_arm.go
vdso_freebsd_arm64.go
vdso_freebsd_riscv64.go
vdso_freebsd_x86.go runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
vdso_in_none.go
vdso_linux.go runtime: properly compute whether PC is inside vDSO pages 2024-09-26 16:51:09 +00:00
vdso_linux_386.go
vdso_linux_amd64.go runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
vdso_linux_arm.go
vdso_linux_arm64.go runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
vdso_linux_loong64.go runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
vdso_linux_mips64x.go
vdso_linux_ppc64x.go runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
vdso_linux_riscv64.go
vdso_linux_s390x.go runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
vdso_test.go runtime: skip test if strace crashes 2024-01-17 19:47:47 +00:00
vgetrandom_linux.go runtime: don't acquirem() in vgetrandom unless necessary 2024-10-02 17:00:39 +00:00
vgetrandom_unsupported.go runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
vlop_386.s
vlop_arm.s
vlop_arm_test.go
vlrt.go
wincallback.go
write_err.go runtime/debug: SetCrashOutput sets the FD for fatal panics 2024-01-31 16:50:42 +00:00
write_err_android.go all: make use of builtin clear 2024-03-27 18:23:49 +00:00
zcallback_windows.go
zcallback_windows.s
zcallback_windows_arm.s
zcallback_windows_arm64.s