diff options
| author | Austin Clements <austin@google.com> | 2019-09-27 12:31:33 -0400 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2019-10-25 23:25:31 +0000 |
| commit | 1b79afe460c329c1db75456c3278600a4b451b41 (patch) | |
| tree | 2db539f58c56812c100aee26dac2fda341c3ed79 /src/runtime/runtime2.go | |
| parent | 3f834114ab617eb7b414cb12e7ca8085b5fe3a5c (diff) | |
| download | go-1b79afe460c329c1db75456c3278600a4b451b41.tar.xz | |
runtime: remove old stack scanning code
This removes scang and preemptscan, since the stack scanning code now
uses suspendG.
For #10958, #24543.
Change-Id: Ic868bf5d6dcce40662a82cb27bb996cb74d0720e
Reviewed-on: https://go-review.googlesource.com/c/go/+/201138
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/runtime2.go')
| -rw-r--r-- | src/runtime/runtime2.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 7eac58eb2c..7630888a3d 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -421,7 +421,6 @@ type g struct { preempt bool // preemption signal, duplicates stackguard0 = stackpreempt preemptStop bool // transition to _Gpreempted on preemption; otherwise, just deschedule paniconfault bool // panic (instead of crash) on unexpected fault address - preemptscan bool // preempted g does scan for gc gcscandone bool // g has scanned stack; protected by _Gscan bit in status gcscanvalid bool // false at start of gc cycle, true if G has not run since last scan; TODO: remove? throwsplit bool // must not split stack |
