go/src/internal
Michael Knyszek e4435cb844 runtime: add page tracer
This change adds a new GODEBUG flag called pagetrace that writes a
low-overhead trace of how pages of memory are managed by the Go runtime.

The page tracer is kept behind a GOEXPERIMENT flag due to a potential
security risk for setuid binaries.

Change-Id: I6f4a2447d02693c25214400846a5d2832ad6e5c0
Reviewed-on: https://go-review.googlesource.com/c/go/+/444157
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-18 03:45:30 +00:00
..
abi internal/abi, internal/buildcfg: always enable register ABI on riscv64 2022-10-24 03:45:54 +00:00
buildcfg internal/abi, internal/buildcfg: always enable register ABI on riscv64 2022-10-24 03:45:54 +00:00
bytealg internal/bytealg: add PCALIGN to indexbodyp9 function on ppc64x 2022-11-07 19:27:43 +00:00
cfg cmd/go: set go.work path using GOWORK, and remove -workfile flag 2022-02-16 15:58:47 +00:00
coverage internal/coverage/slicereader: use unsafe.String 2022-11-08 14:15:17 +00:00
cpu internal/godebug: define more efficient API 2022-11-14 15:19:57 +00:00
dag runtime: generate the lock ranking from a DAG description 2022-08-04 15:31:44 +00:00
diff all: gofmt main repo 2022-05-19 15:49:05 +00:00
fmtsort all: remove unnecessary allocations from w.WriteString(fmt.Sprint*(...)) by fmt.Fprint*(w, ...) 2022-09-14 16:11:21 +00:00
fuzz internal/godebug: define more efficient API 2022-11-14 15:19:57 +00:00
goarch internal/goarch, internal/goos: update generators for syslist.go 2022-06-15 21:31:23 +00:00
godebug internal/godebug: define more efficient API 2022-11-14 15:19:57 +00:00
goexperiment runtime: add page tracer 2022-11-18 03:45:30 +00:00
goos all: add missing copyright header 2022-11-09 14:05:53 +00:00
goroot internal/goroot: report PkgfileMap error on invalid line 2022-11-16 14:38:38 +00:00
goversion internal/goversion: update Version to 1.20 2022-08-02 18:07:14 +00:00
intern internal/godebug: define more efficient API 2022-11-14 15:19:57 +00:00
itoa
lazyregexp
lazytemplate all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
nettrace all: gofmt main repo 2022-04-11 16:34:30 +00:00
obscuretestdata crypto/x509: allow BoringCrypto to use 4096-bit keys 2022-11-09 14:47:58 +00:00
oserror
pkgbits cmd/compile: make a type-specialized copy of encoding/binary.ReadUvarint 2022-09-27 20:58:46 +00:00
platform cmd/go: enable -msan on freebsd/amd64 2022-10-14 12:48:27 +00:00
poll os,syscall: File.Stat to use file handle for directories on Windows 2022-11-14 19:47:59 +00:00
profile internal/profile: remove unused encodeStringOpt 2022-11-17 16:20:57 +00:00
race
reflectlite internal/reflectlite: use unsafe.String in name.name and name.tag 2022-11-10 18:42:48 +00:00
saferio internal/saferio: handle potential total size overflow in SliceCap 2022-09-26 20:36:02 +00:00
singleflight internal/singleflight: avoid race between multiple Do calls 2022-09-30 20:49:56 +00:00
syscall internal/syscall/unix: use runtime.gostring for Gostring 2022-11-11 23:24:12 +00:00
sysinfo
testenv internal/testenv: adjust timeout calculations in CommandContext 2022-11-01 21:32:24 +00:00
testlog
testpty cmd/go: make testterminal18153 a normal test 2022-11-16 19:00:20 +00:00
trace runtime/trace: add missing events for the locked g in extra M. 2022-09-27 16:37:51 +00:00
txtar all: replace package ioutil with os and io in src 2022-09-20 02:13:02 +00:00
types go/types, types2: implement type checking of "clear" built-in 2022-11-17 17:24:51 +00:00
unsafeheader all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
xcoff internal/xcoff: better handling of malformed symbol tables 2022-08-22 15:41:53 +00:00