diff options
| author | Russ Cox <rsc@golang.org> | 2017-04-28 12:45:46 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2017-04-28 17:37:46 +0000 |
| commit | c82efb1fa370ea83a7e9ff89d85598bb0fdc3fb5 (patch) | |
| tree | dbc2d7bbc40f5b368e2344797308fd6808b2d783 /src/os/exec/exec.go | |
| parent | 50f67add81eb9fa032f2e87c639fc42f0cc9de72 (diff) | |
| download | go-c82efb1fa370ea83a7e9ff89d85598bb0fdc3fb5.tar.xz | |
runtime: fix profile handling of labels for race detector
If g1 sets its labels and then they are copied into a profile buffer
and then g2 reads the profile buffer and inspects the labels,
the race detector must understand that g1's recording of the labels
happens before g2's use of the labels. Make that so.
Fixes race test failure in CL 39613.
Change-Id: Id7cda1c2aac6f8eef49213b5ca414f7154b4acfa
Reviewed-on: https://go-review.googlesource.com/42111
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions
