aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/syscall_linux.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-08-25 11:50:50 -0400
committerAustin Clements <austin@google.com>2016-09-20 18:37:32 +0000
commitab5923572984651af05a47755109642bfc529cb5 (patch)
treeebdcc323109d87d2ff86fa3f77988dd25c7ab318 /src/syscall/syscall_linux.go
parent39ce6eb9ec53e53e361824feb96cbbc6d236df5a (diff)
downloadgo-ab5923572984651af05a47755109642bfc529cb5.tar.xz
runtime: consistency check for G rescan position
Issue #17099 shows a failure that indicates we rescanned a stack twice concurrently during mark termination, which suggests that the rescan list became inconsistent. Add a simple check when we dequeue something from the rescan list that it claims to be at the index where we found it. Change-Id: I6a267da4154a2e7b7d430cb4056e6bae978eaf62 Reviewed-on: https://go-review.googlesource.com/29280 Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rick Hudson <rlh@golang.org>
Diffstat (limited to 'src/syscall/syscall_linux.go')
0 files changed, 0 insertions, 0 deletions