diff options
| author | Michael Pratt <mpratt@google.com> | 2025-10-06 16:38:29 -0400 |
|---|---|---|
| committer | Michael Pratt <mpratt@google.com> | 2025-10-07 07:33:32 -0700 |
| commit | 64699542031b994ec4fdb6de887a94b69a372f9b (patch) | |
| tree | 7ebf6de6e389b7ab9f401aa8a1fa31257869a241 /src/runtime/stack.go | |
| parent | 4c0fd3a2b45675a581ef6fa273a221d7131b5647 (diff) | |
| download | go-64699542031b994ec4fdb6de887a94b69a372f9b.tar.xz | |
runtime: assert p.destroy runs with GC not running
This is already guaranteed by stopTheWorldGC prior to procresize. Thus
the cleanup code here is dead, which is a bit confusing.
Replace it with a throw for clarity.
Change-Id: I6a6a636c8ca1487b720c4fab41b2b86c13d1d9e0
Reviewed-on: https://go-review.googlesource.com/c/go/+/709655
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions
