]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: remove work.pauseStart
authorMichael Pratt <mpratt@google.com>
Mon, 13 Nov 2023 18:33:50 +0000 (13:33 -0500)
committerMichael Pratt <mpratt@google.com>
Mon, 13 Nov 2023 22:24:48 +0000 (22:24 +0000)
commit7a6ddbb425218b2f4866478d0c673ba82c8438e6
treed80eb99340d5fb84e506cd71258251445f324a62
parent773039ed5c7b3721f7b14d33d608184b2598c7f4
runtime: remove work.pauseStart

Most of the uses of work.pauseStart are completely useless, it could
simply be a local variable. One use passes a parameter from gcMarkDone
to gcMarkTermination, but that could simply be an argument.

Keeping this field in workType makes it seems more important than it
really is, so just drop it.

Change-Id: I2fdc0b21f8844e5e7be47148c3e10f13e49815c6
Reviewed-on: https://go-review.googlesource.com/c/go/+/542075
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/runtime/mgc.go