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

cmd/compile: negate comparision with FNES/FNED on riscv64

The FNES and FNED instructions are pseudo-instructions, which the
assembler expands to FEQS/NEG ...

646c3eee06fa4b1b869e8183977aa46d4d4eb646 authored about 2 years ago by Joel Sing <[email protected]>
.github: add quotations around label

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

9154d4a2a4952e35cb091fc254c9f5f1d3f0d409 authored about 2 years ago by Julie Qiu <[email protected]>
runtime: document implicit fields at the end of _func

Currently these are only implicitly documented by the code that
generates and consumes them. Add...

e4061120115d1bcdbe17f863e6559ed7b412a73d authored about 2 years ago by Michael Pratt <[email protected]>
.github: change label for vulndb and vulndb issues

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

d1681120be027579f0556dfd3b07f205cab3ff6b authored about 2 years ago by Julie Qiu <[email protected]>
cmd/internal/obj/riscv: fix comment typo

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

b226cc5ca025635175031d3ffb9596614b66bdaf authored about 2 years ago by Wayne Zuo <[email protected]>
go/types, types2: consistently write "x | y" rather than "x|y" for unions

Use the same spacing convention ("x | y") for union terms everythere,
matching the gofmt precede...

0fda8b19328edbfab880be6cb4033ff6c81eca6d authored about 2 years ago by Robert Griesemer <[email protected]>
runtime: simplify stkframe.argMapInternal

Use an early return to reduce indentation and clarify flow.

For #54466.

Change-Id: I12ce810bea...

55ca6a20afb718972f0625ce971081f78efe10bf authored about 2 years ago by Austin Clements <[email protected]>
runtime: consolidate stkframe and its methods into stkframe.go

The stkframe struct and its methods are strewn across different source
files. Since they actuall...

35026f373233de30dbdb6752822d3eabf2220c11 authored about 2 years ago by Austin Clements <[email protected]>
runtime: make getStackMap a method of stkframe

This places getStackMap alongside argBytes and argMapInternal as
another method of stkframe.

Fo...

b91e3737296c815ecf2508644cc07328172640eb authored about 2 years ago by Austin Clements <[email protected]>
runtime: replace stkframe.arglen/argmap with methods

Currently, stkframe.arglen and stkframe.argmap are populated by
gentraceback under a particular ...

dbf442b1b2c28b77db288121ee3a7bc669cdc768 authored about 2 years ago by Austin Clements <[email protected]>
runtime: switch gp when jumping stacks during traceback

Currently, when traceback jumps from the system stack to a user stack
(e.g., during profiling tr...

511cd9b8af10de9cad86be38a22e5eb2e5d4cd8d authored about 2 years ago by Austin Clements <[email protected]>
runtime: document stkframe

The meaning of some of the fields in stkframe is actually quite
subtle.

Change-Id: Iac765ff6fbf...

f00fa0b98da9f4353839da99e6f6f7f109f9954f authored about 2 years ago by Austin Clements <[email protected]>
runtime: drop redundant argument to getArgInfo

The f funcInfo argument is always the same as frame.fn, so we don't
need to pass it. I suspect t...

5063056bd19698a92da3fd69c34ee784af62b03e authored about 2 years ago by Austin Clements <[email protected]>
runtime: drop function context from traceback

Currently, gentraceback tracks the closure context of the outermost
frame. This used to be impor...

8be94b82ab1832ec8a07bcb16a0cb3872915dbb7 authored about 2 years ago by Austin Clements <[email protected]>
net: rfc number typo

Change-Id: I9cde2a82a395546d7620b5138cf922b2ac1c94b5
GitHub-Last-Rev: 25b8e972b044848da1a1f94cbd...

2efb5792c3ba46f7f388130aafa79762d1b79c3d authored about 2 years ago by Mateusz Poliwczak <[email protected]>
cmd/compile: rewrite >>c<<c to &^(1<<c-1)

Fixes #54496

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

5b1fbfba1c00be5f2e9fd9e75fb7530f218fca40 authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile/internal/noder: allow OCONVNOP for identical iface conversions

In go.dev/cl/421821, I included a hack to force OCONVNOP back to
OCONVIFACE for conversions invo...

34f0029a85af054787b279761e89db410621f1d7 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/noder: refactor exprConvert code

This CL deduplicates the explicit and implicit exprConvert code paths
to have a single common fu...

8af6c3348ef299d17aeb2ae5711af9c6205c5940 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove go:notinheap pragma

Updates #46731

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

8bbb362f4c954da7c521bf2dd34b22fa3e5ab3c5 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: make runtime/internal/sys.NotInHeap intrinsic

So next CL can get rid of go:notinheap pragma.

Updates #46731

Change-Id: Ib2e2f2d381767e11cec1...

0ee0bb1003aa96a8ed94728784bb7faa301702d9 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile/internal/abt: use strings.Builder

Since go1.17 is now used for bootstrapping.

Change-Id: I5692ff4b38b7d9a279b20662ce5348ff34a2dde...

0cf996a9c12d9bc5b38787c2f3b0212c39d87dd5 authored about 2 years ago by Cuong Manh Le <[email protected]>
debug/macho: use saferio to allocate load command slice

Avoid allocating large amounts of memory for corrupt input.

No test case because the problem ca...

553f02c6ae9d9dc124559b6711a47cb3e99c6348 authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/compile: new inline heuristic for struct compares

This CL changes the heuristic used to determine whether we can inline a
struct equality check or...

6605686e3b503a1d82a526e3970ce4c93f7e2106 authored about 2 years ago by Derek Parker <[email protected]>
runtime: support MADV_DONTNEED on the BSDs and Solaris/Illumos

Like on Linux, use GODEBUG=madvdontneed=1 to enable madvise with
MADV_DONTNEED instead of MADV_F...

19a48048543098a05efe48adb1cf8f01bfce75f1 authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/compile: optimize RotateLeft8/16 on arm64

This CL optimizes RotateLeft8/16 on arm64.

For 16 bits, we form a 32 bits register by duplicati...

121344ac338ef21d87eee4f64a60d0ae8a7f6fe3 authored about 2 years ago by ruinan <[email protected]>
go/types,types2: move notinheap tests to fixedbugs directory

So they can be added to ignored list, since the tests now require
cgo.Incomplete, which is not r...

f45c2d7e47e6dcfb69876092037257562813cc37 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile/internal/base: use runtime.KeepAlive in MapFile

Go 1.17 will be used instead of Go 1.4 as minimum required version for
bootstrap, so runtime.Kee...

274528eca1ebbb3aa5203e77152925ca1de98601 authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/compile: optimize shift ops on arm64 when the shift value is v&63

For the following code case:

var x uint64
x >> (shift & 63)

We can directly genereta `x >>...

54c7bc9cff748e6554e53fbbbf823fdd214d0482 authored about 2 years ago by ruinan <[email protected]>
go/types: use function name position for init errors

This seems more sensible than the func keyword. With this change,
go/types uses the same error p...

5befb24bb5cbd8ae6210b4d6a88a4437eec6fb0b authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/link: only add dummy XCOFF reference if the symbol exists

On AIX when external linking, for some symbols we need to add
dummy references to prevent the ex...

321a220d506fe1445302706f1725017a42fc1510 authored about 2 years ago by Cherry Mui <[email protected]>
encoding/asn1: fix doc for BitString.At's return value

Fixes #53287

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

202b7e7e76128f524142ac7d328fe8458a096dbf authored about 2 years ago by RenKanai <[email protected]>
cmd/compile: restrict //go:notinheap to runtime/internal/sys

So it won't be visible outside of runtime package. There are changes to
make tests happy:

- Fo...

ec2ea40b315e8b1a3d1dc8f7987584c4e2a00ef4 authored about 2 years ago by Cuong Manh Le <[email protected]>
hash: convert haveCastagnoli to atomic type

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

134cd34c07862aa8618e25d1d1279b4fd127c512 authored about 2 years ago by cuiweixie <[email protected]>
math/rand: document that Source returned by NewSource implements Source64

Fixes #44488

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

8e35910640bd190103d99d994d54b738e619c858 authored about 2 years ago by Jonathan FOng <[email protected]>
internal/types: add a test for empty string import path

Follow-up on comment in CL 427154.

Change-Id: Ib44a8e9b9129d68b794f91788c9b8c971d6c5436
Reviewe...

ccab2fbc30b0553fce54646a4da0a8645eda40a3 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: move shared tests into internal/types/testdata

This CL moves the directories check, examples, fixedbugs, and spec
from inside go/types/testdata...

57ade1fd0bc58e726e287efc9d8e1e87c5afa5ce authored about 2 years ago by Robert Griesemer <[email protected]>
go/types: test shifts that are disabled in shared test file

CL 425735 consolidated the testdata/check/shifts.go files between
go/types and types2. Because s...

e2d2d3a4a6edf1e571a5aca1eaaf55ffcc4d6eba authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: establish type-checker specific local tests

Establish testdata/local directory for tests that are not (yet)
shared between the go/types and ...

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

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

29e360274a3b73bb77633cf68897072e8240e367 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: consolidate testdata/fixedbugs test files

Use the go/types version of testdata/fixedbugs tests where diffs
are only in the error positions...

9649a4119c7954618ea891e71c09cb51940f39a7 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/syntax: more strict parsing of type instances

Report a syntax error if the first element of a type instance is
not actually a type (but some o...

1be8fcdcdce01ca7cffb1fd90c1cd706c3ea4ee4 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: consolidate testdata/fixedbugs/issue46404.go

Rename .../issue46404.go1 to .../issue46404.go so that it is
not skipped anymore when running te...

d98bf7d0151c3feeceba6348519bb5c16e8ddc3f authored about 2 years ago by Robert Griesemer <[email protected]>
go/parser: match syntax parser error for unnamed type parameters

For #54511.

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

4e32472e79e393675ba8489968539db5dc0ab650 authored about 2 years ago by Robert Griesemer <[email protected]>
go/parser: more tolerant parsing of import declarations

This is a port of CL 427156 from the syntax package's parser
to go/parser.

While at it, remove ...

d394f99f49aa9249324f7c3ef3bc77a7cc1cebf7 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/syntax: more tolerant parsing of import declarations

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

a330ca5c541e99e4561420c852b14df63574a065 authored about 2 years ago by Robert Griesemer <[email protected]>
go/parser: parse import specs the same way as the syntax parser

This results in better error recovery and allows us to use the
same tests for go/types and types...

a31c062c9fbf212b244fbece6295a2a4279459e0 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: consolidate a test file with different syntax errors

For #54511.

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

042f051c03d35fb0adcb0b6a7e2d78a35342ae98 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: match go/types error for invalid instantiations

Also: add a missing test.

For #54511.

Change-Id: Ie9828c6ba5186feb5a79db0d58beb2cda2beae56
Rev...

cb357835d9c62232e70f7bf0eb7b105a2901bd1a authored about 2 years ago by Robert Griesemer <[email protected]>
go/types: use singular in version error messages

This matches the majority use case as well as types2.

For #54511.

Change-Id: If800afc35db8d32c...

6b555dc29e98ca756eb3f10edc4b8a17a72b1258 authored about 2 years ago by Robert Griesemer <[email protected]>
types2: use strings.Builder in infer.go

Permissible now because go1.17 is used for bootstrapping.

Change-Id: Ic97b0706190c3eb907da69003...

0592ce5f69f4149da643b61e6bb1163e6046401c authored about 2 years ago by hopehook <[email protected]>
types2: use strings.Builder in errors.go

Permissible now because go1.17 is used for bootstrapping.

Change-Id: Ia6f314f9314eda1cc42002dcb...

b2110bcdde636b77412778a8c1eab6e50163ca1c authored about 2 years ago by hopehook <[email protected]>
go/parser: leave checking of LHS in short var decls to type checker

Instead of checking at parse-time that the LHS of a short variable
declaration contains only ide...

1280ae7856d5226a7a4135621a6292240faa7657 authored about 2 years ago by Robert Griesemer <[email protected]>
go/parser: check that go/defer expressions are not parenthesized

Logic matches the code in the syntax package.
This error was missing from go/parser and go/types...

a74d46d8ff44abe409282bf1a9a9ab1b0b2cdaa0 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: avoid "not used" errors due to bad go/defer statements

The syntax for go and defer specifies an arbitrary expression, not
a call; the call requirement ...

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

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

330282a3a96099894ac0b6daceee19a483c12bbd authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: consolidate testdata/check test files

Use the go/types version of testdata/check tests where the diffs
are only in the error positions...

bbaf0a514e3b0a5f432746d538a2b04110fa211f authored about 2 years ago by Robert Griesemer <[email protected]>
go/parser: adjustments to error messages

- Use "expected X" rather then "expecting X".
- Report a better error when a type argument list ...

aa5ff29dabbfdda036b8a1f5c5a80f239b876abc authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/syntax: use BadExpr instead of fake CallExpr in bad go/defer

If the go/defer syntax is bad, using a fake CallExpr may produce
a follow-on error in the type c...

c801e4b10f708c180a3708bcf39881338691287c authored about 2 years ago by Robert Griesemer <[email protected]>
go/parser: remove validation of expression syntax, leave to type checker

Remove the code that verifies that an expression is a type or non-type
expression. For one, it c...

9b80d3d3db126bda3eb976778cca4eb03a5a229b authored about 2 years ago by Robert Griesemer <[email protected]>
syscall: Faccessat: use faccessat2 on linux

Linux kernel 5.8 added the faccessat2 syscall taking a flags argument.
Attempt to use it in Facc...

4048f3ffb6b74fef0a7e0e2f9d47bc944d805578 authored about 2 years ago by Kir Kolyshkin <[email protected]>
syscall: make mkall.sh accept file list

Amend the "mkall.sh -syscalls" implementation to
- prepend ./ before mksyscalls.pl;
- accept t...

36f191abcd633a7795195adf89153cc7f373c90f authored about 2 years ago by Kir Kolyshkin <[email protected]>
cmd/compile,runtime: redo growslice calling convention

Instead of passing the original length and the new length, pass
the new length and the length in...

dd323fe205b04da837e12aabf0bebfbe171aa7c2 authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: use (*strings.Reader).Reset

Since when go1.17 is now used for bootstraping.

Change-Id: If28338fc82e6c61f057d7eb3a4c2ed77846...

1e7f535475febc247c9e27249ee35e3a00dfa769 authored about 2 years ago by hopehook <[email protected]>
cmd/internal/pkgpath: use strings.Builder

Since when go1.17 is now used for bootstraping.

Change-Id: I5f763dec1cb152f94ab1c677d3fa26da17a...

dced3461eee8297fe2bd666f2c5146d220b2ab5b authored about 2 years ago by hopehook <[email protected]>
cmd/internal/objabi: use strings.Builder

Since when go1.17 is now used for bootstraping.

Change-Id: I5ee65aff72500a04e243238cffeae92ea65...

d31c4bc2de1105d2b77beb6447166fdae7b64e94 authored about 2 years ago by hopehook <[email protected]>
Revert "runtime: convert ncgocall to atomic type"

This reverts CL 426075.

Reason for revert: Import missing from cgocall.go.

Change-Id: Iac17e91...

ef8414101fba959c8df220ca0e544781029ce111 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert ncgocall to atomic type

For #53821

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

5a6db7c48fb8a1e7b6d8f59ba4e3b7ecb8c35fc7 authored about 2 years ago by cuiweixie <[email protected]>
cmd/compile: reorder rotate lowering rules in AMD64.rules

These rules should belong to lowering rules not optimizations.

Change-Id: I964d2c4b1d9bef0ede57...

af991a6d28949cd27a41a93b46abf42cbf07023d authored about 2 years ago by Wayne Zuo <[email protected]>
crypto/internal/boring/fipstls: convert required to atomic type

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

1f8e94e9f65ed807abd934b863234ac7fb421a77 authored about 2 years ago by cuiweixie <[email protected]>
cmd/go: support long commands in asm and cgo

We have supported passing lists of arguments to the compiler and linker
for some time, since htt...

5bc8fa74f5186dc7898126487c31283d0766a5b4 authored about 2 years ago by Daniel Martí <[email protected]>
go/types,types2: exclude tests that need cgo.Incomplete

Since when go/types,types2 do not know about build constraints, and
runtime/cgo.Incomplete is on...

b5b2cf519fe332891c165077f3723ee74932a647 authored about 2 years ago by Cuong Manh Le <[email protected]>
reflect: fix Value.SetIterXXX to check for the read-only bit

v.SetIterXXX(i) is semantically identical to v.Set(i.XXX()).
If the latter panics for unexported...

91ef076562dfcf783074dbd84ad7c6db60fdd481 authored about 2 years ago by Joe Tsai <[email protected]>
test: use cgo.Incomplete instead of go:notinheap for "run" tests

Same as CL 421880, but for test directory.

Updates #46731

Change-Id: If8d18df013a6833adcbd40ac...

64b260dbdefcd2205e74d236a7f33d0e6b8f48cb authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: reject not-in-heap types as type arguments

After running the types2 type checker, walk info.Instances to reject
any not-in-heap type argume...

ca634fa2c550cd85a1a2cc03c208304ee38c6a82 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: use HaveInlineBody for unified IR

In go.dev/cl/419674 I added a mechanism to the inliner to allow
inlining to fail gracefully when...

e4b624eae5fa3c51b8ca808da29442d3e3aaef04 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: combine multiple rotate instructions

Rotating by c, then by d, is the same as rotating by c+d.

Change-Id: I36df82261460ff80f7c6d39bc...

33a7e5a4b49fa04ce6f65b5b0645a44a0c93eaad authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: redo mknode.go

The current mknode has a few problems:
1) It tends not to run successfully if the tree is in a b...

5f5c018ca46b6634da9372f5af759cb36fcaed5f authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: use better splitting condition for string binary search

Currently we use a full cmpstring to do the comparison for each
split in the binary search for a...

69aed4712d73c9c1b70be3e2e222eb55391e2fb0 authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: tighten bounds for induction variables in strided loops

for i := 0; i < 9; i += 3

Currently we compute bounds of [0,8]. Really we know that it is [0,6]...

af7f067e0d7f92bcf4d0938d093725a0ac6366b1 authored about 2 years ago by Keith Randall <[email protected]>
runtime: convert consistentHeapStats.gen to atomic type

For #53821

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

52d9e7f543f68a46d7a69443a1ad51283d2f0d4f authored about 2 years ago by cuiweixie <[email protected]>
cmd/dist: disable cgo when testing internal linking of PIE

Since when internal linking cgo on some platforms, like android, is not
fully supported.

Update...

ce77a4640561567ab59c481dd917b4f98b723b97 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: simplify bounded shift on riscv64

The prove pass will mark some shifts bounded, and then we can use that
information to generate b...

da6556968f3545aa6c4e5a3c3aef151bb9b1d439 authored about 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: remove NEG when used with SEQZ/SNEZ on riscv64

The negation does not change the comparison to zero.

Also remove unnecessary x.Uses == 1 condit...

971373f56a5e47e523c7ac7f097349b83f5d31b5 authored about 2 years ago by Joel Sing <[email protected]>
cmd/compile: avoid extending floating point comparision on riscv64

The result of these operations are already extended.

Change-Id: Ifc8ba362dda7035d8fd0d40046a96f...

239115c3efcc54fb4f3f306032af40e03f5c66a8 authored about 2 years ago by Joel Sing <[email protected]>
cmd/compile: avoid extending when already sufficiently masked on riscv64

Removes more than 2000 instructions from the Go binary on linux/risv64.

Change-Id: I6db3e3b1c93...

9085ff585933d49261372b5a5fdf0686abc163c2 authored about 2 years ago by Joel Sing <[email protected]>
runtime: convert rwmutex.{readerCount,readerWait} to atomic type

For #53821

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

3f65ddbfd36af7aa0b1e28aebe9eb054462f7d8a authored about 2 years ago by cuiweixie <[email protected]>
cmd/compile: add support for unsafe.{String,StringData,SliceData}

For #53003

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

c7085329367e14f0aa828a3793cf66d9f82f05c2 authored about 2 years ago by cuiweixie <[email protected]>
runtime: convert worldIsStopped to atomic type

For #53821

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

301ca7513f427f6511fb67cc0385151403cd1729 authored about 2 years ago by cuiweixie <[email protected]>
internal/poll, internal/syscall/unix, net, runtime: convert openbsd (except mips64) to direct libc calls

Call libc wrappers directly rather than calling using syscall(2).

Updates golang/go#36435

Chan...

0d6a7f9d2eb2e5e9b96cd1b144d122f6eb5aac81 authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/asm: fix condition check to work on ppc64

A condition check was added to parse.go in CL 405542 to prevent
usage of scaled operands on ppc6...

59b15726d113324d0c91d8aae559e9fb7cb04495 authored about 2 years ago by Archana R <[email protected]>
cmd/internal/obj/arm64: allow transition from $0 to ZR for MSR

Previously the first operand of MSR could be $0, which would be
converted to the ZR register. Th...

ebc75ac1c6f056d5911286368d11022204e55947 authored about 2 years ago by eric fang <[email protected]>
runtime: fix comment typo in mpagealloc.go

leve --> level

Change-Id: Ia5ff46c79c4dda2df426ec75d69e8fcede909b47
GitHub-Last-Rev: e57cad22d9...

bc0a033266eeaed189a5c77becd45b861fd245f5 authored about 2 years ago by bqyang <[email protected]>
runtime: convert semaRoot.nwait to atomic type

For #53821

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

fa0e3bffb494fb9f97c241d6579daa443fbcbb06 authored about 2 years ago by cuiweixie <[email protected]>
runtime: convert p.numTimers and p.deletedTimers to internal atomic types

Note that this changes the non-atomic operations in p.destroy() to atomic operations.

For #5382...

6e74c4116ae2825efab69cb8c60d078d76572a78 authored about 2 years ago by Andy Pan <[email protected]>
runtime: convert sig.{state,delivering} to atomic type

For #53821

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

d01200e772902ef8178af767a62a059bf340df31 authored about 2 years ago by cuiweixie <[email protected]>
runtime: convert mcache.flushGen to atomic type

For #53821

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

a25a34abe986bd78ab9a543d2a96cbce427a4f3c authored about 2 years ago by cuiweixie <[email protected]>
runtime: convert mOS.profileTimerValid to internal atomic type

For #53821

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

d3b35a42429cec6d57d0d1e167d9443d0fbd6e97 authored about 2 years ago by Andy Pan <[email protected]>
runtime: convert workType.cycles to internal atomic types

Note that this changes a non-atomic operation to atomic operation in gcStart().

For #53821

Cha...

28e388589b48063047dbe7738bc1dfd4ed8e36bd authored about 2 years ago by Andy Pan <[email protected]>
runtime: convert extram and extraMWaiters to internal atomic type

Updates #53821

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

5634629f0b3e59115f2a2158f228c292d484622e authored about 2 years ago by Andy Pan <[email protected]>
net/http/pprof: link docs to runtime/pprof

And add some documentation for the debug query param.

Fixes #27737
Fixes #53971

Change-Id: I62...

3486735bf2ca08dcd84bb820fdcb0dea8102cf82 authored about 2 years ago by Sean Liao <[email protected]>