]> Cypherpunks repositories - gostls13.git/commit
runtime: add a maymorestack hook that moves the stack
authorAustin Clements <austin@google.com>
Mon, 27 Sep 2021 14:05:13 +0000 (10:05 -0400)
committerAustin Clements <austin@google.com>
Fri, 5 Nov 2021 00:52:09 +0000 (00:52 +0000)
commitbd580a0d10729553a7905481d17eed0436198866
treebfba43dddf021e38836ae034a2ced4a7a7c3aa52
parent35c7234601c409a1d1595e4eb9fe72e8ba4e6464
runtime: add a maymorestack hook that moves the stack

This adds a maymorestack hook that moves the stack at every
cooperative preemption point.

For #48297.

Change-Id: Ic15f9bcbc163345e6422586302d57fda4744caec
Reviewed-on: https://go-review.googlesource.com/c/go/+/359797
Trust: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: David Chase <drchase@google.com>
src/runtime/debug.go