aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/trace/trace_stack_test.go
diff options
context:
space:
mode:
authorMichael Anthony Knyszek <mknyszek@google.com>2020-01-16 21:39:42 +0000
committerMichael Knyszek <mknyszek@google.com>2020-03-18 17:59:09 +0000
commit79b43fa819bca31b5be2b9ed3014d8b7faf4c8cc (patch)
tree5c08b671de6735a4389314ecdd697958cc352aa0 /src/runtime/trace/trace_stack_test.go
parent6197104c14dc6e72a368f9b5d3d2a14381f5e456 (diff)
downloadgo-79b43fa819bca31b5be2b9ed3014d8b7faf4c8cc.tar.xz
runtime: preempt dedicated background mark workers for STW
Currently, dedicated background mark workers are essentially always non-preemptible. This change makes it so that dedicated background mark workers park if their preemption flag is set and someone is trying to STW, allowing them to do so. This change prepares us for allowing a STW to happen (and happen promptly) during GC marking in a follow-up change. Updates #19812. Change-Id: I67fb6085bf0f0aebd18ca500172767818a1f15e3 Reviewed-on: https://go-review.googlesource.com/c/go/+/215157 Run-TryBot: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com> Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/trace/trace_stack_test.go')
0 files changed, 0 insertions, 0 deletions