aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
authorPaul E. Murphy <murp@ibm.com>2021-11-19 16:33:42 -0600
committerPaul Murphy <murp@ibm.com>2021-11-30 15:28:46 +0000
commit682435dd9991040073ae12021fac164b41376502 (patch)
treef0a1a9d71871ac1d910d49bcfc0eee0b5ede9063 /src/runtime/debug
parent18934e11ba6ef2b2f21f091ddf4ab6814dcf1959 (diff)
downloadgo-682435dd9991040073ae12021fac164b41376502.tar.xz
misc/cgo/test: reduce likeliness of hang in Test9400
If a GC triggers while spinning in RewindAndSetgid, it may result in this test hanging. Avoid it by disabling the collector before entering the uninterruptable ASM conditional wait. Fixes #49695 Change-Id: Ie0a03653481fb746f862469361b7840f4bfa8b67 Reviewed-on: https://go-review.googlesource.com/c/go/+/365836 Run-TryBot: Paul Murphy <murp@ibm.com> TryBot-Result: Go Bot <gobot@golang.org> Trust: Michael Knyszek <mknyszek@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/debug')
0 files changed, 0 insertions, 0 deletions