1
0
mirror of https://github.com/golang/go synced 2024-11-20 04:44:40 -07:00
go/src/internal
Austin Clements eec6fdc90b internal/trace: don't assume GC will start and end on same P
Currently, GC disables preemption between the traceGCStart and
traceGCDone, so it never moves Ps. Consequently, the trace verifier
attaches information about GC to its per-P state and will fail if GC
starts on one P and ends on another.

GC will soon be preemptible and may end on a different P than it
began. Hence, this change lifts this per-P verifier state to global
state.

Change-Id: I82256e2baab1ff3c4453fec312079018423b4b51
Reviewed-on: https://go-review.googlesource.com/8714
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Reviewed-by: Rick Hudson <rlh@golang.org>
2015-04-10 18:21:41 +00:00
..
format cmd/gofmt, go/format: refactor common pieces into internal/format 2015-04-01 17:35:26 +00:00
mime net/mail: move RFC 2047 code to internal/mime 2015-02-23 17:46:37 +00:00
syscall os: windows Rename should overwrite destination file. 2015-04-09 08:39:52 +00:00
trace internal/trace: don't assume GC will start and end on same P 2015-04-10 18:21:41 +00:00