Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hack-pad/go

The Go programming language
https://github.com/hack-pad/go

misc/cgo/testshared: increase size limit in size check

Recently in Fedora we switched binutils ld's separate-code on. This
led to increased size of bin...

83fc0978e5d953ed058ca30bcfb8ddbc9ebdd88d authored almost 3 years ago by Jakub Čajka <[email protected]>
misc/cgo/testshared: pass -x flag only to commands supporting it

Running testshared with the -testx flag leads to:

./testshared.test -testx -testwork
+ mkdir -p...

d5fefbb4980aaf46ac25344615c660136c365b9f authored almost 3 years ago by Jakub Čajka <[email protected]>
all: fix typo in comment

Remove duplicate 'the'

Change-Id: I3ed81c8d9c488662387e45580a3bcd462448ba44
GitHub-Last-Rev: 86...

567b177949d0819169c10ba6a07ff60554eb5285 authored almost 3 years ago by ichxxx <[email protected]>
doc/go1.18: discuss embedded build info compatibility

Fixes #50085

Change-Id: I9be8ddb983fb4fe598becbb0b93bb5b7e1f8438f
Reviewed-on: https://go-revie...

b1c7703f266a2d72f80f3b55eff822ad7980ce31 authored almost 3 years ago by Hana <[email protected]>
net: eliminate arbitrary timeout in TestVariousDeadlines

When we set a timeout, we don't actually have a guarantee one how long
the OS will take to notic...

b5c0dbaafc548bd432c14935ae242ce1433180e8 authored almost 3 years ago by Bryan C. Mills <[email protected]>
doc/go1.18: mention that embedding a type parameter is forbidden

For #47694

Change-Id: Ibf38eabcb78abc563fcf77e2b566175a18c06fa3
Reviewed-on: https://go-review....

9d0ca262bbfa5561910f75e7b7d937b615d69393 authored almost 3 years ago by Ian Lance Taylor <[email protected]>
runtime/cgo: fix signature of crosscall_amd64 in comment

In CL 289192, crosscall_amd64() was changed to recieve 3
arguments, but the comment was not upda...

c948823cb7fc898eafb798ad15655663755d0bc9 authored almost 3 years ago by MoZhonghua <[email protected]>
doc/go1.18: fix an unclosed anchor

Change-Id: I432bcc6ff917d008598b2f37c6e826f588a3d6d6
Reviewed-on: https://go-review.googlesource...

dc5a8f9647257584a17efef219edc7d494b9a5bc authored almost 3 years ago by Brad Fitzpatrick <[email protected]>
doc: fix typo in 1.18 release notes for package testing

In release notes for Go 1.18, fix typo in changes for package testing to
correctly document the ...

38c067d178111d48a5ce96feccae1a7abe28ff59 authored almost 3 years ago by Olivier Mengué <[email protected]>
go/types: record types for union subexpressions

Prior to unions, unary and binary expressions always had a recorded
type. Preserve this by recor...

8108444eaa7ee45a74b2f2da6d21dd1d2b0c0352 authored almost 3 years ago by Robert Findley <[email protected]>
go/types: externalize union type sets

Move calculated type sets for unions into a map, rather than storing
them on the Union type.

Ty...

af05064f978729f3b066e1d627633c11c5e267e2 authored almost 3 years ago by Robert Findley <[email protected]>
doc/go1.18: add caution about use of generics in production

Per https://groups.google.com/g/golang-dev/c/iuB22_G9Kbo/m/7B1jd1I3BQAJ.

For #47694

Change-Id:...

1540239f48f6beaa1cae6b34d00d74860366da7d authored almost 3 years ago by Ian Lance Taylor <[email protected]>
doc/go1.18: move debug/buildinfo to core library section

It is a new package and seems a major change.

Updates #47694.

Change-Id: If854e494e28bcd1e79c9...

fc8ae9860a820e2d5179fc3b15b247e0545f2a28 authored almost 3 years ago by Cherry Mui <[email protected]>
os: enable TestClosedPipeRace* on FreeBSD

This test has worked since CL 165801 (committed March 12, 2019), so
stop skipping it. With this,...

0f05ed3b7821db1d73954aa9e7fd49e5a19ec12a authored almost 3 years ago by Austin Clements <[email protected]>
testing: retry spurious errors from RemoveAll for temp directories

This works around what appears to be either a kernel bug or a Go
runtime or syscall bug affectin...

d407a8c3c49f11980f224d204147eff8fcb087f4 authored almost 3 years ago by Bryan C. Mills <[email protected]>
doc: update go1.18 release notes with a blurb about workspace mode

For #47694

Change-Id: I79cdbdc66ea9942b597f29c9a4f428075f053466
Reviewed-on: https://go-review....

265fbaa94b8614cbd861711d7f7c6d278dc1ddba authored almost 3 years ago by Michael Matloob <[email protected]>
api: promote next to go1.18

Change-Id: Ifc61e67413e5e56afbd0d4954f0150303d1a3a27
Reviewed-on: https://go-review.googlesource...

becaeea1199b875bc24800fa88f2f4fea119bf78 authored almost 3 years ago by Cherry Mui <[email protected]>
doc/go1.18: remove residual TODOs

There doesn't seem anything that still needs to de done there.

Updates #47694.

Change-Id: I790...

46ba32a2ca304b0b73979736d6fb8013529e9172 authored almost 3 years ago by Cherry Mui <[email protected]>
cmd/compile: fix any in -G=0 mode

Fixes go test -gcflags=all=-G=0 -short std,
except for the packages with generics in their tests...

c1f012a0d9b4c7bc9f2a1474f4935e53eccd1794 authored almost 3 years ago by Russ Cox <[email protected]>
go/types, types2: record (top-level) union types

Fixes #50093.

Change-Id: Ibebeda542d2a81c979670f9098c4a6d2c3e73abb
Reviewed-on: https://go-revi...

1afa432ab93aa9adb2e0f04b6c15eb654762d652 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile: fix case where we didn't delay transformAssign in varDecl

We delay all transformations on generic functions, and only do them on
instantiated functions, f...

006d4e627812816123a5bb86ebf5a2fa57af8b4a authored almost 3 years ago by Dan Scales <[email protected]>
cmd/compile: avoid re-instantiating method that is already imported

We can import an shape-instantiated function/method for inlining
purposes. If we are instantiati...

5b9207ff67bd3df43a95fd403b2e06e2aa4c33bf authored almost 3 years ago by Dan Scales <[email protected]>
cmd/internal/obj: fix tail call in non-zero frame leaf function on MIPS and S390X

A "RET f(SB)" wasn't assembled correctly in a leaf function with
non-zero frame size. Follows CL...

67917c3d78002ebca7de697f4ede74e602701554 authored almost 3 years ago by Cherry Mui <[email protected]>
net/http: revert h2_bundle.go formatting change from CL 368254

h2_bundle.go is automatically generated from x/net/http2. Any
formatting changes within that fil...

9e85dc5f183d688f5297203dd76f281a6d87d94f authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/go: document -fuzzminimizetime

Change-Id: I435942ff7285d32ffbc8901d9d7e76544d5aeb61
Reviewed-on: https://go-review.googlesource...

7bdbc73be1d10a9b32cb5edc6b9d0c93805f059c authored almost 3 years ago by Katie Hockman <[email protected]>
cmd/compile/internal/amd64: fix for coverage testing

Fix up a unit test to make it more friendly for coverage runs.
Currently on tip if you do

cd...

3e8aa5dd495d30ff29cd4fb78aabe8fc0ebb1eda authored almost 3 years ago by Than McIntosh <[email protected]>
testing: update docs for fuzzcachedir

Although most of the code seems to be already implemented
to support this for general use, it di...

f909f813a0c12fde089a6c5e18fdcb9e71759cf7 authored almost 3 years ago by Katie Hockman <[email protected]>
all: gofmt -w -r 'interface{} -> any' src

And then revert the bootstrap cmd directories and certain testdata.
And adjust tests as needed.
...

2580d0e08d5e9f979b943758d3c49877fb2324cb authored almost 3 years ago by Russ Cox <[email protected]>
spec: fix conversion rules (match implementation)

As written, the conversion P(x), where P and the type
of x are type parameters with identical un...

083ef5462494e81ee23316245c5d65085a3f62d9 authored almost 3 years ago by Robert Griesemer <[email protected]>
net: refactor TestWriteToTimeout

The test cases for this test had listed specific errors, but the
specific error values were igno...

acc65b47e12e2ba061b8ab4f86b183d039072776 authored almost 3 years ago by Bryan C. Mills <[email protected]>
net: create unix sockets in unique directories

This change applies the same transformation as in CL 366774,
but to the net package.

testUnixAd...

4b3d8d1a390a51ea6a1b3f66ef9d56ef7203bbe7 authored almost 3 years ago by Bryan C. Mills <[email protected]>
net: pass a testing.TB to newLocal* helpers

Passing in an explicit testing.TB gives two benefits:

1. It allows the helper to fail the test ...

b55cbbb9e76969d67fbc6e264a584ad18c2f95fa authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/asm,cmd/compile: fix tail call in leaf functions on PPC64

In some leaf functions using "RET foo(SB)", the jump may be incorrectly
translated into "JMP LR"...

d198a36d8c1d0a251449a1cc2355485a177310c4 authored almost 3 years ago by Paul E. Murphy <[email protected]>
net: don't check "invalid.invalid" lookup errors in TestLookupHostCancel

The exact error isn't actually relevant to the test,
and may depend on whether the Go or cgo res...

f4ca598c9f08a4d00942a1c6a6b8cc7d8f162b66 authored almost 3 years ago by Bryan C. Mills <[email protected]>
net: do not try to remove the LocalAddr of a unix socket

TestUnixAndUnixpacketServer deferred a call to os.Remove on the local
address of a dialed unix d...

6f42be78bbc107beef8b6eb61a794355e07120ca authored almost 3 years ago by Bryan C. Mills <[email protected]>
net: remove erroneous Dial check in TestListenerClose

TestListenerClose had been asserting that a Dial to the newly-closed
address always fails, on th...

36db10f3cb916a1b97af3bfd4be7e3a2932185f8 authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/compile: fix identity case relating to 'any' and shape types

In identical(), we don't want any to match a shape empty-interface type
for the identStrict opti...

9bfe09d78bd1b3ab97bc6e1c31395f0822875fba authored almost 3 years ago by Dan Scales <[email protected]>
net/netip: make Prefix.MarshalText format 4-in-6 IPs consistently

Fixes #50115.

Change-Id: Iac76e5b486d3a2a784583345eaeb22c31cc4a36d
Reviewed-on: https://go-revi...

49b7c9caec6b96d0b327624efee61bd8a72cf68c authored almost 3 years ago by Matt Layher <[email protected]>
os: document error returned by pending I/O operations on Close

Currently, File.Close only documents that "an" error will be returned
by pending I/O operations....

56817040d53187abcd568af0eea27cc21379c0ad authored almost 3 years ago by Austin Clements <[email protected]>
runtime: run gdb with a timeout for TestGdbBacktrace

This sometimes times out and we don't have any useful output for
debugging it. Hopefully this wi...

8692bacb6a43d1f65e09d0e581ca8b464fd77664 authored almost 3 years ago by Austin Clements <[email protected]>
testenv: kill subprocess if SIGQUIT doesn't do it

This makes testenv.RunWithTimeout first attempt to SIGQUIT the
subprocess to get a useful Go tra...

cc795a01dcec7c97044b31571af88ac98310f2b3 authored almost 3 years ago by Austin Clements <[email protected]>
testenv: abstract run-with-timeout into testenv

This lifts the logic to run a subcommand with a timeout in a test from
the runtime's runTestProg...

6b8977372263504535cad6e880ffca156bdfdf68 authored almost 3 years ago by Austin Clements <[email protected]>
net/netip: make AddrPort.MarshalText format 4-in-6 IPs consistently

Thanks again to @capnspacehook.

Fixes #50110

Change-Id: I1973bdea68eac9842b45f9524f62152e4f534...

9c6e8f63c0e4f24ccf4326164ddbc0f0607343a2 authored almost 3 years ago by Brad Fitzpatrick <[email protected]>
net/netip: fix formatting of IPv4-in-6 address with zone

Weird, but don't drop the zone when stringifying.

Fixes #50111

Change-Id: I5fbccdfedcdc77a77ee...

1c1998ea08d41ef09ef16c22eb8e53ea0eb569c5 authored almost 3 years ago by Brad Fitzpatrick <[email protected]>
doc: document cmd/vet changes for 1.18 release

cmd/vet has several precision improvements for the checkers copylock, printf, sortslice, testing...

766f89b5c625f8c57492cf5645576d9e6f450cc2 authored almost 3 years ago by Tim King <[email protected]>
net: ignore EADDRINUSE errors when dialing to IPv4 from IPv6 on FreeBSD

The failure mode in #34264 appears to match
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=21...

c473ca087733236a6524900d037d92f32d5f6b70 authored almost 3 years ago by Bryan C. Mills <[email protected]>
go/types: remove TODO that is no longer relevant

Change-Id: Ie897b7b9c0a61c837245642c608129108e28423e
Reviewed-on: https://go-review.googlesource...

13d15d147dd09b9209f5bc3778905684379129d8 authored almost 3 years ago by Hossein Zolfi <[email protected]>
[dev.boringcrypto] misc/boring: add new releases to RELEASES file

Change-Id: Id5293d1271370adb49489e5902000604827c4836
Reviewed-on: https://go-review.googlesource...

069bbf543456dd7364dcb728a73b98f0044996ae authored almost 3 years ago by Alexander Rakoczy <[email protected]>
cmd/compile: preserve 'any' type alias in unified IR

When exporting the "any" empty interface type for unified IR, write it
out as a reference to the...

8ff254e30ba9d9c13747fe42213c3f54b47c58e7 authored almost 3 years ago by Matthew Dempsky <[email protected]>
cmd/compile: fix type error reported on the wrong line

The 'Does not match' type error shoud be reported where
the function is called, not where the fu...

ece493eb831a7797d03d60b44b817caf1c63a0ab authored almost 3 years ago by Jason7602 <[email protected]>
crypto/x509: skip known TestSystemVerify flakes on windows-*-2008 builders

The "-2008" builders are the only ones on which the failure has
been observed, so I suspect that...

78b4518e31b39aac4fbad1679db95b3f526229a7 authored almost 3 years ago by Bryan C. Mills <[email protected]>
net/http: update bundled golang.org/x/net/http2

Pull in security fix

2d13015 http2: cap the size of the server's canonical header cache

an...

307d7c67477ee7ccb8544ac802e965b5d18a069e authored almost 3 years ago by Filippo Valsorda <[email protected]>
cmd/go: use -count=1 in test_fuzz_chatty.txt

Fuzz tests in test_fuzz_chatty.txt now use -count=1 where applicable.

Fixes #48984

Change-Id: ...

61ba0bcf8eebd1515d1af7a0e918bf912db6eb46 authored almost 3 years ago by Julie Qiu <[email protected]>
syscall: avoid writing to p when Pipe(p) fails

Generally speaking Go functions make no guarantees
about what has happened to result parameters ...

474ebb917cb802bf1d08434a265515d50c174082 authored almost 3 years ago by Russ Cox <[email protected]>
syscall: fix ForkLock spurious close(0) on pipe failure

Pipe (and therefore forkLockPipe) does not make any guarantees
about the state of p after a fail...

a76511f3a40ea69ee4f5cd86e735e1c8a84f0aa2 authored almost 3 years ago by Russ Cox <[email protected]>
doc: document the new types.Config.GoVersion field

Also update some other go/types release notes to use the present tense.

Updates #47694

Change-...

d6c4583ad4923533ddc9f5792ed3b66f3b9f9feb authored almost 3 years ago by Robert Findley <[email protected]>
runtime/pprof: increase systemstack calls in TestLabelSystemstack

TestLabelSystemstack needs to collect samples within runtime.systemstack
to complete the test.

...

f5ddd94334a63ac8107c976aa4bd6ee2171d7d64 authored almost 3 years ago by Michael Pratt <[email protected]>
cmd/api: run half as many go list calls in parallel

We currently run one 'go list' invocation per GOMAXPROC. Since the go
command uses memory and ha...

bb9b20a15d637667614ec4a312f216bd4c67b76a authored almost 3 years ago by Heschi Kreinick <[email protected]>
doc: document cmd/vet changes for generics in 1.18

Fixes #50011
Updates #47694

Change-Id: Id3d43f2f72de61b360b79c2b375ca1372d5f4692
Reviewed-on: h...

9e29dd42df18141506dcfc2513e8a653564fdbf1 authored almost 3 years ago by Robert Findley <[email protected]>
cmd/compile: try to preserve IsStmt marks from OpConvert

Note when a statement mark was not consumed during Prog
generation, and try to use it on a subse...

61011de1af0bc6ab286c4722632719d3da2cf746 authored almost 3 years ago by David Chase <[email protected]>
doc: add in release note about compiler being roughly 15% slower

Updates #49569

Change-Id: Ifba769993c50bb547cb355f56934fb572ec17a1a
Reviewed-on: https://go-rev...

7b7efd7a7c952f8b372c861c94acd159ee371acb authored almost 3 years ago by Dan Scales <[email protected]>
test: add extra typeswitch tests that cause duplicate cases

Augmented some of the typeswitch*.go tests so that some instantiations
have duplicate cases, in ...

c1c303f6f8b77d3ed4e135583f3d60b159907245 authored almost 3 years ago by Dan Scales <[email protected]>
cmd/go: fix hang in workspaces

golang.org/cl/365234 incorrectly had pruningForGoVersion always return
workspace pruning instead...

85a8e1786a669efe525fd4555edb77a60bac2ffe authored almost 3 years ago by Michael Matloob <[email protected]>
cmd/compile/internal/types2: sort to reduce computational complexity of initOrder

This is a clean port of CL 369434 to types2.

Change-Id: I3f9f80757bfbefb7b0417eef9e7b7c74c4c100...

6b609110fdfab4a496c246889f1e67fd7cba61df authored almost 3 years ago by Robert Findley <[email protected]>
go/types: sort to reduce computational complexity of initOrder

Our calculation of initOrder builds the dependency graph and then
removes function nodes approxi...

ac7e950d385b871ca28e1ac723d6ad97ebe3a4d7 authored almost 3 years ago by Robert Findley <[email protected]>
doc/go1.18: clarify additions to net package API

For #47694.

Updates #46518.

Change-Id: Ife3a8d3d6a1c50f55b5ab15730d5a6bd3ec512e1
Reviewed-on: ...

c759ec228435e387a5c863b6b886b49a055fa80a authored almost 3 years ago by Austin Clements <[email protected]>
build: for default bootstrap, use Go 1.17 if present, falling back to Go 1.4

Preparation for #44505, but safe for Go 1.18.
Also fixes the default build on Macs, at least for...

f5b5939c28ecb8b8c0897584fed78589c27348f6 authored almost 3 years ago by Russ Cox <[email protected]>
runtime: fix flake in TestCgoPprofThread

If the test's main goroutine receives a SIGPROF while creating the
C-owned thread for the test, ...

46db6aa1573def4ba06dbf5c38e704d85dc303b6 authored almost 3 years ago by Rhys Hiltner <[email protected]>
net/smtp: skip TestTLSSClient on all freebsd platforms

This test seems like it needs attention from a TLS and/or FreeBSD
expert. In the meantime, it ne...

3042ba34db86853c7035046716c4a00b2dbef2ed authored almost 3 years ago by Bryan C. Mills <[email protected]>
Revert "net: in (*netFD).dial, use the passed in local address if getsockname fails"

This reverts CL 366536

Reason for revert: may have caused #50033 due to an invalid or partially...

2c85fcd47d6804d94a1fa4da65f756200ecf57a8 authored almost 3 years ago by Bryan Mills <[email protected]>
debug/buildinfo: update test for CL 369977

As a side effect of the changes in cmd/go/internal/work in CL 369977,
binaries built in GOPATH m...

9fe77de3c198848b972915245e41ff26439b08aa authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd: go get golang.org/x/tools@fd2bfb7 (Dec 7 2021)

cd src/cmd
go get golang.org/x/tools@fd2bfb7
go mod tidy
go mod vendor

Brings in fixes to c...

08025a9d6d7d33f3ac0c78b4d067bdc339225507 authored almost 3 years ago by Russ Cox <[email protected]>
doc/go1.18: move fuzzing to tools section

For #47694

Change-Id: Idab1a5822a096447c71776ee4339c4262183ceb7
Reviewed-on: https://go-review....

a19e72cb89fd33e5bf1474887e267806f65b7a40 authored almost 3 years ago by Ian Lance Taylor <[email protected]>
cmd/go: fix references to old `go mod editwork`

That is replaced by `go work edit`.

Change-Id: I39996c7bea0182a18edf6a1f70b6616c74099a1b
Review...

016e6ebb4264f4b46e505bb404953cdb410f63f2 authored almost 3 years ago by Hana <[email protected]>
Revert "build: for default bootstrap, use Go 1.17 if present, falling back to Go 1.4"

This reverts https://golang.org/cl/369914.

Reason for revert: Breaking previously working toolc...

34573aeb9717cf20d768e640c263b294df5318a4 authored almost 3 years ago by Michael Pratt <[email protected]>
runtime/pprof: assert that labelHog samples are always labeled

With https://golang.org/issue/50007 resolved, there are no known issues
with pprof labels remain...

0a15e7851a0ea1ebe1523bb70a6cfe56488ea2ef authored almost 3 years ago by Michael Pratt <[email protected]>
runtime/pprof: consume tag for first CPU record

profBuf.write uses an index in b.tags for each entry, even if that entry
has no tag (that slice ...

a3ae45ebe1b3576428f5eb27347704b2d099eab0 authored almost 3 years ago by Michael Pratt <[email protected]>
cmd/compile: deal with unsatisfiable type assertion in some instantiations

Deal with case where a certain instantiation of a generic
function/method leads to an unsatisfia...

cf1ec173603f950aaccb549602ed0fee57e6b709 authored almost 3 years ago by Dan Scales <[email protected]>
doc/go1.18: mention bytes.Cut and strings.Cut

For #47694.

Updates #46336.

Change-Id: Ibbd058a1fd4d6b0aa38d3e8dc15b560d1e149f7e
Reviewed-on: ...

e08d1fba37ad32fbe7e8d57cd75c9a88dfdde87f authored almost 3 years ago by Austin Clements <[email protected]>
doc/go1.18: drop TODO for "Changes to the language"

For #47694

Change-Id: I142776001eecb451e8722163cfd3f2ecb0ecf35c
Reviewed-on: https://go-review....

dc50d69119ca8070dd16fb968b46f21f854d89fb authored almost 3 years ago by Austin Clements <[email protected]>
cmd/go: fix flaky test

Change-Id: I641c7b8bcf8b9a8f0637995b26eea0fbe2900ef9
Reviewed-on: https://go-review.googlesource...

daf901810553b0ccdd9562523ecfad7d11e9b001 authored almost 3 years ago by Katie Hockman <[email protected]>
internal/fuzz: handle unrecoverable errors during minimization

Previously, if an unrecoverable error occurred during
minimization, then the input that caused t...

2ebe081288377fa4e9f71b1dab8557a042a9a670 authored almost 3 years ago by Katie Hockman <[email protected]>
cmd/link, cmd/go: make version info easier to extract

Reading the version information to date has required evaluating
two pointers to strings (which t...

b37a5391f9e452aa779205add12bd89f44e3fcf0 authored almost 3 years ago by Russ Cox <[email protected]>
build: for default bootstrap, use Go 1.17 if present, falling back to Go 1.4

Preparation for #44505, but safe for Go 1.18.
Also fixes the default build on Macs, at least for...

4300f105147dc0da9d1034704ad1cd24bedde5da authored almost 3 years ago by Russ Cox <[email protected]>
cmd/go: add missing cgo conditions in script tests

Change-Id: I7cd1643b2dd5c00be84574d17830b1d5383643fa
Reviewed-on: https://go-review.googlesource...

a08bbd964dd037331b2693aff731ec2d8376a721 authored almost 3 years ago by Bryan C. Mills <[email protected]>
doc/go1.18: add docs for -count when benchmarking

CL 356669

Updates #47694

Change-Id: I49e0cdd3b34e81e9e44020a8eb1304d78249cd66
Reviewed-on: htt...

085d6ff5312a789b8c34c51e84e4a2b39a6631ca authored almost 3 years ago by Jeremy Faller <[email protected]>
net/http: remove arbitrary timeout in TestServerHijackGetsBackgroundByte_big

This test fails with "timeout" once per couple of months.
It may be that the arbitrary timeout i...

e5ba7d3abf1e356f8cb7d760f95a389dd08c63ae authored almost 3 years ago by Bryan C. Mills <[email protected]>
runtime: fix comments on the behavior of SetGCPercent

Fixes for #49680, #49695, #45867, and #49370 all assumed that
SetGCPercent(-1) doesn't block unt...

4c943abb95578da4bfd70d365814a130da8d5aa2 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
cmd/go: fix tests broken in CL 358539

CL 358539 revised the build-stamp format, and updated the git and hg
tests to match. However, th...

dc65c489cc5a795a68d844ed7a45e5d16562401d authored almost 3 years ago by Bryan C. Mills <[email protected]>
net: in (*netFD).dial, use the passed in local address if getsockname fails

'man getsockname' lists a number of possible failure modes, including
ENOBUFS (for resource exha...

e07b02ff87af594a68484dcb1e3a78d1c39abc56 authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/dist: enable plugin test on Linux/ARM64

The test was skipped because with the old gold linker on the
builder it fails with an internal e...

0eb39ca1f0ca118e78648fb6844d35d0a96e5eee authored almost 3 years ago by Cherry Mui <[email protected]>
runtime: clean up redundant calls to SetGCPercent in debug_test.go

SetGCPercent(-1) is called by several tests in debug_test.go (followed
by a call to runtime.GC) ...

6f65d470d8b688573891420f7a428191d8c6cd49 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
misc/cgo/testplugin: remove skip in TestIssue25756pie

Though this was a problem for Go 1.17,
it appears not to be a problem on tip.

This reverts chan...

79b425e9fca11d189142504bc81cf4e009092f6d authored almost 3 years ago by Dmitri Shuralyov <[email protected]>
runtime: call runtime.GC in several tests that disable GC

These tests disable GC because of the potential for a deadlock, but
don't consider that a GC cou...

871d63fb73476bc3bf52ceec9aa8bef3ffc85d51 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
net: clarify that conn.LocalAddr and conn.RemoteAddr might not be known

For #34611

Change-Id: I9a1357f53124c98ad017b58774696d0377dbea27
Reviewed-on: https://go-review....

8ea0ffb84a5807438061d34256448df9948a3809 authored almost 3 years ago by Bryan C. Mills <[email protected]>
log/syslog: create unix sockets in unique directories

startServer was invoking os.Remove on the temporary file for a unix
socket after creating it. Si...

6180c4f5ebae4635377dfa778e05097cf8fc69a8 authored almost 3 years ago by Bryan C. Mills <[email protected]>
doc/go1.18: add new sync.[RW]Mutex methods

CL 319769

Updates #47694

Change-Id: I9655af0d249926617645c33617d53b73f985aa19
Reviewed-on: htt...

d16a57542a83adfb8182508291ddcfe99c406818 authored almost 3 years ago by Jeremy Faller <[email protected]>
doc/go1.18: add changes to strconv.Unquote to release notes

CL 343877

Updates #47694

Change-Id: I37a0a0d1f7ab937b12812981ecddc89eb8c99c24
Reviewed-on: htt...

870f33f6efcbb5db7b556cbe3438aa7925270825 authored almost 3 years ago by Jeremy Faller <[email protected]>
doc/go1.18: add docs for js.Wrapper's removal

CL 356430

Updates #47694

Change-Id: I802cd50f2827caa0549c25685c0b1bb8dfc40968
Reviewed-on: htt...

1c4cf50e113f402eb6986a2007cd9c820b1bb69f authored almost 3 years ago by Jeremy Faller <[email protected]>
doc/go1.18: add changes to regexp to release notes

CL 354569

Updates #47694

Change-Id: I78536c110215b3c9f247c1420bcaa5fc3d8fb930
Reviewed-on: htt...

0bbb74b5ac8c01def959ef2e32ac3295d4f2707e authored almost 3 years ago by Jeremy Faller <[email protected]>