Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pgo: profile-guided optimization for golang v1.17 #49688

Closed
wants to merge 5,533 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5533 commits
Select commit Hold shift + click to select a range
3680b5e
cmd/compile: teach prove about bitwise OR operation
wdvxdr1123 Jun 5, 2022
3486735
net/http/pprof: link docs to runtime/pprof
seankhliao Aug 6, 2022
5634629
runtime: convert extram and extraMWaiters to internal atomic type
panjf2000 Aug 25, 2022
28e3885
runtime: convert workType.cycles to internal atomic types
panjf2000 Aug 26, 2022
d3b35a4
runtime: convert mOS.profileTimerValid to internal atomic type
panjf2000 Aug 27, 2022
a25a34a
runtime: convert mcache.flushGen to atomic type
cuiweixie Aug 25, 2022
d01200e
runtime: convert sig.{state,delivering} to atomic type
cuiweixie Aug 26, 2022
6e74c41
runtime: convert p.numTimers and p.deletedTimers to internal atomic t…
panjf2000 Aug 26, 2022
fa0e3bf
runtime: convert semaRoot.nwait to atomic type
cuiweixie Aug 26, 2022
bc0a033
runtime: fix comment typo in mpagealloc.go
clamyang Aug 31, 2022
ebc75ac
cmd/internal/obj/arm64: allow transition from $0 to ZR for MSR
Aug 31, 2022
59b1572
cmd/asm: fix condition check to work on ppc64
Aug 31, 2022
0d6a7f9
internal/poll, internal/syscall/unix, net, runtime: convert openbsd (…
tklauser Aug 26, 2022
301ca75
runtime: convert worldIsStopped to atomic type
cuiweixie Aug 26, 2022
c708532
cmd/compile: add support for unsafe.{String,StringData,SliceData}
cuiweixie Aug 16, 2022
3f65ddb
runtime: convert rwmutex.{readerCount,readerWait} to atomic type
cuiweixie Aug 26, 2022
9085ff5
cmd/compile: avoid extending when already sufficiently masked on riscv64
4a6f656c Aug 27, 2022
239115c
cmd/compile: avoid extending floating point comparision on riscv64
4a6f656c Aug 27, 2022
971373f
cmd/compile: remove NEG when used with SEQZ/SNEZ on riscv64
4a6f656c Aug 27, 2022
da65569
cmd/compile: simplify bounded shift on riscv64
wdvxdr1123 Aug 10, 2022
ce77a46
cmd/dist: disable cgo when testing internal linking of PIE
cuonglm Aug 31, 2022
52d9e7f
runtime: convert consistentHeapStats.gen to atomic type
cuiweixie Aug 26, 2022
af7f067
cmd/compile: tighten bounds for induction variables in strided loops
randall77 Jul 3, 2022
69aed47
cmd/compile: use better splitting condition for string binary search
randall77 Jun 25, 2022
5f5c018
cmd/compile: redo mknode.go
randall77 Jul 19, 2022
33a7e5a
cmd/compile: combine multiple rotate instructions
randall77 Aug 18, 2022
e4b624e
cmd/compile: use HaveInlineBody for unified IR
mdempsky Aug 31, 2022
ca634fa
cmd/compile: reject not-in-heap types as type arguments
mdempsky Aug 31, 2022
64b260d
test: use cgo.Incomplete instead of go:notinheap for "run" tests
cuonglm Aug 7, 2022
91ef076
reflect: fix Value.SetIterXXX to check for the read-only bit
dsnet Aug 24, 2022
b5b2cf5
go/types,types2: exclude tests that need cgo.Incomplete
cuonglm Sep 1, 2022
5bc8fa7
cmd/go: support long commands in asm and cgo
mvdan Aug 31, 2022
1f8e94e
crypto/internal/boring/fipstls: convert required to atomic type
cuiweixie Aug 27, 2022
af991a6
cmd/compile: reorder rotate lowering rules in AMD64.rules
wdvxdr1123 Aug 31, 2022
5a6db7c
runtime: convert ncgocall to atomic type
cuiweixie Aug 27, 2022
ef84141
Revert "runtime: convert ncgocall to atomic type"
prattmic Sep 1, 2022
d31c4bc
cmd/internal/objabi: use strings.Builder
hopehook Sep 1, 2022
dced346
cmd/internal/pkgpath: use strings.Builder
hopehook Sep 1, 2022
1e7f535
cmd/compile: use (*strings.Reader).Reset
hopehook Sep 1, 2022
dd323fe
cmd/compile,runtime: redo growslice calling convention
randall77 Jul 14, 2022
36f191a
syscall: make mkall.sh accept file list
kolyshkin Aug 13, 2022
4048f3f
syscall: Faccessat: use faccessat2 on linux
kolyshkin Jun 30, 2022
9b80d3d
go/parser: remove validation of expression syntax, leave to type checker
griesemer Aug 25, 2022
c801e4b
cmd/compile/internal/syntax: use BadExpr instead of fake CallExpr in …
griesemer Aug 25, 2022
aa5ff29
go/parser: adjustments to error messages
griesemer Aug 25, 2022
bbaf0a5
go/types, types2: consolidate testdata/check test files
griesemer Aug 26, 2022
330282a
cmd/compile/internal/types2: use go/types/testdata/check tests
griesemer Aug 26, 2022
489f508
cmd/compile: avoid "not used" errors due to bad go/defer statements
griesemer Aug 26, 2022
a74d46d
go/parser: check that go/defer expressions are not parenthesized
griesemer Aug 26, 2022
1280ae7
go/parser: leave checking of LHS in short var decls to type checker
griesemer Aug 29, 2022
b2110bc
types2: use strings.Builder in errors.go
hopehook Sep 1, 2022
0592ce5
types2: use strings.Builder in infer.go
hopehook Sep 1, 2022
6b555dc
go/types: use singular in version error messages
griesemer Aug 29, 2022
cb35783
cmd/compile/internal/types2: match go/types error for invalid instant…
griesemer Aug 29, 2022
042f051
go/types, types2: consolidate a test file with different syntax errors
griesemer Aug 30, 2022
a31c062
go/parser: parse import specs the same way as the syntax parser
griesemer Aug 31, 2022
a330ca5
cmd/compile/internal/syntax: more tolerant parsing of import declarat…
griesemer Aug 31, 2022
d394f99
go/parser: more tolerant parsing of import declarations
griesemer Aug 31, 2022
4e32472
go/parser: match syntax parser error for unnamed type parameters
griesemer Aug 31, 2022
d98bf7d
go/types, types2: consolidate testdata/fixedbugs/issue46404.go
griesemer Aug 31, 2022
1be8fcd
cmd/compile/internal/syntax: more strict parsing of type instances
griesemer Aug 31, 2022
9649a41
go/types, types2: consolidate testdata/fixedbugs test files
griesemer Aug 31, 2022
29e3602
cmd/compile/internal/types2: use go/types/testdata/fixedbugs tests
griesemer Sep 1, 2022
157aae6
go/types, types2: establish type-checker specific local tests
griesemer Sep 1, 2022
e2d2d3a
go/types: test shifts that are disabled in shared test file
griesemer Sep 1, 2022
57ade1f
go/types, types2: move shared tests into internal/types/testdata
griesemer Sep 2, 2022
ccab2fb
internal/types: add a test for empty string import path
griesemer Sep 2, 2022
8e35910
math/rand: document that Source returned by NewSource implements Sour…
jonathanfong098 Aug 26, 2022
134cd34
hash: convert haveCastagnoli to atomic type
cuiweixie Aug 27, 2022
ec2ea40
cmd/compile: restrict //go:notinheap to runtime/internal/sys
cuonglm Aug 7, 2022
202b7e7
encoding/asn1: fix doc for BitString.At's return value
rennnosuke Jun 8, 2022
321a220
cmd/link: only add dummy XCOFF reference if the symbol exists
cherrymui Sep 1, 2022
5befb24
go/types: use function name position for init errors
griesemer Sep 2, 2022
54c7bc9
cmd/compile: optimize shift ops on arm64 when the shift value is v&63
RuinanSun Aug 8, 2022
274528e
cmd/compile/internal/base: use runtime.KeepAlive in MapFile
tklauser Aug 31, 2022
f45c2d7
go/types,types2: move notinheap tests to fixedbugs directory
cuonglm Sep 2, 2022
121344a
cmd/compile: optimize RotateLeft8/16 on arm64
RuinanSun Jul 13, 2022
19a4804
runtime: support MADV_DONTNEED on the BSDs and Solaris/Illumos
tklauser Aug 29, 2022
6605686
cmd/compile: new inline heuristic for struct compares
derekparker Aug 30, 2022
553f02c
debug/macho: use saferio to allocate load command slice
tklauser Sep 1, 2022
0cf996a
cmd/compile/internal/abt: use strings.Builder
cuonglm Aug 31, 2022
0ee0bb1
cmd/compile: make runtime/internal/sys.NotInHeap intrinsic
cuonglm Aug 10, 2022
8bbb362
cmd/compile: remove go:notinheap pragma
cuonglm Aug 10, 2022
8af6c33
cmd/compile/internal/noder: refactor exprConvert code
mdempsky Sep 1, 2022
34f0029
cmd/compile/internal/noder: allow OCONVNOP for identical iface conver…
mdempsky Sep 1, 2022
5b1fbfb
cmd/compile: rewrite >>c<<c to &^(1<<c-1)
randall77 Aug 17, 2022
2efb579
net: rfc number typo
mateusz834 Sep 2, 2022
8be94b8
runtime: drop function context from traceback
aclements Aug 15, 2022
5063056
runtime: drop redundant argument to getArgInfo
aclements Aug 16, 2022
f00fa0b
runtime: document stkframe
aclements Jul 13, 2022
511cd9b
runtime: switch gp when jumping stacks during traceback
aclements Jul 12, 2022
dbf442b
runtime: replace stkframe.arglen/argmap with methods
aclements Aug 14, 2022
b91e373
runtime: make getStackMap a method of stkframe
aclements Aug 17, 2022
35026f3
runtime: consolidate stkframe and its methods into stkframe.go
aclements Aug 17, 2022
55ca6a2
runtime: simplify stkframe.argMapInternal
aclements Aug 26, 2022
0fda8b1
go/types, types2: consistently write "x | y" rather than "x|y" for un…
griesemer Sep 2, 2022
b226cc5
cmd/internal/obj/riscv: fix comment typo
wdvxdr1123 Sep 2, 2022
d168112
.github: change label for vulndb and vulndb issues
julieqiu Sep 2, 2022
e406112
runtime: document implicit fields at the end of _func
prattmic Sep 2, 2022
9154d4a
.github: add quotations around label
julieqiu Sep 2, 2022
646c3ee
cmd/compile: negate comparision with FNES/FNED on riscv64
4a6f656c Aug 27, 2022
3e11e61
cmd/compile: optimise subtraction with const on riscv64
4a6f656c Aug 27, 2022
9fc09d2
cmd/compile/internal/noder: optimize itabs section of runtime dicts
mdempsky Sep 1, 2022
f798dc6
fmt: recycle printers with large buffers
CAFxX Sep 1, 2022
32964f9
net: skip TestLookupPTR when LookupAddr fails with "DNS server failure"
Sep 2, 2022
a0f0582
syscall: fix skipping some tests on Linux
kolyshkin Jul 15, 2022
7a86ef2
all: use strings.Builder instead of bytes.Buffer
sashamelentyev Sep 2, 2022
2392b70
go/types, types2: use strings.Builder instead of bytes.Buffer where p…
griesemer Sep 2, 2022
a73506c
internal/syscall/unix: consolidate kernelVersion implementations
kolyshkin Aug 18, 2022
535fe2b
runtime: fast clock_gettime on FreeBSD, use physical/virtual ARM timer
paulzhol Aug 12, 2022
be26aa7
cmd/go: make cfg.BuildContext.ToolTags same order with build.Default.…
cuonglm Aug 10, 2022
3fbcf05
runtime: convert g.atomicstatus to internal atomic type
panjf2000 Aug 24, 2022
a295890
net: precompute rfc6724policyTable in addrselect
Thorleon Jul 24, 2022
4e7e7ae
net/http: don't time out idle server connections after ReadHeaderTimeout
hawkw Aug 31, 2022
357b922
runtime: convert local var stop,ready at TestDebugCallUnsafePoint to …
cuiweixie Sep 2, 2022
7d83d32
runtime: convert local var ready at TestMemmoveAtomicity to atomic type
cuiweixie Sep 2, 2022
02700e5
runtime: convert local var cunlock at doTestParallelReaders to atomic…
cuiweixie Sep 2, 2022
4ad55cd
runtime: convert local var started,progress at TestStackGrowth to ato…
cuiweixie Sep 2, 2022
af7f417
runtime: convert local var stop at TestAfterStress to atomic type
cuiweixie Sep 2, 2022
40ced0c
internal/poll: drop redundant ENOSYS and EXDEV error checks in CopyFi…
panjf2000 Aug 27, 2022
67e6542
go/ast: add Range token.Pos to RangeStmt
cuiweixie Aug 27, 2022
bd5595d
runtime: refactor finalizer goroutine status
WangLeonard Apr 13, 2022
e2e69ec
internal/syscall/unix: simplify KernelVersion
kolyshkin Sep 1, 2022
4c1ca42
internal/syscall/unix: KernelVersion nitpicks
kolyshkin Sep 1, 2022
1c50484
Revert "internal/poll: drop redundant ENOSYS and EXDEV error checks i…
mvdan Sep 5, 2022
8a32354
internal/trace: use strings.Builder
cuiweixie Sep 4, 2022
a60a3dc
Revert "runtime: convert local var stop,ready at TestDebugCallUnsafeP…
mvdan Sep 5, 2022
c761409
misc: use strings.Builder
cuiweixie Sep 4, 2022
6fcd9b4
archive: use strings.Builder
cuiweixie Sep 4, 2022
32f68b5
bufio: use strings.Builder
cuiweixie Sep 4, 2022
a89c3d7
debug: use strings.Builder
cuiweixie Sep 4, 2022
ab87db8
encoding: use strings.Builder
cuiweixie Sep 4, 2022
91a1b55
flag: use strings.Builder
cuiweixie Sep 4, 2022
07b19bf
html/template: use strings.Builder
cuiweixie Sep 4, 2022
c35bc69
image/jpeg: use strings.Builder
cuiweixie Sep 4, 2022
7c47c97
io: use strings.Builder
cuiweixie Sep 4, 2022
e3885c4
log: use strings.Builder
cuiweixie Sep 4, 2022
60ef4b2
runtime: in traceback, only jump stack if M doesn't change
aclements Sep 6, 2022
9363f35
math/big: replace dead link in a comment with link to an archive.org …
alokmenghrajani Sep 3, 2022
1110222
sync: convert Once.done to atomic type
cuiweixie Sep 2, 2022
dc029f2
runtime: add missing copyright header to signal_windows_test.go
tklauser Sep 2, 2022
979956a
os: delete unused errClosed
panjf2000 Aug 31, 2022
efa357c
net: add benchmark test for SendFile
panjf2000 Aug 26, 2022
b71ca76
debug/buildinfo: remove redundant type conversion
sashamelentyev Sep 3, 2022
e1e88d6
net: mark withTCPConnPair as test helper
tklauser Sep 5, 2022
dc629ec
net/http: make triv.go example less insecure
neild Sep 4, 2022
fbf452a
runtime: remove unused parameter on runOpenDeferFrame
mvdan Aug 31, 2022
1207ee8
cmd/doc: use strings.Builder
cuiweixie Sep 4, 2022
ce8dcd9
net/http/httputil: use strings.Builder
cuiweixie Sep 4, 2022
8f14a46
net/http/httptrace: use strings.Builder
cuiweixie Sep 4, 2022
3b044e9
net/http/cgi: use strings.Builder
cuiweixie Sep 4, 2022
e0e0c8f
mime: use strings.Builder
cuiweixie Sep 4, 2022
00234b0
internal/poll, internal/syscall/unix, net: enable writev on solaris
tklauser Sep 5, 2022
ef69718
all: make sure *Pointer[T]'s methods are inlined as intended
cuonglm Sep 5, 2022
a8237ba
go/ast: using strings.Builder
cuiweixie Sep 2, 2022
11c5bf5
go/doc: using strings.Builder
cuiweixie Sep 2, 2022
50bb42a
net/http: using strings.Builder
cuiweixie Sep 2, 2022
86f8b8d
cmd/compile/internal/syntax: use strings.Builder
cuiweixie Sep 5, 2022
90f04dd
net/http: clarify proxy selection from environment
seankhliao Sep 6, 2022
812fd2f
cmd/compile: gofmt comments
zhangyunhao116 Sep 6, 2022
c82304b
cmd/compile: do not devirtualize defer/go calls
cuonglm Sep 6, 2022
c83e1b6
cmd/link,runtime: remove unused fields from inlinedCall
prattmic Sep 2, 2022
29af494
all: update vendored golang.org/x/net
neild Sep 6, 2022
8fd2073
net: use strings.Builder
cuiweixie Sep 4, 2022
403e5f1
net/http: use strings.Builder
cuiweixie Sep 4, 2022
2b8f214
os/exec: LookPath: use eaccess for exec check on linux
kolyshkin Jun 28, 2022
bfadd78
net/rpc/jsonrpc: use strings.Builder
cuiweixie Sep 4, 2022
ccf82d5
net: fix a typo in BenchmarkSendFile
panjf2000 Sep 6, 2022
db9e549
crypto/x509/internal/macos: simplify code using unsafe.{SliceData,Str…
cuiweixie Sep 3, 2022
1429a97
cmd/compile/internal/ir: use strings.Builder
cuiweixie Sep 5, 2022
431446d
cmd/compile/internal/pkginit: use strings.Builder
cuiweixie Sep 5, 2022
095b6f0
cmd/compile/internal/ssa: use strings.Builder
cuiweixie Sep 5, 2022
502504f
cmd/compile/internal/ssagen: use strings.Builder
cuiweixie Sep 5, 2022
2a627af
bytes: simplify code using unsafe.SliceData
cuiweixie Sep 3, 2022
92b8f4e
internal/fuzz: simplify code using unsafe.{SliceData,Slice}
cuiweixie Sep 3, 2022
2ee075d
strings: simplify code using unsafe.StringData
cuiweixie Sep 3, 2022
4fe4601
runtime: simplify code using unsafe.{Slice,String}
cuiweixie Sep 3, 2022
ba1ef54
syscall: simplify code using unsafe.Slice
cuiweixie Sep 3, 2022
c011270
cmd/compile: improve Slicemask on riscv64
4a6f656c Aug 29, 2022
b6a6847
cmd/compile: avoid zero extension after properly typed atomic operati…
4a6f656c Aug 29, 2022
77da976
cmd/compile: remove redundant SEQZ/SNEZ on riscv64
4a6f656c Aug 27, 2022
6a2ff10
unicode/utf8: use strings.Builder
cuiweixie Sep 4, 2022
e2d8ed2
net/smtp: use strings.Builder
cuiweixie Sep 4, 2022
6375f50
os: use strings.Builder
cuiweixie Sep 4, 2022
f4bf9bc
runtime: use strings.Builder
cuiweixie Sep 4, 2022
ed530db
testing: use strings.Builder
cuiweixie Sep 4, 2022
b53471a
Revert "sync: convert Once.done to atomic type"
ianlancetaylor Sep 7, 2022
82d1019
net/textproto: use strings.Builder
cuiweixie Sep 4, 2022
c75d197
reflect: use strings.Builder
cuiweixie Sep 4, 2022
2e1f98e
go/parser: use strings.Builder
cuishuang Sep 7, 2022
5a96386
test: add regression test for issue 54911
cuonglm Sep 7, 2022
88149ed
os: fix wrong error msg from TestReadClosed
kolyshkin Sep 7, 2022
0752f4a
database/sql: simplify retry logic when the connection is bad
jinzhu Sep 5, 2022
d81ed4d
runtime: rename inlinedCall.func_ to inlinedCall.nameOff
prattmic Sep 2, 2022
196003f
runtime: rename _func.nameoff and friends to nameOff
prattmic Sep 6, 2022
df9d53d
cmd/vet: use strings.Builder
cuiweixie Sep 4, 2022
7ebaa65
runtime: rename _func.entryoff to entryOff
prattmic Sep 6, 2022
7033275
.github: update issue label for pkgsite-removal
seankhliao Jun 5, 2022
3e75859
cmd/link/internal/ld: update _func names to match runtime
prattmic Sep 6, 2022
027ff3f
debug/gosym: rename nameoff to nameOff to match runtime
prattmic Sep 6, 2022
cdb270c
reflect: fix stale Value.kind documentation
dsnet Aug 24, 2022
2c45feb
test: fix typo in escape_unsafe.go
mdempsky Sep 7, 2022
10ffb27
test: add failing test case for inlined type switches
mdempsky Sep 7, 2022
dfdf551
cmd/compile/internal/noder: fix type switch case vars package
mdempsky Sep 7, 2022
e828fbd
os/exec: skip TestFindExecutableVsNoexec if mount failed
kolyshkin Sep 7, 2022
454a058
cmd/compile: Add shiftIsBounded check for logic shifts of arm64
RuinanSun Jul 1, 2022
85c0d26
cmd/asm,cmd/internal/obj/ppc64: recognize ppc64 ISA 3.1 MMA registers
pmur Aug 10, 2021
a50c434
cmd/asm: improve argument to obj.Prog assignment on PPC64
pmur Sep 1, 2022
cdc6aeb
internal: convert calls to atomic type
cuishuang Sep 4, 2022
2960431
text/template: use strings.Builder
cuiweixie Sep 4, 2022
51fdfeb
runtime/race: use strings.Builder
cuiweixie Sep 4, 2022
2b6ff90
debug/elf: define additional PPC64 ELFv2 relocations
pmur Aug 8, 2022
596b0d0
cmd/api: use strings.Builder
cuiweixie Sep 4, 2022
cf4edac
cmd/asm: use strings.Builder
cuiweixie Sep 4, 2022
33628ce
cmd/cgo: use strings.Builder
cuiweixie Sep 4, 2022
47faad1
cmd/cover: use strings.Builder
cuiweixie Sep 4, 2022
866fbb6
cmd/dist: use strings.Builder
cuiweixie Sep 4, 2022
9c147cc
cmd/fix: use strings.Builder
cuiweixie Sep 4, 2022
ab0d057
cmd/link: use strings.Builder
cuiweixie Sep 4, 2022
c263fa0
cmd/pack: use strings.Builder
cuiweixie Sep 4, 2022
e5ed221
cmd/trace: use strings.Builder
cuiweixie Sep 4, 2022
530a236
runtime/pprof: use strings.Builder
cuiweixie Sep 4, 2022
403f91c
cmd/compile/internal: merge rules in PPC64.rules
laboger Aug 30, 2022
d61ffe8
runtime: use atomic types in mspanset.go for alignment and type safety
mknyszek Sep 7, 2022
0e50bf0
database: convert Tx.done to atomic type
cuiweixie Aug 27, 2022
cd8aa40
go/types, types2: implement slice-to-array conversions
griesemer Sep 7, 2022
1c59199
runtime: remove atomic store requirement on pageAlloc.chunks
mknyszek Sep 7, 2022
e28cc36
runtime: remove alignment padding in mheap and pageAlloc
mknyszek Sep 7, 2022
5a37965
runtime: make mheap.pagesInUse an atomic.Uintptr
mknyszek Sep 7, 2022
2caaad9
runtime: use searchIdx in scavengeOne
mknyszek Sep 7, 2022
51c34e2
runtime: remove unused scanSize parameter to gcmarknewobject
mknyszek Sep 7, 2022
2c3187c
spec: describe slice-to-array conversions
griesemer Sep 7, 2022
a9a3982
all: use unsafe.{Slice, SliceData, String, StringData} to simplify code
hopehook Sep 7, 2022
e20106a
time: optimize FixedZone by caching unnamed zones by the hour
dsnet Aug 23, 2022
d75e917
os: use unsafe.{Slice,StringData} instead of unsafeheader package
tklauser Sep 7, 2022
3585e9b
os: fix wrong error msg from TestDoubleCloseError
kolyshkin Sep 7, 2022
3c33c3b
strconv: remove redundant type conversion
cuishuang Sep 7, 2022
76c94eb
cmd/asm/internal/asm: don't set testOut in testErrors
ianlancetaylor Sep 7, 2022
d734203
reflect: deprecate SliceHeader and StringHeader
hopehook Sep 9, 2022
4108970
all: transfer reflect.{SliceHeader, StringHeader} to unsafeheader.{Sl…
hopehook Sep 9, 2022
218294f
internal/syscall/windows: use unsafe.Slice instead of unsafeheader pa…
tklauser Sep 7, 2022
9a5574a
go/printer: reduce allocations to improve performance
mvdan Aug 19, 2022
1b19698
cmd/go/internal/modload: use atomic.Pointer for Requirements.graph
Abirdcfly Sep 7, 2022
f53b211
syscall: use unsafe.Slice instead of unsafeheader package
tklauser Sep 7, 2022
bca17d1
syscall: add CgroupFD support for ForkExec on Linux
kolyshkin Jul 15, 2022
86477e5
os: add a test case of copying a file itself via io.Copy
panjf2000 Sep 5, 2022
4f3246c
internal/poll: drop redundant ENOSYS in CopyFileRange
panjf2000 Sep 6, 2022
8618858
go/ast: use strings.Builder
cuishuang Sep 7, 2022
600db8a
runtime/race: also unmap memory if TestNonGoMemory fails
tklauser Sep 7, 2022
03e649f
Enables PGO in Go and performs profile-guided inlining
Sep 9, 2022
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.
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE

This file was deleted.

45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/00-bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
name: Bugs
about: The go command, standard library, or anything else
title: "affected/package: "
---

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version

</pre>

### Does this issue reproduce with the latest release?



### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env

</pre></details>

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on go.dev/play is best.
-->



### What did you expect to see?



### What did you see instead?


47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/01-pkgsite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
name: Pkg.go.dev bugs or feature requests
about: Issues or feature requests for the documentation site
title: "x/pkgsite: "
labels: pkgsite
---

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What is the URL of the page with the issue?



### What is your user agent?

<!--
You can find your user agent here:
https://www.google.com/search?q=what+is+my+user+agent
-->



### Screenshot

<!--
Please paste a screenshot of the page.
-->



### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
-->



### What did you expect to see?



### What did you see instead?


39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/02-pkgsite-removal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Pkg.go.dev package removal request
about: Request a package be removed from the documentation site (pkg.go.dev)
title: "x/pkgsite: package removal request for [type path here]"
labels: pkgsite/package-removal
---

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What is the path of the package that you would like to have removed?

<!---
We can remove packages with a shared path prefix.
For example, a request for "github.com/author" would remove all pkg.go.dev pages with that package path prefix.
--->



### Are you the owner of this package?

<!---
Only the package owners can request to have their packages removed from pkg.go.dev.
--->



### What is the reason that you could not retract this package instead?

<!---
If you would like to have your module removed from pkg.go.dev, we recommend that you retract them, so that they can be removed from the go command and proxy.golang.org as well.

Retracting a module version involves adding a retract directive to your go.mod file and publishing a new version. For example: https://github.com/jba/retract-demo/blob/main/go.mod#L5-L8

See https://pkg.go.dev/about#removing-a-package for additional tips on retractions.
--->


61 changes: 61 additions & 0 deletions .github/ISSUE_TEMPLATE/03-gopls.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
name: Gopls bugs or feature requests
about: Issues or feature requests for the Go language server (gopls)
title: "x/tools/gopls: "
labels: gopls Tools
---

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### gopls version

<!--
Output of `gopls -v version` on the command line
-->



### go env

<!--
Output of `go env` on the command line in your workspace directory
-->


### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on go.dev/play is better.
A failing unit test is the best.
-->



### What did you expect to see?



### What did you see instead?



### Editor and settings

<!--
Your editor and any settings you have configured (for example, your VSCode settings.json file)
-->



### Logs

<!--
If possible please include gopls logs. Instructions for capturing them can be found here:
https://github.com/golang/tools/blob/master/gopls/doc/troubleshooting.md#capture-logs
-->


51 changes: 51 additions & 0 deletions .github/ISSUE_TEMPLATE/04-vuln.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
name: Go vulnerability management - bugs and feature requests
about: Issues or feature requests about Go vulnerability management
title: "x/vuln: "
labels: "vulncheck or vulndb"
---

<!--
Please answer these questions before submitting your issue. Thanks!

To add a new vulnerability to the Go vulnerability database
(https://vuln.go.dev), see https://go.dev/s/vulndb-report-new.

To report an issue about a report, see https://go.dev/s/vulndb-report-feedback.
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version

</pre>

### Does this issue reproduce at the latest version of golang.org/x/vuln?



### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env

</pre></details>

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on go.dev/play is best.
-->



### What did you expect to see?



### What did you see instead?


13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/10-proposal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Proposals
about: New external API or other notable changes
title: "proposal: affected/package: "
labels: Proposal
---

<!--
Our proposal process is documented here:
https://go.dev/s/proposal-process
-->


52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/11-language-change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
name: Language Change Proposals
about: Changes to the language
title: "proposal: Go 2: "
labels: Proposal Go2 LanguageChange
---

<!--
Our process for evaluating language changes can be found here:
https://go.googlesource.com/proposal/+/refs/heads/master#language-changes
-->

### Author background

- **Would you consider yourself a novice, intermediate, or experienced Go programmer?**
- **What other languages do you have experience with?**

### Related proposals

- **Has this idea, or one like it, been proposed before?**
- **If so, how does this proposal differ?**
- **Does this affect error handling?**
- **If so, how does this differ from previous error handling proposals?**
- **Is this about generics?**
- **If so, how does this relate to the accepted design and other generics proposals?**

### Proposal

- **What is the proposed change?**
- **Who does this proposal help, and why?**
- **Please describe as precisely as possible the change to the language.**
- **What would change in the language spec?**
- **Please also describe the change informally, as in a class teaching Go.**
- **Is this change backward compatible?**
- Breaking the Go 1 compatibility guarantee is a large cost and requires a large benefit.
Show example code before and after the change.
- **Before**
- **After**
- **Orthogonality: how does this change interact or overlap with existing features?**
- **Is the goal of this change a performance improvement?**
- **If so, what quantifiable improvement should we expect?**
- **How would we measure it?**

### Costs

- **Would this change make Go easier or harder to learn, and why?**
- **What is the cost of this proposal? (Every language change has a cost).**
- **How many tools (such as vet, gopls, gofmt, goimports, etc.) would be affected?**
- **What is the compile time cost?**
- **What is the run time cost?**
- **Can you describe a possible implementation?**
- **Do you have a prototype? (This is not required.)**
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Questions
about: Please use one of the forums for questions or general discussions
url: https://go.dev/wiki/Questions
2 changes: 1 addition & 1 deletion .github/SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ For asking questions, see:

* [Stack Overflow](https://stackoverflow.com/questions/tagged/go) with questions tagged "go"

* **IRC** channel #go-nuts on Freenode
* **IRC** channel #go-nuts on Libera
Loading