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

encoding/json: move some misplaced benchmark tests to bench_test.go

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

1a8dfadbfe26978cba0d6ce57bf437a93f796da6 authored about 2 years ago by Andy Pan <[email protected]>
internal/singleflight: make DoChan only return Result channel

So next CL can delete "internal/singleflight" and vendor
"golang.org/x/sync/singleflight" instea...

75cdd2c75dfa3f8095f9e9304513445d461580d4 authored about 2 years ago by Cuong Manh Le <[email protected]>
net: avoid relying on singleflight.Group.DoChan to detect hook called

So next CLs can revert changes to "internal/singleflight" in CL #82795,
then replace it with "go...

7ee220c56768021179b7c4be19631be82773b9da authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/internal/obj/loong64: add MASKEQZ and MASKNEZ instructions support

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

1dcef7b3bdcea4a829ea22c821e6a9484c325d61 authored about 2 years ago by Wayne Zuo <[email protected]>
runtime/pprof: remove round-to-file-start adjustment

This causes a problem in the test sometimes. With a mapping like:

00400000-00411000 r--p 000000...

aa4299735b78189eeac1e2c4edafb9d014cc62d7 authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: generic constant folding: Floor Ceil Trunc RoundToEven

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

ab8a2c5e4467f55417f4ade4f8e3f9a867946e40 authored about 2 years ago by Jorropo <[email protected]>
net/url: consistently remove ../ elements in JoinPath

JoinPath would fail to remove relative elements from the start of
the path when the first path e...

0765da5884adcc8b744979303a36a27092d8fc51 authored about 2 years ago by Damien Neil <[email protected]>
cmd/compile: move SSA rotate instruction detection to arch-independent rules

Detect rotate instructions while still in architecture-independent form.
It's easier to do here,...

60ad3c48f59c35981dd872ed5dfe74e4d6becab2 authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: fix error message formatting in decomposeBuiltInPhi

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

a36a0c440e7b3cfd6ede8f1ab1981101e6db8d95 authored about 2 years ago by Jorropo <[email protected]>
all: append(bytes, str...) works out of the box

From the append docs in the builtin package:

As a special case, it is legal to append a string...

790d60537e0888464a1c8a6f98c20baf2eeacdf2 authored about 2 years ago by Daniel Martí <[email protected]>
net/http/httputil: do not duplicate 'Connection: close' headers

Fixes #54616.

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

44d057d5818e11982b679a83d54e9a4eac4f823f authored about 2 years ago by Miguel Ángel Jimeno <[email protected]>
syscall: rely on utf16.AppendRune

Using utf16.AppendRune instead of utf16.Encode safe a bunch
of allocations across the board, as ...

d88560afd32d18d8c9c3b31c41ae9877ca292e1d authored about 2 years ago by qmuntal <[email protected]>
debug/plan9obj: don't crash on EOF before symbol type

No debug/plan9obj test case because the problem can only happen for
invalid data. Let the fuzzer...

fc0d423789e3a2e1f84801be14ac657d41c115e4 authored about 2 years ago by Ian Lance Taylor <[email protected]>
debug/macho: don't use narch for seenArches map size

If narch is very large we would allocate a lot of memory for seenArches.
In practice we aren't g...

b72521ee505f5f71002d6e9114d32075c2a3b847 authored about 2 years ago by Ian Lance Taylor <[email protected]>
strconv: optimize Parse for []byte arguments

When one has a []byte on hand, but desires to call the Parse functions,
the conversion from []by...

cf26fbb1f6d9644f447342f42d2dddcbe9ceda61 authored about 2 years ago by Joe Tsai <[email protected]>
bytes: rely on utf8.AppendRune

This is both simpler and more performant.

WriteRune 23.9µs ± 1%...

70de482d17863e501be44450f8e60500a6f1b459 authored about 2 years ago by Joe Tsai <[email protected]>
runtime: name nil semaphore of pollDesc

Use explicit name pdNil for nil semaphore of a pollDesc to make it self-explanatory like pdReady...

556c978400245b29c3150ba3a53da489d67f3f7e authored about 2 years ago by Andy Pan <[email protected]>
strings: rely on utf8.AppendRune

This is both simpler and more performant.

Change-Id: I66ef8e49c059a722932392ee3ecfb951d9b8e121
...

723a27994ddc926a2078bcc23ccbc33857577b4c authored about 2 years ago by Joe Tsai <[email protected]>
encoding/json: give it a chance to put encodeState back in pool when error occurs

name old time/op new time/op delta
CodeEncoderError-10 688...

e7f2e5697ac8b9b6ebfb3e0d059a8c318b4709eb authored about 2 years ago by Andy Pan <[email protected]>
runtime: initialize pointer bits of noscan spans

Some code paths in the runtime (cgo, heapdump) request heap bits
without first checking that the...

a6e6b11e3a443ef532bc9b710e893e111f8ea2a3 authored about 2 years ago by Keith Randall <[email protected]>
runtime: convert ticksType.val to atomic type

Updates #53821

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

e1114fdf883de7484c49343d966fd9759ce48c40 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: handle partially overlapping assignments

Normally, when moving Go values of type T from one location to another,
we don't need to worry a...

332a5981d0ae3f21f668f94755f43ecd8ee9a9eb authored about 2 years ago by Keith Randall <[email protected]>
Revert "cmd/compile: restore test/nested.go test cases"

This reverts CL 424854.

Reason for revert: broke misc/cgo/stdio.TestTestRun on several builders...

503de697cbb77581bb13dd6e596ac20a9a0d03e5 authored about 2 years ago by Matthew Dempsky <[email protected]>
runtime: fix ppc64 startup on newer linux kernels

R0 needs to be cleared at startup as it may not always be cleared
by the kernel on newer kernels...

7d1cab12c77a5fed788829b0566db9dfd7866ac9 authored about 2 years ago by Paul E. Murphy <[email protected]>
all: use go/parser.SkipObjectResolution in more places

None of cgo, "go test", nor srcimporter make use of go/ast's object
resolution via go/ast.Object...

ef22285f31ab16ff6751418705b8a7df8e0d661f authored about 2 years ago by Daniel Martí <[email protected]>
encoding/xml: add (*Encoder).Close

Flush can not check for unclosed elements, as more data might be encoded
after Flush is called. ...

7f632f76db65f28038b8797fbfe5e15a9f63e387 authored about 2 years ago by Axel Wagner <[email protected]>
cmd/go/internal/modload: remove ImportMap and PackageDir

These two functions together duplicated much of the functionality of
modload.Lookup. Use that in...

be9e2440a766f4cd1069945ebd2e527cb7fd7594 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: mark booleans as registerizable

Boolean values fit in registers, mark them accordingly. Improves codegen a bit.

compilecmp for ...

de561dc7664c9792964d8fa74a3aa02263ee36b9 authored about 2 years ago by Jakub Ciolek <[email protected]>
cmd/compile: fix unified IR's pointer-shaping

In CL 424734, I implemented pointer shaping for unified IR. Evidently
though, we didn't have any...

6985ab27dfd10de6d9e119a51c541a2bc1cbcdf7 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: fix "expression has untyped type" ICE in generic code

During walk, we sometimes desugar OEQ nodes into multiple "untyped
bool" expressions, and then u...

0a6e1fa986e04add090afa50b8e566dca40df760 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: fix reflect naming of local generic types

To disambiguate local types, we append a "·N" suffix to their name and
then trim it off again wh...

aa6a7fa775d8f38225ad74a622187bbe891eaf1c authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: restore test/nested.go test cases

When handling a type declaration like:

```
type B A
```

unified IR has been writing out that B...

72a76ca1f9c195ed39e929cf768d5df5421eada1 authored about 2 years ago by Matthew Dempsky <[email protected]>
time: fix Parse for time zones

The hours, minutes, and seconds fields for time zones
should not have any plus or minus signs.
U...

c94633d2f89119e0f6788db09bd3df5153243f37 authored about 2 years ago by Joe Tsai <[email protected]>
time: fix Parse for empty seconds

The error return value of the seconds field is overwritten
and not checked in the presence of a ...

f9cdc09497af299ef6a4d4d745aa0df4ebfdce52 authored about 2 years ago by Joe Tsai <[email protected]>
time: fix Parse to ignore extra sub-nanosecond digits

This modifies the code to match the comment such that
the behavior truly is identical to stdSeco...

4e9183cb14bf58011389c8a8c8ccaecd3ef50451 authored about 2 years ago by Joe Tsai <[email protected]>
runtime: move traceStackTable.lock to the system stack

This lock is acquired under trace.lock, which as of CL 418956
(6c2e327e35b) must be acquired on ...

42794f3871c35d1b3837f78f29d781b6ab1c1a64 authored about 2 years ago by Austin Clements <[email protected]>
cmd/internal/obj/arm64: remove the transition from $0 to ZR

Previously we convert $0 to the ZR register for some reasons, which causes
two problems:
1. Conf...

9f0f87c806b7a11b2cb3ebcd02eac57ee389c43a authored about 2 years ago by eric fang <[email protected]>
cmd/compile/internal/ssa: optimize memory moving on arm64

This CL optimizes memory moving with LDP and STP on arm64.

Benchmarks:
name old ti...

0a52d80666ddaa557cec17ad9166e2514b0bb6d4 authored about 2 years ago by eric fang <[email protected]>
encoding/json: rely on utf8.AppendRune

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

0f42e35feeef606977859039b876773ae5fb4de9 authored about 2 years ago by Joe Tsai <[email protected]>
internal/poll: rely on utf8.AppendRune

This is both simpler and more performant.

Change-Id: I398de29230e578fb7caf1765df7b8fe84d4e8876
...

e0388c92d048fc31b39e133441bd4f6d85959ec4 authored about 2 years ago by Joe Tsai <[email protected]>
net: turn off dns compression for go resolver queries

We don't need compression enabled here, because we only set one question in the dns message. So ...

cd52818487fade395c4d9189ce6e70cc03aeecb2 authored about 2 years ago by Mateusz Poliwczak <[email protected]>
cmd/compile: fix missing typecheck when rewriting abi.FuncPCABIxxx

Discover when running "go test -run=TestNewOSProc0 -gcflags=-d=checkptr"

Change-Id: I988da56fd3...

ae303ff282feed715de0374890737ccdaee1e053 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: split Muluhilo op on ARM64

On ARM64 we use two separate instructions to compute the hi and lo
results of a 64x64->128 multi...

8bf9e014736064de436c411a95467b583f430dea authored about 2 years ago by Cherry Mui <[email protected]>
net/http/cookiejar: remove duplicate words from comments

Change-Id: Id44f587199683fd8018865af1c2442f9f74e0dad
GitHub-Last-Rev: 35b1ab88677586c79918d363f2...

48da729e8468b630ee003ac51cbaac595d53bec8 authored about 2 years ago by Abirdcfly <[email protected]>
net/http: skip Get flakes in TestClientTimeout tests on windows/arm4

There is already a skip in case of a later failure in the same test on
these platforms. Skip the...

7f1037c717858439a9d75d6f62c98c835fc72a74 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: issue VarDef only for pointer-ful types

Use OpVarDef only when the variable being defined has pointers in it.
VarDef markers are only us...

a74e5f584e96cc89a8f6a1bb1a8cd9fc6ed6e72d authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: remove OVARDEF and OVARLIVE

Neither are currently used. These concepts only need to exist
in the ssa backend (as ssa.OpVarDe...

a726c9f6620a3fa34d1549706c1151754d385182 authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: rip out support for OVARKILL from compiler frontend

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

e21c1f789664c11a0f704c87a775e03d705ef9b4 authored about 2 years ago by Keith Randall <[email protected]>
runtime: don't race cmd.Wait and cmd.StdoutPipe read

os/exec.Cmd.Wait closes the read end of os/exec.Cmd.StdoutPipe, meaning
that io.ReadAll can retu...

a10da772a68d692c2c8805b11aba9b6cb9920b15 authored about 2 years ago by Michael Pratt <[email protected]>
image/gif: avoid decoding past the first frame in decode()

The existing decode() method offers the ability to keep just one
frame of the GIF image, however...

b4c124af1e2953e010200fe50651f5ffc967a346 authored about 2 years ago by Chris Gillis <[email protected]>
internal/xcoff: better handling of malformed symbol tables

Check for malformed data when reading the number of aux
symbols associated with a symbol table e...

db3e915af2f5053c96ad1f33502a752768965676 authored about 2 years ago by Than McIntosh <[email protected]>
go/token: make mutex locking in unpack cheaper

I was profiling the cpu usage of go/printer's only benchmark,
and found that token.File.Unpack w...

bdecfcb5fcc8705df7d2130310cf6b395f24e4c8 authored about 2 years ago by Daniel Martí <[email protected]>
internal/saferio: avoid returning io.EOF from ReadData if data was read

ReadData follows the error semantics of io.ReadFull for small sizes,
it should do so as well for...

fc34fdb4154ac40711209e9234639285e071daa9 authored about 2 years ago by Joe Tsai <[email protected]>
misc/cgo/test: disable setgid tests with musl

We don't have a good musl detection mechanism, so we detect Alpine (the
most common user of musl...

6bdca82030779e3b9032324e68a3feacb85bc9bc authored about 2 years ago by Michael Pratt <[email protected]>
debug/buildinfo: add regression tests for different buildmodes

Updates #48187

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

761db3e7f07ec358323589eab72b153339036086 authored about 2 years ago by qmuntal <[email protected]>
text/template: compare reflect.Value instances differently

To avoid false positives from the reflectvaluecompare checker #43993

Use v.IsValid() instead of...

9a9aad449fddb1d3f66e6200d2c6c63a0eed63a4 authored about 2 years ago by Keith Randall <[email protected]>
cmd/pprof: fix addr calculation for Windows

This makes it possible to use `disasm` with ASLR windows binaries.

For #46639

Change-Id: I08af...

8d57f4dcef5d69a0a3f807afaa9625018569010b authored about 2 years ago by Egon Elbre <[email protected]>
runtime/pprof: add memory mapping info for Windows

Fixes #43296

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

28afa5b1761ba6bb51a4c831e9ee0b9812de8bc5 authored about 2 years ago by Egon Elbre <[email protected]>
misc/cgo/testcarchive: permit SIGQUIT for TestSignalForwardingExternal

Occasionally the signal will be sent to a Go thread, which will cause
the program to exit with S...

d05ce23756573c6dc2c5026d936f2ef6ac140ee2 authored about 2 years ago by Ian Lance Taylor <[email protected]>
debug/pe: fetch section size directly in (*Section).Data

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

f3563bc55c7029473aeaf228171ecd06f1317532 authored about 2 years ago by Ian Lance Taylor <[email protected]>
go/internal/gcimporter: use saferio to read indexed data

Avoid allocating large amounts of memory for corrupt input.

No test case because the problem ca...

375a80c9ef521404f1d972ad82719f90bc3a019f authored about 2 years ago by Ian Lance Taylor <[email protected]>
debug/plan9obj: use saferio to read section data

Avoid allocating large amounts of memory for corrupt input.

No test case because the problem ca...

1c4a80377580a05b9c3f1cccb66baefc01383352 authored about 2 years ago by Ian Lance Taylor <[email protected]>
bytes, strings: s/after/before/ in CutSuffix

This follows on CL 407176 which added this function (in both
packages). This CL makes it consist...

5f0170f9a529c7113ac12f1270e00e5bdc444803 authored about 2 years ago by Michal Bohuslávek <[email protected]>
runtime/pprof: check Getrusage return value in addMaxRSS

Depending on the implementation of the getrusage syscall/function, the
value of rusage.Maxrss ma...

2e06019dcd82c1c525c805af687063875d4b223b authored about 2 years ago by Tobias Klauser <[email protected]>
runtime/pprof: report MaxRSS on windows

Use GetProcessMemoryInfo to report MaxRSS in memory profiles on windows.

Change-Id: I4ac5fe5896...

2cc6983a2103d64cd33a0fb67dc7ea2adcac3ba8 authored about 2 years ago by Tobias Klauser <[email protected]>
go/types: match types2 errors for incorrect method receiver count

Use "method has no receiver" and "method has multiple receivers"
in error messages for invalid r...

dbc3b44f85e638c2247af02548d8b386996f4d37 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types: match types2 errors for missing index expressions

Use "middle" and "final" rather than "2nd" and "3rd" in error messages
for invalid slice express...

84232b0b89a60d5f66156ddf5cbe9ab64dac4375 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types: match types2 error for invalid map key

Use "invalid" rather than "incomparable" in error message for map key
types that are not compara...

6bedf4a2b45068c486c69a04410f2c2469152f2d authored about 2 years ago by Robert Griesemer <[email protected]>
go/parser: match const/var decl parsing of syntax package

Use same approach to parsing const and var declarations
as the syntax package. Specifically, don...

9a1d3b0ad20ba5d73ba3a88c86563ae7b4cf03ca authored about 2 years ago by Robert Griesemer <[email protected]>
Revert "misc/cgo/testcarchive: permit SIGQUIT for TestSignalForwardingExternal"

This reverts CL 419014.

Reason for revert: broke darwin-amd64 builders

Change-Id: I77838e696a5...

bc69ad3a77129cd4cf4d3bdaa592dfc95ff8c769 authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: fix a typo in comment of netpollblock()

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

bf4e35b658e61c29112c456f47615c16345c3518 authored about 2 years ago by Andy Pan <[email protected]>
go/parser: fix spelling in error message

Make spelling consistent with uses in other error messages.

Change-Id: I584cd22413842fb8bae1632...

a73808e1e06dfca15a51743ced1fab038b5a2392 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types: remove machinery to select parsing mode (cleanup)

All code may be generic. Remove machinery to select parsing
mode (generic vs non-generic) since ...

9e88773383f2d74e769f63fd6348a01aecf8a271 authored about 2 years ago by Robert Griesemer <[email protected]>
go/parser: remove (internal) ability to disable generic code

Generics are part of the language now; there's no need anymore
to switch back to a syntax withou...

4a530b8837222dc926f72684f63fa4b5f476e31b authored about 2 years ago by Robert Griesemer <[email protected]>
go/parser: remove import path string syntax checking

The validity of an import path string is checked by the type checker
(and possibly other tools);...

4671aa5d06811176b964519fbef066f03d4bf884 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: match go/types for "..." related error msg

For #54511.

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

4a954fafa3bc294ac56d5aea19dc3b0b3124d4c0 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: use go/types/testdata/examples tests

Since the examples tests are now identical between the two type checkers,
remove the local copy ...

8892a51745accb2f8d18be1628d9b5bb9ecd78a5 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types: remove TODO in testdata/examples/types.go

Follow-up on CL 424674. With this change, the files in
testdata/examples are identical to the co...

5a53807950e8bde126180590a2f922d1046acc7e authored about 2 years ago by Robert Griesemer <[email protected]>
go/parser: disallow parenthesizing embedded types in structs

This was never permitted in Go but the flexibility to do so
was introduced through the generics ...

9b48ffa98af149408b8e4734676bcc2cf95278fd authored about 2 years ago by Robert Griesemer <[email protected]>
runtime/internal/atomic: remove double-check in kernelcas on linux/arm

Older kernels which require the double check of the __kuser_cmpxchg
result are no longer support...

0a1da095d1cef7c8ac6065da2983565b450566a5 authored about 2 years ago by Tobias Klauser <[email protected]>
io: add OffsetWriter, NewOffsetWriter

Offsetwriter refers to the design of SectionReader and removes
the section parameter n.

Since t...

dc8e2a6a8ec94f2c98ba20edd57932eba284efb1 authored about 2 years ago by hopehook <[email protected]>
.github/ISSUE_TEMPLATE: add issue template for Go vulnerability management

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

7dad1d24b2e596b2178c1f94fe877c9effa330cd authored about 2 years ago by Julie Qiu <[email protected]>
unicode/utf16: add AppendRune

AppendRune appends the UTF-16 encoding of a rune to a []uint16.

BenchmarkEncodeValidASCII-1...

48297f1fb15206cd13e0f31647e909292fb21975 authored about 2 years ago by qmuntal <[email protected]>
go/printer: rename printPos to setPos

Follow-up on feedback in CL 412557.

Change-Id: I5a693efccade97a62ab880c6e1b9e50cb597c293
Review...

f65ded56263a9dd7d125f2b0001fb996df1fb3f3 authored about 2 years ago by Robert Griesemer <[email protected]>
strings: reduce allocation for byteReplacer

Though it increases the execution time, the function is already quite
fast for most users, the a...

108021c195c6f43b07c437242bf39614e06b3df4 authored about 2 years ago by Cuong Manh Le <[email protected]>
syscall: remove cloexecSocket fallback path

Support for Linux kernel versions requiring the fallback to CloseOnExec
was dropped from recent ...

fe196a064e588d33922c1898bb3b688c5fbf3e2d authored about 2 years ago by Tobias Klauser <[email protected]>
strings: speed up ToUpper()/ToLower() by batch writing data with Builder

Updates #52371
Updates CL 423874

name ...

572941942026e705a685860a170a60ce371b050e authored about 2 years ago by Andy Pan <[email protected]>
syscall: add new CLONE_ flags for Linux

The constants for these were auto-generated from the C includes
into zerrors_linux* files quite ...

3204e62dd1abe087430e37e8c33c3d010606aabe authored about 2 years ago by Kir Kolyshkin <[email protected]>
cmd/compile: add intrinsic for MulUintptr on arm64

This CL adds intrinsic for runtime/internal/math.MulUintptr on arm64

Benchmark master ...

d654117075d1dd0686aa6833b22f28275623c759 authored about 2 years ago by ruinan <[email protected]>
runtime: fix formula for computing number of padding bytes

In order to prevent false sharing of cache lines, structs are
padded with some number of bytes. ...

f15761b50bb3a2d1bae9b97f147b2d660e2e4853 authored about 2 years ago by Ludi Rehak <[email protected]>
encoding/gob: use saferio to read large buffer

Avoid allocating large amounts of memory for corrupt input.

No test case because the problem ca...

dee9adc0f73d361d00a4d9230bb3517f2448b3b0 authored about 2 years ago by Ian Lance Taylor <[email protected]>
runtime: remove pageAlloc.scav padding for atomic field alignment

CL 404096 makes atomic.Int64 8 bytes aligned everywhere.

Change-Id: I5a676f646260d6391bb071f937...

f324355d1f482362b87ec4f95ceac00d4b4de797 authored about 2 years ago by Cuong Manh Le <[email protected]>
test: add test that caused gccgo crash

For #23870

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

6001c043dc067b7f6b9a2e934439b6a7948f92ef authored about 2 years ago by Ian Lance Taylor <[email protected]>
test: add test that caused gccgo to crash

For #23868

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

011a525b21c77c8a11e54c5b15cb10761baf1925 authored about 2 years ago by Ian Lance Taylor <[email protected]>
misc/cgo/testcarchive: permit SIGQUIT for TestSignalForwardingExternal

Occasionally the signal will be sent to a Go thread, which will cause
the program to exit with S...

a409356c548133e188acd7873e73a66ff5982b57 authored about 2 years ago by Ian Lance Taylor <[email protected]>
net: allow single dot in resolv.conf search statement

A single dot in a search statement doesn't affect DNS lookup, so just ignore it and a syntax err...

55ecc3a88670c14bbbfc9d6c96cf65891cc608f5 authored about 2 years ago by Andy Pan <[email protected]>
sync: use atomic.Uint64 for WaitGroup state

So it's guaranteed to have 64-bit alignment, simplify the code without
losing any performance:

...

ee833ed72e8ccfdd2193b0e6c0223ee8eb99b380 authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: fast clock_gettime on FreeBSD, split getHPETTimecounter

Call only initHPETTimecounter on the system stack.
Use O_CLOEXEC flag when opening the HPET devi...

e51b3ae0eebfacd15cad9216b8dd2d2597b860c5 authored about 2 years ago by Yuval Pavel Zholkover <[email protected]>
runtime: add and use runtime/internal/sys.NotInHeap

Updates #46731

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

a719a78c1b36141af68d84970695fe95263fb896 authored about 2 years ago by Cuong Manh Le <[email protected]>
internal/buildcfg: enable unified IR by default

Unified IR is now at feature parity with the non-unified frontend.

Change-Id: I2a8cd41267a66f5e...

833367e98af838a2511ee7e4e19dc8f1da7b8ed7 authored about 2 years ago by Matthew Dempsky <[email protected]>