diff options
| author | Michael Anthony Knyszek <mknyszek@google.com> | 2023-08-21 22:29:11 +0000 |
|---|---|---|
| committer | Michael Knyszek <mknyszek@google.com> | 2023-08-23 15:49:39 +0000 |
| commit | 081d27a2e5786b2e02cbe4bc9067c6d52ccad44c (patch) | |
| tree | be94f6b086a14452b3e5a1d24aa9228b24408f4a /src/encoding | |
| parent | e68c027204d410ebca5bf1a9660605f2bd737748 (diff) | |
| download | go-081d27a2e5786b2e02cbe4bc9067c6d52ccad44c.tar.xz | |
runtime: create wrappers for gcDrain to identify time in profiles
Currently it's impossible to identify in profiles where gcDrain-related
time is coming from. More specifically, what kind of worker. Create
trivial wrappers for each worker so that the difference shows up in
stack traces.
Also, clarify why gcDrain disables write barriers.
Change-Id: I966e3c0b1c583994e691f486bf0ed8cabb91dbbb
Reviewed-on: https://go-review.googlesource.com/c/go/+/521815
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
