Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4546 commits
Select commit Hold shift + click to select a range
41b4298
runtime: duplicate scanobject in greentea and non-greentea files
mknyszek Jul 22, 2025
1aa1546
runtime: rename scanobject to scanObject
mknyszek Jul 25, 2025
374e3be
os/user: user random name for the test user account
qmuntal Jul 24, 2025
7b53d8d
cmd/compile/internal/types2: add loaded state between loader calls an…
Jun 13, 2025
d28b27c
go/types, types2: use nil to represent incomplete explicit aliases
Jun 24, 2025
5045fdd
cmd/compile: fix containsUnavoidableCall computation
randall77 Jun 10, 2025
6fbad4b
cmd/compile: remove no-longer-necessary call to calculateDepths
randall77 Jul 25, 2025
e81eac1
hash/crc32: fix incorrect checksums with avx512+race
klauspost Jul 28, 2025
c7ed3a1
internal/runtime/syscall/windows: factor out code from runtime
qmuntal Jul 21, 2025
98f301c
runtime,syscall: move SyscallX implementations from runtime to syscall
qmuntal Jul 25, 2025
46b5839
test/codegen: fix failing condmove wasm tests
Jul 26, 2025
10c5cf6
net/http: add proper panic message
MAM-SYS Jul 16, 2025
94645d2
cmd/compile: rewrite cmov(x, x, cond) into x
Jorropo Jul 26, 2025
4569255
cmd/compile: cleanup SelectN rules by indexing into args
Jorropo Jul 26, 2025
e151db3
all: omit unnecessary type conversions
callthingsoff Jul 28, 2025
64ba724
errors: omit redundant nil check in type assertion for Join
callthingsoff Jul 26, 2025
d5dc36a
runtime: remove openbsd/mips64 related code
4a6f656c Feb 15, 2025
cd3655a
internal/runtime/maps: fix spelling errors in comments
SpiffyEight77 Jul 24, 2025
9b6bd64
internal/poll: remove qty and flags fields from Windows' poll.operation
qmuntal Jul 2, 2025
361b1ab
internal/poll: remove sa field from Windows' poll.operation
qmuntal Jul 2, 2025
d7b4114
internal/poll: remove rsan field from Windows' poll.operation
qmuntal Jul 2, 2025
0984264
internal/poll: remove msg field from Windows' poll.operation
qmuntal Jul 2, 2025
f8eae7a
os/user: fix tests to pass on non-english Windows
dolmen Jul 18, 2025
b10eb1d
cmd/compile: simplify zerorange on amd64
randall77 Jun 3, 2025
4c854b7
crypto/elliptic: change a variable name that have the same name as ke…
mohanson Jul 24, 2025
aa95ab8
image: fix formatting of godoc link
dolmen Jun 10, 2025
19a086f
cmd/go/internal/telemetrystats: count goexperiments
qmuntal Jul 15, 2025
d79405a
runtime: only deduct assist credit for arenas during GC
wingrez Jul 22, 2025
7dccd63
cmd/compile: move arm32 over to new bounds check strategy
randall77 Jun 18, 2025
e15a14c
sync: remove synchashtriemap GOEXPERIMENT
mknyszek Jul 23, 2025
7961bf7
internal/goexperiment: delete CacheProg goexperiment
cherrymui Jun 30, 2025
25816d4
internal/goexperiment: delete RangeFunc goexperiment
cherrymui Jun 30, 2025
e0b07dc
os/exec: fix incorrect expansion of "", "." and ".." in LookPath
dolmen Jun 30, 2025
f7d167f
internal/abi: move direct/indirect flag from Kind to TFlag
randall77 Jun 15, 2025
f3582fc
cmd/compile: add unsigned power-of-two detector
cuonglm Jul 23, 2025
bd94ae8
cmd/compile: use unsigned power-of-two detector for unsigned mod
cuonglm Jul 23, 2025
1513661
cmd/compile: simplify logX implementations
cuonglm Jul 29, 2025
880ca33
cmd/compile: removing log2uint32 function
cuonglm Jul 29, 2025
b1e933d
cmd/compile: avoid extending when already sufficiently masked on loong64
sophie-zhao Jun 23, 2025
3aa1b00
regexp: fix compiling alternate patterns of different fold case literals
itchyny Jul 4, 2025
cefaed0
reflect: fix noswiss builder
randall77 Jul 29, 2025
8cd85e6
cmd/compile: check domination of loop return in both controls
Jorropo Jul 4, 2025
5e94d72
cmd/compile: simplify zerorange on arm64
randall77 Jun 3, 2025
89a0af8
cmd/compile: allow ops to specify clobbering input registers
randall77 Jun 9, 2025
5216fd5
cmd/compile: move loong64 over to new bounds check strategy
randall77 Jun 18, 2025
9f9d7b5
cmd/compile: move mips64 over to new bounds check strategy
randall77 Jun 18, 2025
8330fb4
cmd/compile: move mips32 over to new bounds check strategy
randall77 Jun 18, 2025
2174a79
crypto/tls: use standard chacha20-poly1305 cipher suite names
qmuntal Jul 21, 2025
cc571da
cmd/compile: deduplicate instructions when rewrite func results
fengyoulin Jul 29, 2025
2ae059c
all: remove GOEXPERIMENT=swissmap
prattmic Jul 25, 2025
82a1921
all: remove redundant Swiss prefixes
prattmic Jul 29, 2025
cedf636
cmd/compile: add floating point min/max intrinsics on s390x
Jun 27, 2025
69338a3
cmd/go/internal/gover: fix ModIsPrerelease for toolchain versions
matloob Jul 29, 2025
70a2ff7
runtime: add cgo call benchmark
mknyszek Feb 3, 2025
a4d9977
runtime/metrics: add cleanup and finalizer queue metrics
mknyszek Jul 23, 2025
c0ee2fd
cmd/go: explicitly reject module paths "go" and "toolchain"
matloob Jul 29, 2025
eb7f515
cmd/compile: use generated loops instead of DUFFZERO on amd64
randall77 Jun 3, 2025
e071617
cmd/compile: optimize multiplication rules on loong64
sophie-zhao May 22, 2025
eef5f8d
cmd/compile: enforce that locals are always accessed with SP base reg…
randall77 Aug 1, 2025
336931a
cmd/go: use os.Rename to move files on Windows
qmuntal Jul 29, 2025
ef40549
runtime,syscall: move loadlibrary and getprocaddress to syscall
qmuntal Jul 25, 2025
e666972
runtime: deduplicate Windows stdcall
qmuntal Jul 29, 2025
4ab1aec
cmd/go: modload should use a read-write lock to improve concurrency
AdallomRoy Jun 22, 2025
d6beda8
runtime: add reference to debugPinnerV1
limeidan Jun 19, 2025
d44749b
cmd/internal/obj/loong64: add [X]VLDREPL.{B/H/W/D} instructions support
sophie-zhao Jun 19, 2025
abeeef1
cmd/compile/internal/test: fix typo in comments
sophie-zhao Jun 7, 2025
b2960e3
cmd/internal/obj/loong64: add {V,XV}{BITCLR/BITSET/BITREV}[I].{B/H/W/…
sophie-zhao May 30, 2025
4b6cbc3
cmd/cgo/internal/test: use (syntactic) constant for C array bound
cherrymui Aug 2, 2025
d7bd777
go/parser: remove safePos
mateusz834 Aug 4, 2025
9569381
cmd/compile: move riscv64 over to new bounds check strategy
randall77 Jun 18, 2025
7a1679d
cmd/compile: move s390x over to new bounds check strategy
randall77 Jun 18, 2025
fcc036f
cmd/compile: optimise float <-> int register moves on riscv64
mundaym Jul 17, 2024
5ab9f23
cmd/compile, runtime: add checkptr instrumentation for unsafe.Add
cuonglm Jul 29, 2025
26da119
cmd/compile: make isUint{32,64}PowerOfTwo implementations clearer
cuonglm Aug 4, 2025
72147ff
cmd/compile: simplify isUintXPowerOfTwo implementation
cuonglm Aug 4, 2025
2b622b0
cmd/compile: remove isUintXPowerOfTwo functions
cuonglm Aug 4, 2025
bd08285
doc: fix typo in go memory model doc
derekparker Aug 4, 2025
a3295df
cmd/compile/internal/ssa: Use transitive properties for len/cap
DanielMorsing Jun 4, 2025
802d056
cmd/compile: move ppc64 over to new bounds check strategy
randall77 Jun 18, 2025
21ab012
cmd/compile: remove support for old-style bounds check calls
randall77 Jun 19, 2025
cd55f86
cmd/compile: allow multi-field structs to be stored directly in inter…
randall77 Jun 15, 2025
a2c45f0
runtime: test VDSO symbol hash values
prattmic Jul 23, 2025
4ee0df8
cmd: remove dead code
qiulaidongfeng Jul 26, 2025
c0025d5
go/parser: correct comment in expectedErrors
mateusz834 Aug 5, 2025
cef381b
runtime: eliminate global state in mkpreempt.go
aclements Jun 12, 2025
e73afaa
internal/cpu: add AVX-512-CD and DQ, and derived "basic AVX-512"
aclements Jun 12, 2025
af0c4fe
runtime: save scalar registers off stack in amd64 async preemption
aclements Apr 30, 2025
55d961b
runtime: save AVX2 and AVX-512 state on asynchronous preemption
aclements Jun 12, 2025
b0945a5
cmd/dist, internal/platform: mark freebsd/riscv64 broken
Jul 30, 2025
bcd25c7
cmd/compile: allow StructSelect [x] of interface data fields for x>0
randall77 Aug 5, 2025
e1fd4fa
runtime: fix godoc comment for inVDSOPage
tklauser Aug 5, 2025
a552737
cmd/compile: fold negation into multiplication on loong64
sophie-zhao Jun 17, 2025
4c7362e
cmd/internal/obj/loong64: add new instructions ALSL{W/WU/V} for loong64
limeidan Jul 10, 2025
5defe8e
internal/chacha8rand: replace WORD with instruction VMOVQ
sophie-zhao Jun 19, 2025
dda9d78
crypto/sha256: use const table for key loading on loong64
HeliC829 Jun 3, 2025
17a8be7
crypto/sha512: use const table for key loading on loong64
HeliC829 Jun 3, 2025
75ea2d0
internal/bytealg: vector implementation of equal for riscv64
4a6f656c Feb 12, 2025
3406a61
internal/bytealg: vector implementation of indexbyte for riscv64
4a6f656c Feb 7, 2025
72e8237
cmd/compile: allow more args in StructMake folding rule
randall77 Aug 6, 2025
608e9fa
go/types, types2: flip on position tracing
May 28, 2025
a3895fe
database/sql: avoid closing Rows while scan is in progress
neild Jul 23, 2025
f53dcb6
cmd/internal/testdir: unify link command
cherrymui Aug 2, 2025
025d369
cmd/internal/testdir: pass -buildid to link command
cherrymui Aug 2, 2025
2747f92
debug/macho: support reading imported symbols without LC_DYSYMTAB
cherrymui Aug 4, 2025
e0a1ea4
cmd/compile: make panicBounds stack frame smaller on ppc64
randall77 Aug 6, 2025
dc54d7b
all: remove support for windows/arm
qiulaidongfeng Feb 12, 2025
8282b72
runtime/race: update darwin race syso
cherrymui Mar 25, 2025
1f7ffca
time: skip TestLongAdjustTimers on plan9 (too slow)
millerresearch Aug 7, 2025
ee7bb89
cmd/internal/obj/loong64: add support for FSEL instruction
sophie-zhao Aug 6, 2025
f3606b0
cmd/compile/internal/ssa: fix typo in LOONG64Ops.go comment
sophie-zhao Aug 6, 2025
73ff6d1
cmd/internal/obj/loong64: change the immediate range of ALSL{W/WU/V}
limeidan Aug 6, 2025
dd3abf6
internal/bytealg: optimize Index/IndexString on loong64
limeidan Aug 7, 2025
d83b16f
internal/bytealg: vector implementation of compare for riscv64
4a6f656c Feb 12, 2025
b338856
reflect: handle zero-sized fields of directly-stored structures corre…
randall77 Aug 7, 2025
768c51e
internal/runtime/maps: remove unused var bitsetDeleted
cuiweixie Aug 8, 2025
bdb2d50
net: fix WriteMsgUDPAddrPort addr handling on IPv4 sockets
database64128 Jul 25, 2025
a8dd771
crypto/tls: check if quic conn can send session ticket
ronaudinho Sep 15, 2023
c7b85e9
all: update blog link
180909 Jul 24, 2025
dcc77f9
cmd/go: fix get -tool when multiple packages are provided
wgrr Jun 7, 2025
0201524
math: remove redundant infinity tests
Aug 1, 2025
777d76c
text/template: use sync.OnceValue for builtinFuncs
May 14, 2025
bce5601
cmd/go: fix fips doc link
rolandshoemaker Jul 29, 2025
317be4c
cmd/compile/internal/staticinit: remove deadcode
cuonglm Aug 7, 2025
fbac94a
internal/sync: rename Store parameter from old to new
ianlancetaylor Aug 8, 2025
a62f72f
cmd/compile/internal/ssa: optimise more branches with SGTconst/SGTUco…
sophie-zhao Aug 5, 2025
084c0f8
cmd/compile: allow InlMark operations to be speculatively executed
Aug 6, 2025
1718828
internal/sync: warn about incorrect unsafe usage in HashTrieMap
thepudds Aug 9, 2025
a7f05b3
cmd/compile: convert branch with zero to more optimal branch zero on …
sophie-zhao Aug 6, 2025
a243177
net, os, file/filepath, syscall: use slices.Equal in tests
tklauser Jul 25, 2025
b096ddb
internal/runtime/maps: loop invariant code motion with h2(hash) by hand
cuiweixie Aug 9, 2025
cf4af0b
encoding/json/v2: fix UnmarshalDecode regression with EOF
dsnet Jul 31, 2025
925149d
net/http: add example for CrossOriginProtection
brackendawson Jun 12, 2025
691af6c
encoding/json: fix Indent trailing whitespace regression in goexperim…
dsnet Jul 31, 2025
6abfe7b
cmd/dist: require Go 1.24.6 as minimum bootstrap toolchain
dmitshur Aug 9, 2025
2b804ab
net: context aware Dialer.Dial functions
fraenkel Apr 30, 2023
3dbef65
database/sql: allow drivers to override Scan behavior
jackc May 31, 2025
ce3f3e2
cmd/link/internal/ld, internal/syscall/unix: use posix_fallocate on n…
tklauser Aug 6, 2025
caf9fc3
Revert "reflect: handle zero-sized fields of directly-stored structur…
randall77 Aug 12, 2025
7248995
Revert "cmd/compile: allow more args in StructMake folding rule"
randall77 Aug 12, 2025
c313591
Revert "cmd/compile: allow StructSelect [x] of interface data fields …
randall77 Aug 12, 2025
74421a3
Revert "cmd/compile: allow multi-field structs to be stored directly …
randall77 Aug 12, 2025
00a7bdc
all: delete aliastypeparams GOEXPERIMENT
cherrymui Jul 30, 2025
d0a64f7
Revert "cmd/compile/internal/ssa: Use transitive properties for len/cap"
randall77 Aug 12, 2025
ec9e117
cmd/compile: use generated loops instead of DUFFCOPY on amd64
randall77 Jun 4, 2025
28aa529
cmd/compile: use generated loops instead of DUFFZERO on arm64
randall77 Jun 5, 2025
f04421e
cmd/compile: soften test for 74788
randall77 Aug 12, 2025
182336b
net/http: fix data race in client
bradfitz Aug 11, 2025
889ab74
internal/runtime/gc/scan: import scan kernel from gclab [green tea]
mknyszek Mar 5, 2025
750789f
internal/trace/internal/testgen: fix missing stacks nframes arg
felixge Jun 22, 2025
fe4d445
internal/trace/tracev2: fix EvSTWBegin comment to include stack ID
felixge Jun 22, 2025
f67d8ff
internal/trace/tracev2: adjust comment for consistency
felixge Jul 2, 2025
8e317da
internal/trace: remove unused StateTransition.id field
felixge Jul 2, 2025
f63e12d
internal/trace: fix Sync.ClockSnapshot comment
felixge Aug 11, 2025
d2b3c1a
internal/trace: clarify which StateTransition events have stacks
felixge Jul 6, 2025
4e182db
Revert "cmd/compile: use generated loops instead of DUFFCOPY on amd64"
randall77 Aug 12, 2025
adbf595
internal/runtime/gc/scan: avoid -1 index when cache sizes unavailable
mknyszek Aug 12, 2025
b266318
cmd/compile/internal/ssa: use BEQ/BNE to optimize the combination of …
limeidan Jul 28, 2025
1b263fc
runtime/race: restore previous version of LLVM TSAN on macOS
cherrymui Aug 12, 2025
90b7d7a
cmd/compile/internal: optimize multiplication use new operation 'ADDs…
limeidan Aug 7, 2025
3bea95b
cmd/link/internal/ld: remove OpenBSD buildid workaround
4a6f656c Aug 8, 2025
f10a82b
all: update vendored dependencies [generated]
dmitshur Aug 9, 2025
9763ece
cmd/compile: absorb NEGV into branch on loong64
sophie-zhao Aug 12, 2025
9fcb87c
cmd/compile: teach prove about len's & cap's max based on the element…
Jorropo Aug 12, 2025
2fe5d51
internal/trace: fix wrong scope for Event.Range or EvGCSweepActive
felixge Jul 2, 2025
08eef97
runtime/trace: fix documentation typo
AlekSi Aug 13, 2025
9bbea0f
cmd/compile: during regalloc, fixedreg values are always available
randall77 Aug 13, 2025
674c5f0
os/exec: fix incorrect expansion of ".." in LookPath on plan9
millerresearch Aug 7, 2025
de9b6f9
cmd/pprof: update vendored github.com/google/pprof
dmitshur Aug 13, 2025
0a75e5a
encoding/json/v2: fix wrong type with cyclic marshal error in map[str…
dsnet Aug 12, 2025
af88707
encoding/json/v2: fix incorrect marshaling of NaN in float64 any
dsnet Aug 12, 2025
4b1800e
encoding/json/v2: cleanup error constructors
dsnet Jul 24, 2025
ca66f90
cmd/compile: use generated loops instead of DUFFCOPY on amd64
randall77 Aug 13, 2025
320df53
cmd/compile: emit classify instructions for infinity tests on riscv64
mundaym Sep 8, 2021
924fe98
cmd/internal/obj/riscv: add encoding for compressed riscv64 instructions
4a6f656c Aug 25, 2023
a8564bd
runtime: make all synctest bubble violations fatal panics
neild Aug 14, 2025
3871c0d
syscall: permit nil destination address in sendmsgN{Inet4,Inet6}
database64128 Aug 1, 2025
052fcde
internal/runtime: cleaner overflow checker
cuiweixie Aug 8, 2025
bca3e98
cmd/go: test barrier actions
jsm Aug 13, 2025
15d6dbc
cmd/compile: use generated loops instead of DUFFCOPY on arm64
randall77 Jun 5, 2025
e4291e4
runtime: remove duff support for arm64
randall77 Jun 6, 2025
a651e2e
runtime: remove duff support for amd64
randall77 Jun 17, 2025
bd07faf
runtime: disable stack shrinking for all waiting-for-suspendG cases
mknyszek Aug 2, 2025
13df972
runtime/metrics: add metrics for goroutine sched states
mknyszek Jul 23, 2025
ab8121a
runtime/metrics: add metric for total goroutines created
mknyszek Jul 23, 2025
78a3968
runtime/metrics: add metric for current Go-owned thread count
mknyszek Jul 24, 2025
cb814bd
net: skip TestIPv4WriteMsgUDPAddrPort on plan9
millerresearch Aug 14, 2025
4a7fde9
internal/trace: add end-of-generation signal to trace
mknyszek Aug 5, 2025
786be1d
runtime: don't overwrite global stop channel in tests
mknyszek Aug 15, 2025
77f911e
internal/trace: emit final sync event for generation in Go 1.26+
mknyszek Aug 15, 2025
c3927a4
runtime: fix comments in tracetype.go
felixge May 19, 2025
5a56d88
cmd/compile: ensure we use allowed registers for input-clobbering ins…
randall77 Aug 18, 2025
07ee3bf
cmd/go: use modern pprof flags in documentation
jitsu-net Jul 21, 2025
c61db5e
syscall: forkAndExecInChild1: don't reuse pid variable
kolyshkin Jul 17, 2025
de2d741
internal/trace: use RFC3339Nano for wall clock snapshots in Event.String
felixge Aug 19, 2025
c7d8bda
cmd/compile/internal: make function comments match function names
cuishuang Aug 16, 2025
b80ffb6
internal/trace: remove redundant info from Event.String
felixge Aug 19, 2025
5024d0d
cmd/compile: tweak example command in README
callthingsoff Aug 19, 2025
1f2e8e0
os: fix path in MkdirTemp error message
jonathan-conder Aug 16, 2025
ffa8820
unique: deflake TestCanonMap/LoadOrStore/ConcurrentUnsharedKeys
mknyszek Aug 19, 2025
119546e
cmd/go: document install outputs to $GOOS_$GOARCH when cross compiling
seankhliao Aug 17, 2025
bd88540
runtime: save and restore all fcc registers in async preempt on loong64
abner-chenc Aug 18, 2025
853fc12
internal/poll: set the correct file offset in FD.Seek for Windows ove…
qmuntal Aug 19, 2025
509d5f6
internal/poll: don't call Seek for overlapped Windows handles
qmuntal Aug 19, 2025
4afd482
cmd/go/internal/doc: pass URL fragments separately with -http
dfinkel Aug 19, 2025
9de69f6
errors: mention Is/As in Join docs
seankhliao Aug 17, 2025
ffc85ee
cmd/internal/objabi,cmd/link: add support for additional riscv64 relo…
4a6f656c Jul 25, 2025
fa706ea
cmd/compile: optimize rule (x + x) << c to x << c+1 on loong64
sophie-zhao Aug 21, 2025
ba840c1
cmd/compile: deduplication in the source code generated by mknode
fengyoulin Aug 20, 2025
8dcab6f
syscall: simplify execve handling on libc platforms
4a6f656c Aug 9, 2025
9632ba8
cmd/compile: optimize some patterns into revb2h/revb4h instruction on…
sophie-zhao Aug 15, 2025
fb8bbe4
cmd/compile/internal/ssa: eliminate unnecessary extension operations
limeidan Jul 31, 2025
e0870a0
cmd/compile: simplify zerorange on loong64
limeidan Aug 21, 2025
1843f1e
cmd/compile: use zero register instead of specialized *zero instructi…
limeidan Aug 19, 2025
9b0a507
runtime: remove remaining windows/arm files and comments
qmuntal Aug 21, 2025
13c0826
internal/poll: permit nil destination address in WriteMsg{Inet4,Inet6}
database64128 Aug 1, 2025
1ad3084
cmd/asm: process forward jump to PCALIGN
zhouguangyuan0718 Aug 18, 2025
98238fd
all: delete remaining windows/arm code
ALTree Aug 22, 2025
a076f49
os: fix Root.MkdirAll to handle race of directory creation
database64128 Aug 21, 2025
52c3f73
runtime/metrics: improve doc
Lslightly Aug 19, 2025
78a05c5
internal/poll: don't pass non-nil WSAMsg.Name with 0 namelen on windows
database64128 Aug 22, 2025
9d3f7fd
crypto/tls: fix quic comment typo
testwill Aug 21, 2025
d86ec92
internal/syscall/windows: increase internal Windows O_ flags values
qmuntal Aug 20, 2025
f2db0dc
net/http/httptest: redirect example.com requests to server
seankhliao Apr 19, 2025
8342097
test/codegen: add sqrt* abs and copysign test for loong64
sophie-zhao Aug 21, 2025
0aa8019
test/codegen: add Mul* test for loong64
sophie-zhao Aug 21, 2025
44c5956
test/codegen: add Mul2 and DivPow2 test for loong64
sophie-zhao Aug 21, 2025
a212494
internal/poll: use fdMutex to provide read/write locking on Windows
qmuntal Aug 21, 2025
ed7f804
os: set full name for Roots created with Root.OpenRoot
neild Aug 22, 2025
bbd5342
net: fix cgoResSearch
database64128 Aug 18, 2025
9ae2f1f
internal/trace: skip async preempt off tests on low end systems
4a6f656c Aug 22, 2025
ea55ca3
runtime: skip doInit of plugins in runtime.main
WangLeonard Aug 20, 2025
bd71b94
cmd/compile/internal: optimizing add+sll rule using ALSLV instruction…
limeidan Jul 18, 2025
1eed4f3
math: optimize Signbit implementation slightly
mundaym Jul 12, 2024
4e05a07
math: implement IsInf using Abs
Aug 11, 2025
25c2d41
math: use Trunc to implement Modf
Jul 28, 2025
dae9e45
runtime: identify virtual memory layout for riscv64
4a6f656c Jul 22, 2025
bfd130d
internal/poll: don't use stack-allocated WSAMsg parameters
qmuntal Aug 25, 2025
fa18c54
syscall: sort Windows env block in StartProcess
bradfitz Aug 8, 2025
801b74e
internal/poll: remove rsa field from Windows' poll.operation
qmuntal Aug 25, 2025
afc51ed
internall/poll: remove bufs field from Windows' poll.operation
qmuntal Aug 25, 2025
49a2f3e
net: allow zero value destination address in WriteMsgUDPAddrPort
database64128 Aug 1, 2025
d19e377
cmd/cgo: make it safe to run gcc in parallel
matloob Aug 25, 2025
b21867b
net/http: require exact match for CrossSiteProtection bypass patterns
FiloSottile Aug 26, 2025
2ee4b31
net/http: Ensure that CONNECT proxied requests respect MaxResponseHea…
nicholashusin Aug 25, 2025
765905e
debug/elf: don't panic if symtab too small
ianlancetaylor Aug 24, 2025
6b837a6
cmd/internal/obj/loong64: simplify buildop
sophie-zhao Aug 26, 2025
e47d88b
os: return nil slice when ReadDir is used with a file on file_windows
qmuntal Aug 27, 2025
90c21fa
net/textproto: eliminate some bounds checks
jub0bs Aug 23, 2025
7f1864b
strings: remove redundant "runs" from string.Fields docstring
bradcypert Aug 26, 2025
ebc763f
syscall: only get parent PID if SysProcAttr.Pdeathsig is set
tklauser Aug 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/03-gopls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body:
- type: markdown
attributes:
value: "Please answer these questions before submitting your issue. Thanks!"
- type: input
- type: textarea
id: gopls-version
attributes:
label: "gopls version"
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/11-language-change.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Language Change Proposals
description: Changes to the language
labels: ["Proposal", "v2", "LanguageChange"]
title: "proposal: Go 2: proposal title"
labels: ["Proposal", "LanguageChange", "LanguageChangeReview"]
title: "proposal: spec: proposal title"


body:
Expand Down
74 changes: 18 additions & 56 deletions .github/ISSUE_TEMPLATE/12-telemetry.yml
Original file line number Diff line number Diff line change
@@ -1,68 +1,30 @@
name: Go Telemetry Proposals
description: New telemetry counter or update on an existing one
description: Changes to the telemetry upload configuration
title: "x/telemetry/config: proposal title"
labels: ["Telemetry-Proposal"]
projects: ["golang/29"]
body:
- type: textarea
attributes:
label: Counter names
description: Names of counters to add or update.
label: Summary
description: >
What change are you proposing to the upload configuration, and why?
For new upload configuration, which new counters will be collected, what
do they measure, and why is it important to collect them?
Note that uploaded data must not carry sensitive user information.
See [go.dev/doc/telemetry#proposals](https://go.dev/doc/telemetry#proposals)
for more details on telemetry proposals.
validations:
required: true
- type: textarea
attributes:
label: Description
description: What do these counters measure?
validations:
required: true
- type: textarea
attributes:
label: Rationale
description: |
Why is the counter important?
For example, what new insights will it provide, and how will that information be used?
If this is about updating existing counters, why is the change necessary?
validations:
required: true
- type: textarea
- type: input
attributes:
label: Do the counters carry sensitive user information?
label: Proposed Config Change
description: >
A CL containing proposed changes to the
[config.txt](https://go.googlesource.com/telemetry/+/master/internal/chartconfig/config.txt)
chart configuration.
See the [chartconfig](https://pkg.go.dev/golang.org/x/telemetry/internal/chartconfig)
package for an explanation of the chart config format.
For an example change, see [CL 564619](https://go.dev/cl/564619).
validations:
required: true
- type: textarea
attributes:
label: How?
description: |
How do we plan to compute the info?
If available, include the code location or cl that uses the golang.org/x/telemetry/counter API.
validations:
required: true
- type: textarea
attributes:
label: Proposed Graph Config
description: |
Approved telemetry counters are maintained as [Go Telemetry Graph Config](https://golang.org/x/telemetry/internal/graphconfig) records.
Please draft the record entry for your proposal here.
If multiple records need to be included, separate them with `---` lines.
You can check the list of the approved counters and their current configuration in [config.txt](https://go.googlesource.com/telemetry/+/master/internal/configgen/config.txt).
render: Text
value: |
counter: gopls/bug
title: Gopls bug reports
description: Stacks of bugs encountered on the gopls server.
type: partition, histogram, stack # choose only one.
program: golang.org/x/tools/gopls
counter: gopls/bug
depth: 16 # only if type is stack.
version: v0.13.0 # the first binary version containing this counter.
validations:
required: true
- type: dropdown
attributes:
label: New or Update
description: Is this a new counter? See [config.txt](https://go.googlesource.com/telemetry/+/master/internal/configgen/config.txt) for the list of approved counters.
options:
- New
- Update
default: 0
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ _testmain.go
/src/go/build/zcgo.go
/src/go/doc/headscan
/src/internal/buildcfg/zbootstrap.go
/src/runtime/internal/sys/zversion.go
/src/internal/runtime/sys/zversion.go
/src/unicode/maketables
/src/time/tzdata/zzipdata.go
/test.out
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2009 The Go Authors. All rights reserved.
Copyright 2009 The Go Authors.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
Expand All @@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer.
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
* Neither the name of Google LLC nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Go is an open source programming language that makes it easy to build simple,
reliable, and efficient software.

![Gopher image](https://golang.org/doc/gopher/fiveyears.jpg)
*Gopher image by [Renee French][rf], licensed under [Creative Commons 4.0 Attributions license][cc4-by].*
*Gopher image by [Renee French][rf], licensed under [Creative Commons 4.0 Attribution license][cc4-by].*

Our canonical Git repository is located at https://go.googlesource.com/go.
There is a mirror of the repository at https://github.com/golang/go.
Expand Down
4 changes: 4 additions & 0 deletions api/except.txt
Original file line number Diff line number Diff line change
Expand Up @@ -598,3 +598,7 @@ pkg syscall (freebsd-arm64-cgo), const SYS_MKNODAT = 498
pkg syscall (freebsd-arm64-cgo), const SYS_STAT = 188
pkg syscall (freebsd-arm64-cgo), const SYS_STAT ideal-int
pkg syscall (freebsd-arm64-cgo), const SYS_STATFS = 396
pkg syscall (openbsd-386), const ELAST = 91
pkg syscall (openbsd-386-cgo), const ELAST = 91
pkg syscall (openbsd-amd64), const ELAST = 91
pkg syscall (openbsd-amd64-cgo), const ELAST = 91
158 changes: 158 additions & 0 deletions api/go1.23.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
pkg archive/tar, type FileInfoNames interface { Gname, IsDir, ModTime, Mode, Name, Size, Sys, Uname } #50102
pkg archive/tar, type FileInfoNames interface, Gname() (string, error) #50102
pkg archive/tar, type FileInfoNames interface, IsDir() bool #50102
pkg archive/tar, type FileInfoNames interface, ModTime() time.Time #50102
pkg archive/tar, type FileInfoNames interface, Mode() fs.FileMode #50102
pkg archive/tar, type FileInfoNames interface, Name() string #50102
pkg archive/tar, type FileInfoNames interface, Size() int64 #50102
pkg archive/tar, type FileInfoNames interface, Sys() interface{} #50102
pkg archive/tar, type FileInfoNames interface, Uname() (string, error) #50102
pkg crypto/tls, const QUICResumeSession = 8 #63691
pkg crypto/tls, const QUICResumeSession QUICEventKind #63691
pkg crypto/tls, const QUICStoreSession = 9 #63691
pkg crypto/tls, const QUICStoreSession QUICEventKind #63691
pkg crypto/tls, method (*ECHRejectionError) Error() string #63369
pkg crypto/tls, method (*QUICConn) StoreSession(*SessionState) error #63691
pkg crypto/tls, type Config struct, EncryptedClientHelloConfigList []uint8 #63369
pkg crypto/tls, type Config struct, EncryptedClientHelloRejectionVerify func(ConnectionState) error #63369
pkg crypto/tls, type ConnectionState struct, ECHAccepted bool #63369
pkg crypto/tls, type ECHRejectionError struct #63369
pkg crypto/tls, type ECHRejectionError struct, RetryConfigList []uint8 #63369
pkg crypto/tls, type QUICConfig struct, EnableSessionEvents bool #63691
pkg crypto/tls, type QUICEvent struct, SessionState *SessionState #63691
pkg crypto/tls, type QUICSessionTicketOptions struct, Extra [][]uint8 #63691
pkg crypto/x509, func ParseOID(string) (OID, error) #66249
pkg crypto/x509, method (*OID) UnmarshalBinary([]uint8) error #66249
pkg crypto/x509, method (*OID) UnmarshalText([]uint8) error #66249
pkg crypto/x509, method (OID) MarshalBinary() ([]uint8, error) #66249
pkg crypto/x509, method (OID) MarshalText() ([]uint8, error) #66249
pkg debug/elf, const PT_OPENBSD_NOBTCFI = 1705237480 #66054
pkg debug/elf, const PT_OPENBSD_NOBTCFI ProgType #66054
pkg debug/elf, const STT_GNU_IFUNC = 10 #66836
pkg debug/elf, const STT_GNU_IFUNC SymType #66836
pkg debug/elf, const STT_RELC = 8 #66836
pkg debug/elf, const STT_RELC SymType #66836
pkg debug/elf, const STT_SRELC = 9 #66836
pkg debug/elf, const STT_SRELC SymType #66836
pkg encoding/binary, func Append([]uint8, ByteOrder, interface{}) ([]uint8, error) #60023
pkg encoding/binary, func Decode([]uint8, ByteOrder, interface{}) (int, error) #60023
pkg encoding/binary, func Encode([]uint8, ByteOrder, interface{}) (int, error) #60023
pkg go/ast, func Preorder(Node) iter.Seq[Node] #66339
pkg go/types, method (*Alias) Origin() *Alias #67143
pkg go/types, method (*Alias) Rhs() Type #66559
pkg go/types, method (*Alias) SetTypeParams([]*TypeParam) #67143
pkg go/types, method (*Alias) TypeArgs() *TypeList #67143
pkg go/types, method (*Alias) TypeParams() *TypeParamList #67143
pkg go/types, method (*Func) Signature() *Signature #65772
pkg iter, func Pull2[$0 interface{}, $1 interface{}](Seq2[$0, $1]) (func() ($0, $1, bool), func()) #61897
pkg iter, func Pull[$0 interface{}](Seq[$0]) (func() ($0, bool), func()) #61897
pkg iter, type Seq2[$0 interface{}, $1 interface{}] func(func($0, $1) bool) #61897
pkg iter, type Seq[$0 interface{}] func(func($0) bool) #61897
pkg maps, func All[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) iter.Seq2[$1, $2] #61900
pkg maps, func Collect[$0 comparable, $1 interface{}](iter.Seq2[$0, $1]) map[$0]$1 #61900
pkg maps, func Insert[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0, iter.Seq2[$1, $2]) #61900
pkg maps, func Keys[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) iter.Seq[$1] #61900
pkg maps, func Values[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) iter.Seq[$2] #61900
pkg math/rand/v2, func Uint() uint #61716
pkg math/rand/v2, method (*ChaCha8) Read([]uint8) (int, error) #67059
pkg math/rand/v2, method (*Rand) Uint() uint #61716
pkg net, method (*DNSError) Unwrap() error #63116
pkg net, method (*TCPConn) SetKeepAliveConfig(KeepAliveConfig) error #62254
pkg net, type DNSError struct, UnwrapErr error #63116
pkg net, type Dialer struct, KeepAliveConfig KeepAliveConfig #62254
pkg net, type KeepAliveConfig struct #62254
pkg net, type KeepAliveConfig struct, Count int #62254
pkg net, type KeepAliveConfig struct, Enable bool #62254
pkg net, type KeepAliveConfig struct, Idle time.Duration #62254
pkg net, type KeepAliveConfig struct, Interval time.Duration #62254
pkg net, type ListenConfig struct, KeepAliveConfig KeepAliveConfig #62254
pkg net/http, func ParseCookie(string) ([]*Cookie, error) #66008
pkg net/http, func ParseSetCookie(string) (*Cookie, error) #66008
pkg net/http, method (*Request) CookiesNamed(string) []*Cookie #61472
pkg net/http, type Cookie struct, Partitioned bool #62490
pkg net/http, type Cookie struct, Quoted bool #46443
pkg net/http, type Request struct, Pattern string #66405
pkg net/http/httptest, func NewRequestWithContext(context.Context, string, string, io.Reader) *http.Request #59473
pkg os, func CopyFS(string, fs.FS) error #62484
pkg path/filepath, func Localize(string) (string, error) #57151
pkg reflect, func SliceAt(Type, unsafe.Pointer, int) Value #61308
pkg reflect, method (Value) Seq() iter.Seq[Value] #66056
pkg reflect, method (Value) Seq2() iter.Seq2[Value, Value] #66056
pkg reflect, type Type interface, CanSeq() bool #66056
pkg reflect, type Type interface, CanSeq2() bool #66056
pkg reflect, type Type interface, OverflowComplex(complex128) bool #60427
pkg reflect, type Type interface, OverflowFloat(float64) bool #60427
pkg reflect, type Type interface, OverflowInt(int64) bool #60427
pkg reflect, type Type interface, OverflowUint(uint64) bool #60427
pkg runtime/debug, func SetCrashOutput(*os.File, CrashOptions) error #42888
pkg runtime/debug, type CrashOptions struct #67182
pkg slices, func All[$0 interface{ ~[]$1 }, $1 interface{}]($0) iter.Seq2[int, $1] #61899
pkg slices, func AppendSeq[$0 interface{ ~[]$1 }, $1 interface{}]($0, iter.Seq[$1]) $0 #61899
pkg slices, func Backward[$0 interface{ ~[]$1 }, $1 interface{}]($0) iter.Seq2[int, $1] #61899
pkg slices, func Chunk[$0 interface{ ~[]$1 }, $1 interface{}]($0, int) iter.Seq[$0] #53987
pkg slices, func Collect[$0 interface{}](iter.Seq[$0]) []$0 #61899
pkg slices, func Repeat[$0 interface{ ~[]$1 }, $1 interface{}]($0, int) $0 #65238
pkg slices, func SortedFunc[$0 interface{}](iter.Seq[$0], func($0, $0) int) []$0 #61899
pkg slices, func SortedStableFunc[$0 interface{}](iter.Seq[$0], func($0, $0) int) []$0 #61899
pkg slices, func Sorted[$0 cmp.Ordered](iter.Seq[$0]) []$0 #61899
pkg slices, func Values[$0 interface{ ~[]$1 }, $1 interface{}]($0) iter.Seq[$1] #61899
pkg structs, type HostLayout struct #66408
pkg sync, method (*Map) Clear() #61696
pkg sync/atomic, func AndInt32(*int32, int32) int32 #61395
pkg sync/atomic, func AndInt64(*int64, int64) int64 #61395
pkg sync/atomic, func AndUint32(*uint32, uint32) uint32 #61395
pkg sync/atomic, func AndUint64(*uint64, uint64) uint64 #61395
pkg sync/atomic, func AndUintptr(*uintptr, uintptr) uintptr #61395
pkg sync/atomic, func OrInt32(*int32, int32) int32 #61395
pkg sync/atomic, func OrInt64(*int64, int64) int64 #61395
pkg sync/atomic, func OrUint32(*uint32, uint32) uint32 #61395
pkg sync/atomic, func OrUint64(*uint64, uint64) uint64 #61395
pkg sync/atomic, func OrUintptr(*uintptr, uintptr) uintptr #61395
pkg sync/atomic, method (*Int32) And(int32) int32 #61395
pkg sync/atomic, method (*Int32) Or(int32) int32 #61395
pkg sync/atomic, method (*Int64) And(int64) int64 #61395
pkg sync/atomic, method (*Int64) Or(int64) int64 #61395
pkg sync/atomic, method (*Uint32) And(uint32) uint32 #61395
pkg sync/atomic, method (*Uint32) Or(uint32) uint32 #61395
pkg sync/atomic, method (*Uint64) And(uint64) uint64 #61395
pkg sync/atomic, method (*Uint64) Or(uint64) uint64 #61395
pkg sync/atomic, method (*Uintptr) And(uintptr) uintptr #61395
pkg sync/atomic, method (*Uintptr) Or(uintptr) uintptr #61395
pkg syscall (openbsd-386), const EBADMSG = 92 #67998
pkg syscall (openbsd-386), const ELAST = 95 #67998
pkg syscall (openbsd-386), const ENOTRECOVERABLE = 93 #67998
pkg syscall (openbsd-386), const ENOTRECOVERABLE Errno #67998
pkg syscall (openbsd-386), const EOWNERDEAD = 94 #67998
pkg syscall (openbsd-386), const EOWNERDEAD Errno #67998
pkg syscall (openbsd-386), const EPROTO = 95 #67998
pkg syscall (openbsd-386-cgo), const EBADMSG = 92 #67998
pkg syscall (openbsd-386-cgo), const ELAST = 95 #67998
pkg syscall (openbsd-386-cgo), const ENOTRECOVERABLE = 93 #67998
pkg syscall (openbsd-386-cgo), const ENOTRECOVERABLE Errno #67998
pkg syscall (openbsd-386-cgo), const EOWNERDEAD = 94 #67998
pkg syscall (openbsd-386-cgo), const EOWNERDEAD Errno #67998
pkg syscall (openbsd-386-cgo), const EPROTO = 95 #67998
pkg syscall (openbsd-amd64), const EBADMSG = 92 #67998
pkg syscall (openbsd-amd64), const ELAST = 95 #67998
pkg syscall (openbsd-amd64), const ENOTRECOVERABLE = 93 #67998
pkg syscall (openbsd-amd64), const ENOTRECOVERABLE Errno #67998
pkg syscall (openbsd-amd64), const EOWNERDEAD = 94 #67998
pkg syscall (openbsd-amd64), const EOWNERDEAD Errno #67998
pkg syscall (openbsd-amd64), const EPROTO = 95 #67998
pkg syscall (openbsd-amd64-cgo), const EBADMSG = 92 #67998
pkg syscall (openbsd-amd64-cgo), const ELAST = 95 #67998
pkg syscall (openbsd-amd64-cgo), const ENOTRECOVERABLE = 93 #67998
pkg syscall (openbsd-amd64-cgo), const ENOTRECOVERABLE Errno #67998
pkg syscall (openbsd-amd64-cgo), const EOWNERDEAD = 94 #67998
pkg syscall (openbsd-amd64-cgo), const EOWNERDEAD Errno #67998
pkg syscall (openbsd-amd64-cgo), const EPROTO = 95 #67998
pkg syscall (windows-386), const WSAENOPROTOOPT = 10042 #62254
pkg syscall (windows-386), const WSAENOPROTOOPT Errno #62254
pkg syscall (windows-amd64), const WSAENOPROTOOPT = 10042 #62254
pkg syscall (windows-amd64), const WSAENOPROTOOPT Errno #62254
pkg syscall, const EBADMSG Errno #67998
pkg syscall, const EPROTO Errno #67998
pkg unicode/utf16, func RuneLen(int32) int #44940
pkg unique, func Make[$0 comparable]($0) Handle[$0] #62483
pkg unique, method (Handle[$0]) Value() $0 #62483
pkg unique, type Handle[$0 comparable] struct #62483
Loading