• Austin Clements's avatar
    runtime: fix preemption deadlocks in TestDebugCall* · 29957c52
    Austin Clements authored
    TestDebugCall* uses atomic spin loops and hence can deadlock if the
    garbage collector is enabled (because of #10958; ironically,
    implementing debugger call injection is closely related to fixing this
    exact issue, but we're not there yet).
    
    Fix this by disabling the garbage collector during these tests.
    
    Updates #25519 (might fix it, though I suspect not)
    
    Change-Id: If1e454b9cdea8e4b1cd82509b762c75b6acd8476
    Reviewed-on: https://go-review.googlesource.com/114086
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    29957c52
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
logs.txt Loading commit data...
robots.txt Loading commit data...