diff options
| author | Michael Anthony Knyszek <mknyszek@google.com> | 2024-04-23 19:17:46 +0000 |
|---|---|---|
| committer | Michael Knyszek <mknyszek@google.com> | 2024-05-06 20:59:12 +0000 |
| commit | be29a02161eae9aa7519496e3d058b3214f91508 (patch) | |
| tree | 9b7ef7a9839c231ff40bd2f23200bf1055f9c2af /src/runtime/proc.go | |
| parent | 5a181c504263b6cc2879d0a4fa19b2c993c59704 (diff) | |
| download | go-be29a02161eae9aa7519496e3d058b3214f91508.tar.xz | |
runtime: delete dead code in the tracer
This code was just missed during the cleanup. There's maybe some merit
to keeping OneNewExtraM, but it would still be fairly optimistic. It's
trivial to bring back, so delete it for now.
Change-Id: I2d033c6daae787e0e8d6b92524f3e59610e2599f
Reviewed-on: https://go-review.googlesource.com/c/go/+/583375
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime/proc.go')
| -rw-r--r-- | src/runtime/proc.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go index 387c4598bb..161d14e562 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go @@ -2343,11 +2343,6 @@ func oneNewExtraM() { if raceenabled { gp.racectx = racegostart(abi.FuncPCABIInternal(newextram) + sys.PCQuantum) } - trace := traceAcquire() - if trace.ok() { - trace.OneNewExtraM(gp) - traceRelease(trace) - } // put on allg for garbage collector allgadd(gp) @@ -5489,7 +5484,6 @@ func (pp *p) destroy() { freemcache(pp.mcache) pp.mcache = nil gfpurge(pp) - traceProcFree(pp) if raceenabled { if pp.timers.raceCtx != 0 { // The race detector code uses a callback to fetch |
