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

debug/pe: rework reading of aux symbols to fix endianity problems

This patch reworks CL 394534 to fix things so that reading auxiliary
symbol info works properly ...

054323d809cb15d47ca72d0deeadb5cfc2737780 authored over 2 years ago by Than McIntosh <[email protected]>
crypto/aes: rewrite ppc64le block crypting

This unrolls the counter loop and simplifies the load/storing
of text/ciphertext and keys by usi...

f495b36ccdfe93629cb83f8be79dca662ef68a64 authored over 2 years ago by Paul E. Murphy <[email protected]>
cmd/link: generate PPC64 ABI register save/restore functions if needed

They are usually needed when internally linking gcc code
compiled with -Os. These are typically ...

9c9090eb1da540c7d757df0c60423319a28759d3 authored over 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile,cmd/asm: fix ppc64 usage of BI argument of BC opcode

Avoid coercing the CR bit into a GPR register type argument, and
move the existing usage to CRx_...

4a5711c3cf944b3ff51af261166ef34b2ed22b8a authored over 2 years ago by Paul E. Murphy <[email protected]>
crypto/rand: fix race on r.used

This race is benign, but it still trips up the race detector, so turn
this into an atomic read.
...

091e913414794d9176861b1ffcdbcfdc2d742af3 authored over 2 years ago by Jason A. Donenfeld <[email protected]>
cmd/link: fix handling of visibility hidden symbols

There is a TODO comment that checking hidden visibility is
probably not the right thing to do. I...

2049649e8bf582bd1ee19d2e565e4e3bc3f466ea authored over 2 years ago by Cherry Mui <[email protected]>
test: add test that crashed gofrontend

For #52535

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

280e6402240e4e9c40853600186bfffd56dec954 authored over 2 years ago by Ian Lance Taylor <[email protected]>
crypto/x509: fix EKU nesting enforcement

The path building rework broke the enforcement of EKU nesting, this
change goes back to using th...

0aee59736f53ca1ef29d53163f26c2fc21a4c415 authored over 2 years ago by Roland Shoemaker <[email protected]>
go/printer: fix printing for possibly ambiguous type constraints

This is a port of the printer changes from CLs 402256 and 404397
in the syntax package to go/pri...

5fcd1badf724db853784243b29711df209976873 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/syntax: fix printing of ambiguous constraint literals

Without this change, the type parameter list "[P T | T]" is printed
as "[P T | T,]" in an attemp...

ea6c82845589a40c35f01122ce4e2931694ffc7f authored over 2 years ago by Robert Griesemer <[email protected]>
runtime/cgo: remove memset in _cgo_sys_thread_start on linux

pthread_attr_init in glibc and musl libc already explicitly clear the
pthread_attr argument befo...

7f71e1fc28f03afe987881c679a925a6f7e99cac authored over 2 years ago by Tobias Klauser <[email protected]>
debug/buildinfo: avoid nil defererence for invalid XCOFF

I've made it return 0 following what the other DataStart implementation
do when they do not foun...

119da6358bf8cc01bb8bc7556d616bd0fe723ad4 authored over 2 years ago by Jorropo <[email protected]>
A: add ByteDance Ltd. (Corporate CLA)

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

f87e28d1b9ab33491b32255f333f1f1d83eeb6fc authored over 2 years ago by zhangyunhao <[email protected]>
cmd/compile: update TestStmtLines threshold for riscv64

CL402374 default regabi for riscv64 but TestStmtLines
keep fail trybot within a tiny overlimit (...

3ea3bc0e9636228dda88b823e42a45227297f43b authored over 2 years ago by Meng Zhuo <[email protected]>
sync/atomic: don't run 64-bit uintptr tests on 32-bit systems

The tests don't work on big-endian systems. This change handles more
of the tests added in CL 38...

7dd988456247c66f2ae62a82e8d8fa0d843710d1 authored over 2 years ago by Ian Lance Taylor <[email protected]>
crypto/internal/nistec: re-enable ppc64le asm for P-256

Add support for ppc64le assembler to p256. Most of the changes
are due to the change in nistec i...

f99511d59ba6c363d5dea1e015753a17c05c5c01 authored over 2 years ago by Lynn Boger <[email protected]>
go/types,cmd/compile/internal/types2: fix TestStdlib

CL 402556 moved a special-cased package and broke the longtests.

Change-Id: I10b48e0912c1cee0ea...

86536b934a6a5d074f1539b3103d7bc86a97e869 authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/rand: properly handle large Read on windows

Use the batched reader to chunk large Read calls on windows to a max of
1 << 31 - 1 bytes. This ...

bb1f4416180511231de6d17a1f2f55c82aafc863 authored over 2 years ago by Roland Shoemaker <[email protected]>
crypto/ed25519/internal/edwards25519: move to crypto/internal/edwards25519

This will allow us to use crypto/internal/edwards25519/field from
crypto/ecdh to implement X2551...

7c74b0db8a27188d0ca3bb2f4bd46d00c0dc8eea authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic/internal/nistec: move to crypto/internal/nistec

So it's reachable from crypto/ecdsa and the upcoming crypto/ecdh.

No code changes.

For #52182
...

52de40120d2efdaf39e881b53a14ad38e948cbd7 authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic: panic when operating on invalid points

Fixes #50975
For #52182

Change-Id: I4a98d965436c7034877b8c0146bb0bd5b802d6fa
Reviewed-on: https...

a218b3520a500254cc82b996b79ad6f5a355021c authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic: implement UnmarshalCompressed in nistec

For #52182

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

52e24b492dc9295f2833f32e4f3601e716e5c1ed authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic: precompute ScalarBaseMult doublings

name old time/op new time/op delta
pkg:crypto/ecdsa goos:darwin goarch:...

50b1add5a73f05b0142adf783b6825c0c149882b authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic: clean up and document P-256 assembly interface

For #52182

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

0b4f2416a22aadb0e6df2be1a5cef34680e472de authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic: move P-256 amd64/arm64 assembly to nistec

The goal of this CL is to move the implementation to the new interface
with the least amount of ...

10d1189464dfd232265efc48a6b5bce56f72fe3c authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic: replace generic P-256 with fiat-crypto

For #52182

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

68c2e9eedeaa2ad9d9528fbb58adffb0a48365c9 authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic: generate nistec group implementations from template

For #52182

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

2515a4214e2a70413392b4ce3767498ee26da10d authored over 2 years ago by Filippo Valsorda <[email protected]>
cmd/compile/internal: intrinsify publicationBarrier on ppc64x

This enables publicationBarrier to be used as an intrinsic
on ppc64le/ppc64.

A call to this app...

c9f67c289faba2d3876bc166dbcc3b325d3c5ecc authored over 2 years ago by Lynn Boger <[email protected]>
crypto/aes: move ppc64le to cipher_asm.go

Move the aesCipherGCM struct definition into cipher_asm.go, it is
needed to compile this file, b...

6269dc29a04c4f430a851551d85aa956fb10cc94 authored over 2 years ago by Paul E. Murphy <[email protected]>
crypto/internal/boring: avoid false positive in cgo pointer check in SHA calls

Discovered running recent changes against Google internal tests.

Change-Id: Ief51eae82c9f27d2a2...

fa603aaa4e7ac460aee2e2de509842b89152a418 authored over 2 years ago by Russ Cox <[email protected]>
cmd/compile/internal/pkginit: fix typecheck.DeclFunc call

CL 403935 changed the API for typecheck.DeclFunc, while CL 403851 was
submitted in the mean time...

72d1cb092e0008419676be353703298cadccf3a2 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/ir: remove FuncType and OTFUNC

No longer needed. We now always directly construct TFUNC types when
needed.

Change-Id: I1bb286c...

983906fa6db6df56e3912ba5c6be8fada00b232b authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/typecheck: simplify DeclFunc

This CL reworks DeclFunc so that we no longer need to internally
create an ir.FuncType. The next...

a7ab208cbb9f6906f0873254c63b5cc92e316dbd authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: construct ir.FuncType within typecheck.DeclFunc

Currently all typecheck.DeclFunc callers already construct a fresh new
ir.FuncType, which is the...

5073c1c7407ad5f23e54cc0a6410ffbde23758bb authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/typecheck: trim unused code

Unused since CL 403839.

Change-Id: Ib416778738523be11213c82a9e1a4cdaa8afb294
Reviewed-on: https...

cce00643992995ce3ca4eca301bac77a72e10d8e authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/ir: prune down possible Ntype nodes

Ident, ParenExpr, SelectorExpr, and StarExpr used to need to be
allowed as Ntypes for the old -G...

cf66a82b0bc8fd8925db8ba7d90df67d21feaf55 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: change ir.InstExpr.Targs from Node to Ntype

Type arguments are always type expressions, which are semantically
represented by Ntype.

In fac...

3abe8fe00bdc9ae35b54c36e5e73632346051315 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove ir.TypeAssertExpr.Ntype

As with ir.CompLitExpr.Ntype, there's no need for
ir.TypeAssertExpr.Ntype in a pure-types2 world...

025a9c343880f9dc98c7c7479ab481a061e60950 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove ir.CompLitExpr.Ntype field

It's no longer needed, since type expressions are all evaluated by
types2. We can just use Node....

27b844f767d4930e6a0f3bf6f793eb89cf43e817 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: change ir.NewCompLitExpr from Ntype to *types.Type

All callers were already using TypeNode to get an Ntype anyway, so
just push the TypeNode constr...

3ffc230a9fb6f2a2326cf64017eaa7cc4582a8d3 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove ir.Name.Ntype

No longer needed now that IR construction uses types2.

Change-Id: If8b7aff80cd8472be7d87fd3a36d...

a6a49d128bbd67051c2246fbb9abae85c8601a5d authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove ir.Name.TypeDefn

This method used to be needed so the legacy typechecker could report
type declaration loops, but...

e94fe09c33f9608ced0e7abcabba9fb697844a6c authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/typecheck: avoid use of Name.Ntype for assignments

Prep refactoring for the next CL, which removes Name.Ntype
entirely. Pulled out separately becau...

115c3bfad55809a27009f9ea6f95970ff94164f0 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove ir.TypeNodeAt

It's deprecated and no longer needed.

Simplify underlying code while here.

Change-Id: I2a68108...

53647a1994184e471988b53f1a98c02bd6c609df authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove ir.Field.Ntype

It's never assigned/initialized, so replace all uses with nil.

Change-Id: If224075aab925536114d...

14fed2c8f13b036472c024b185f00b1f8578a6a2 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove ir.NewField's ntyp parameter

ir.NewField is always called with ntyp as nil.

Change-Id: Iccab4ce20ae70d056370a6469278e68774e6...

73fb829f5969c8370ca81bbbf67ad1ffa4c46b98 authored over 2 years ago by Matthew Dempsky <[email protected]>
runtime: prefer curg for execution trace profile

The CPU profiler adds goroutine labels to its samples based on
getg().m.curg. That allows the pr...

7b1f8b62be5f4901404071ddc7160217a60c9810 authored over 2 years ago by Rhys Hiltner <[email protected]>
crypto/x509: disable signing with MD5WithRSA

MD5 is hopelessly broken, we already don't allow verification of
MD5 signatures, we shouldn't su...

fdb640b7a1324c2a4fc579389c4bc287ea90f1db authored over 2 years ago by Roland Shoemaker <[email protected]>
cmd: use 128-bit SHA256 & encode in base64 for content hashes

We used to use SHA1 for content hashes, but CL 402595 changed
all the “don't care” hashes to cmd...

485a572243568530721009829393ba2c0deb7bd0 authored over 2 years ago by Russ Cox <[email protected]>
runtime: use profile data before advancing index

Fixes #52704

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

1926fa5f84b87a7a6cb9f153337424baf367937a authored over 2 years ago by Rhys Hiltner <[email protected]>
cmd/compile: fix constructing expr side-effects when comparing 0-size types

In walkCompare, any ir.OCONVNOP was removed from both operands. So when
constructing assignments...

0e90ba933565ab6e719d6981d8d6195e06625f47 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/dist: add asan tests for global objects in testsanitizers package

Add tests to test that -asan in Go can detect the error memory access
to the global objects.

Up...

d544591d72ade40d34d7a8ee70e7239ae63b4116 authored over 2 years ago by fanzha02 <[email protected]>
cmd/compile: fix static init of literal contains dynamic exprs

Fixes #52673

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

0bd7408f901f33c6f0a5a542f8de6bf17c901e79 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: use appendWalkStmt when possible

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

ed462a66a5e4b57402b509aa27c90342075231f0 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile/internal/walk: remove litas

Since when its only usage is in maplit, and its body is simple enough to
be inlined directly at ...

b922055572d8fb4428d9d3482229e1c32c2f40a4 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/go: skip computing BuildInfo in go list unless it's needed

The only fields of the go list output that require BuildInfo to be
computed are the Stale and St...

aeb933d3ffa1cba614baf21849715bed4145dcd4 authored over 2 years ago by Michael Matloob <[email protected]>
cmd/asm: on PPC64, allow ISEL to accept a CR bit arg

Using the CR bit register arguments makes it more easy to
understand which condition and CR fiel...

2f23364340750fc96afc38cd28c71117f916f23b authored over 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile: fold constants found by prove

It is hit ~70k times building go.
This make the go binary, 0.04% smaller.
I didn't included benc...

e1e056fa6a2f788a15e17d55b7953712053fd760 authored over 2 years ago by Jorropo <[email protected]>
cmd/compile/internal/syntax: minor cleanups in extractName

Backport the recommended changes suggested in CL 403937.

Change-Id: I3ac29c90977e33899881838825...

fbb47e81c1f24a8b9cb84430e9561ace60580af1 authored over 2 years ago by Robert Griesemer <[email protected]>
go/parser: accept all valid type parameter lists

This is a port of CL 402256 from the syntax package to go/parser
with adjustments because of the...

ab0bb52f2fdf454a2cbf20e95f5ecd2bd68b5ada authored over 2 years ago by Robert Griesemer <[email protected]>
io: add an Err field to LimitedReader

Fixes #51115

Change-Id: I3c5296e4adc71c1c1b1808a45abd4801ae43465a
GitHub-Last-Rev: 4c197acd51e1...

fd6ef06296b55a234d4fd5ebf5dd3e5bfd8f4e25 authored over 2 years ago by Carl Johnson <[email protected]>
net/netip: use strconv.AppendUint in AddrPort.AppendTo

This is already used in AddrPort.String.

name old time/op new ...

037b209ae3e0453004a4d57e152aa522c56f79e4 authored over 2 years ago by Tobias Klauser <[email protected]>
cmd/compile: enable Asan check for global variables

With this patch, -asan option can detect the error memory
access to global variables.

So this p...

1b0f9fbb67ad3708665675c9f600608dc9b375fa authored over 2 years ago by fanzha02 <[email protected]>
cmd/compile: combine OR + NOT into ORN on PPC64

This shows up in a few crypto functions, and other
assorted places.

Change-Id: I5a7f4c25ddd4a64...

c570f0eda2c6d250c58028eb9d1e45061f607b67 authored over 2 years ago by Paul E. Murphy <[email protected]>
sync/atomic: add typed atomic values

These implementations will inline to the lower-level primitives,
but they hide the underlying va...

ffe48e00adf3078944015186819a1ed5c6aa8bec authored over 2 years ago by Russ Cox <[email protected]>
cmd/go: write changes to go.mod and go.sum after loading the command-line-arguments package

This entrypoint was missed in CL 349600, and the behavior happened not
to be covered by existing...

cf697253abb781e8a3e8825b7a4b5b96a534b907 authored over 2 years ago by Bryan C. Mills <[email protected]>
Revert "cmd/compile: enable Asan check for global variables"

This reverts CL 401775.

Reason for revert: broke build.

Change-Id: I4f6f2edff1e4afcf31cd90e26d...

265b5fd2f1c6d3379893b58940dde48e156ce531 authored over 2 years ago by Bryan Mills <[email protected]>
cmd/compile: enable Asan check for global variables

With this patch, -asan option can detect the error memory
access to global variables.

So this p...

f52b4ec63d6ce5c4eb9edcb81c3a0661e6f53da0 authored over 2 years ago by fanzha02 <[email protected]>
cmd,runtime: enable race detector on s390x

LLVM has SystemZ ThreadSanitizer support now [1], this patch integrates
it with golang. The bigg...

87cf92e7d51aea29eae0266b6d65e1a5b6244131 authored over 2 years ago by Ilya Leoshkevich <[email protected]>
reflect: implement float32 for regabi riscv64

This CL implement archFloat32FromReg and archFloat32ToReg
need for riscv64 due to differences in...

93218ea1a755f67b8aae15dab92387716d50fecc authored over 2 years ago by Meng Zhuo <[email protected]>
go/parser: parser to accept ~x as unary expression

This is a port of CL 402255 from the syntax package to go/parser
with adjustments because of the...

7cf32686667fe2de869ddab3ede647e34be9209e authored over 2 years ago by Robert Griesemer <[email protected]>
runtime: improve the annotation of debugCallV2 for arm64

This CL improves the annotation documentation of the debugCallV2 function
for arm64.

Change-Id:...

4f898840d1e81955231e42a0c5aee29065568196 authored over 2 years ago by eric fang <[email protected]>
reflect: derive correct Value method in panic messages

methodName was brittle in that it assumed exactly where
in the call stack the exported Value met...

8b389eb2be2d66563669c74f6515b5f537542ce9 authored over 2 years ago by Joe Tsai <[email protected]>
cmd/compile: use dictionary to convert type to shaped interface type

When we convert a type to a shaped interface type, we are not able
to recognize the itab. So pas...

64b6e44ad7e4db4525b7f05be128bc7d8713afb8 authored over 2 years ago by Wayne Zuo <[email protected]>
runtime: re-add import in trace.go

CL 400795, which uses the runtime/internal/atomic package in trace.go,
raced against CL 397014 r...

23f13255f0a5a3dd34ee31b64e45fa87efadcb43 authored over 2 years ago by Rhys Hiltner <[email protected]>
cmd/internal/notsha256: revert PPC64 removal, and fix PPC64 asm

This reverts commit a41e37f56a4fc2523ac88a76bf54ba3e45dcf533, and
updates the ASM usage to be go...

d24c65d8bfb24b7064d49ec49b418ef273dc17f2 authored over 2 years ago by Paul E. Murphy <[email protected]>
runtime: split mprof locks

The profiles for memory allocations, sync.Mutex contention, and general
blocking store their dat...

89c0dd829f49c91eb2636bc2b24df0b1cdc74a1c authored over 2 years ago by Rhys Hiltner <[email protected]>
runtime: add CPU samples to execution trace

When the CPU profiler and execution tracer are both active, report the
CPU profile samples in th...

2c0a9884e0dc930c1a3596bc1decf183c8fdcf77 authored over 2 years ago by Rhys Hiltner <[email protected]>
runtime: decrease STW pause for goroutine profile

The goroutine profile needs to stop the world to get a consistent
snapshot of all goroutines in ...

52bd1c4d6cc691aa60c71513695dba03062deb59 authored over 2 years ago by Rhys Hiltner <[email protected]>
runtime/pprof: stress test goroutine profiler

For #33250

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

b9dee7e59b43376938128e6a3dc26d77719d193c authored over 2 years ago by Rhys Hiltner <[email protected]>
runtime/pprof: add race annotations for goroutine profiles

The race annotations for goroutine label maps covered the special type
of read necessary to crea...

209942fa88ef49e98a0f36dbbfa74c936a8d0fad authored over 2 years ago by Rhys Hiltner <[email protected]>
runtime: store consistent total allocation stats as uint64

Currently the consistent total allocation stats are managed as uintptrs,
which means they can ea...

7c404d59db3591a7c5854b38dc0f05fcb7ac0cff authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
vendor, cmd/vendor: update to current x/sys repo

Ran, in src and src/cmd:

go get -u golang.org/x/sys
go mod vendor
go mod tidy

This...

bccce9028996502e62a92255d79d5e003fbae63b authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: mark shape type dupok

Fixes #52633

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

884530b374501b997422d08833c2a21966bd1069 authored over 2 years ago by zhouguangyuan <[email protected]>
cmd/compile: fix bit length intrinsic for 16/8 bits on GOAMD64=v3

Upper bits of registers for uint8/uint16 are junk. Make sure we
mask those off before using LZCN...

5a103ca5e9e67414f5307b3993c1c34e531b26a8 authored over 2 years ago by Keith Randall <[email protected]>
encoding/base32: decoder output depends on chunking of underlying reader

After an analysis, I figured that a way to do it could be to check, after
the call to readEncode...

8a5845e4e34c046758af3729acf9221b8b6c01ae authored over 2 years ago by teivah <[email protected]>
net: remove fallback path in sysSocket

Support for operating system versions requiring this fallback path was
dropped from recent Go ve...

35d02791b990082fe80da54352050bd095ebd1e7 authored over 2 years ago by Tobias Klauser <[email protected]>
archive/zip: remove unused File.descErr field

Found via staticcheck. Unused as of CL 357489.

Change-Id: I3aa409994ba4388912ac7e7809168529a5b6...

356c8c54521efb02cc2a103ac2b80c77f54b4bcd authored over 2 years ago by Kale Blankenship <[email protected]>
A+C: add YunHao Zhang

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

8efd059f10d98643bc464bb1e6ce4cf3b225b7b5 authored over 2 years ago by zhangyunhao <[email protected]>
os/exec: in Command, update cmd.Path even if LookPath returns an error

Fixes #52666.
Updates #43724.
Updates #43947.

Change-Id: I72cb585036b7e93cd7adbff318b400586ea97...

61a585a32cc44cb1d8d00d12dcf101a61f145d69 authored over 2 years ago by Bryan C. Mills <[email protected]>
runtime: use Escape instead of escape in export_test.go

I landed the bottom CL of my stack without rebasing or retrying trybots,
but in the rebase "esca...

e7508598bb8007ec2a04cb25a6076643af05c033 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime/debug: export SetMemoryLimit

This change also adds an end-to-end test for SetMemoryLimit as a
testprog.

Fixes #48409.

Chang...

f01c20bf2ba889e5c9e3565175cc4276f9c11516 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: redesign scavenging algorithm

Currently the runtime's scavenging algorithm involves running from the
top of the heap address s...

91f863013e6b5ba870f6bfbfda0b735cf54fb3ca authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: make the scavenger and allocator respect the memory limit

This change does everything necessary to make the memory allocator and
the scavenger respect the...

b4d81147d8dc26c8f7d6822b6249311d569af1de authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: set the heap goal from the memory limit

This change makes the memory limit functional by including it in the
heap goal calculation. Spec...

7e4bc74119a431f3f0dd3dadd05bbb045969190d authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: remove float64 multiplication in heap trigger compute path

As of the last CL, the heap trigger is computed as-needed. This means
that some of the niceties ...

973dcbb87c0097c783abe35e319725c68167f718 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: check the heap goal and trigger dynamically

As it stands, the heap goal and the trigger are set once by
gcController.commit, and then read o...

129dcb7226678d8ccd06c016de3fcfcc43b9aa9c authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: rewrite pacer max trigger calculation

Currently the maximum trigger calculation is totally incorrect with
respect to the comment above...

473c99643f3da2b02949554a66d8582c926ed725 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: move inconsistent memstats into gcController

Fundamentally, all of these memstats exist to serve the runtime in
managing memory. For the sake...

375d696ddf102d64729a21f931f4e1d8bfa82ce5 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: clean up inconsistent heap stats

The inconsistent heaps stats in memstats are a bit messy. Primarily,
heap_sys is non-orthogonal ...

d36d5bd3c1906d3581ac4ac0d8a1a0eb4b5b16c4 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>