Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(266)

Issue 9910043: code review 9910043: cmd/gc: avoid creating circular lists when compiling wi... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by DMorsing
Modified:
11 years, 11 months ago
Reviewers:
rsc
CC:
dvyukov, remyoudompheng, rsc, gobot, golang-dev
Visibility:
Public.

Description

cmd/gc: avoid creating circular lists when compiling with race detector. Fixes issue 5431.

Patch Set 1 #

Patch Set 2 : diff -r fd791d51e476 https://code.google.com/p/go/ #

Patch Set 3 : diff -r fd791d51e476 https://code.google.com/p/go/ #

Patch Set 4 : diff -r fd791d51e476 https://code.google.com/p/go/ #

Total comments: 3

Patch Set 5 : diff -r bc2993c5834f https://code.google.com/p/go/ #

Patch Set 6 : diff -r bc2993c5834f https://code.google.com/p/go/ #

Patch Set 7 : diff -r a14bbc9436a3 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -1 line) Patch
M src/cmd/gc/racewalk.c View 1 2 3 4 5 1 chunk +5 lines, -1 line 0 comments Download
M src/pkg/runtime/race/testdata/regression_test.go View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 23
DMorsing
Hello golang-dev@googlegroups.com (cc: dvyukov@google.com), I'd like you to review this change to https://code.google.com/p/go/
12 years, 1 month ago (2013-05-31 19:02:41 UTC) #1
DMorsing
I got a test for this, but I'm not sure where to put race detector ...
12 years, 1 month ago (2013-05-31 19:03:38 UTC) #2
DMorsing
On 2013/05/31 19:03:38, DMorsing wrote: > I got a test for this, but I'm not ...
12 years, 1 month ago (2013-05-31 19:06:30 UTC) #3
gobot
R=dvyukov (assigned by r)
12 years, 1 month ago (2013-05-31 19:08:29 UTC) #4
remyoudompheng
On 2013/5/31 <daniel.morsing@gmail.com> wrote: > I got a test for this, but I'm not sure ...
12 years, 1 month ago (2013-05-31 20:27:08 UTC) #5
DMorsing
PTAL.
12 years, 1 month ago (2013-06-01 10:46:27 UTC) #6
dvyukov
On 2013/05/31 20:27:08, remyoudompheng wrote: > On 2013/5/31 <mailto:daniel.morsing@gmail.com> wrote: > > I got a ...
12 years, 1 month ago (2013-06-03 06:50:07 UTC) #7
dvyukov
https://codereview.appspot.com/9910043/diff/13001/src/cmd/gc/racewalk.c File src/cmd/gc/racewalk.c (right): https://codereview.appspot.com/9910043/diff/13001/src/cmd/gc/racewalk.c#newcode261 src/cmd/gc/racewalk.c:261: // if right has an non-empty init list, l ...
12 years, 1 month ago (2013-06-03 06:57:08 UTC) #8
DMorsing
https://codereview.appspot.com/9910043/diff/13001/src/cmd/gc/racewalk.c File src/cmd/gc/racewalk.c (right): https://codereview.appspot.com/9910043/diff/13001/src/cmd/gc/racewalk.c#newcode261 src/cmd/gc/racewalk.c:261: // if right has an non-empty init list, l ...
12 years, 1 month ago (2013-06-03 08:20:31 UTC) #9
remyoudompheng
On 2013/06/03 08:20:31, DMorsing wrote: > https://codereview.appspot.com/9910043/diff/13001/src/cmd/gc/racewalk.c > File src/cmd/gc/racewalk.c (right): > > https://codereview.appspot.com/9910043/diff/13001/src/cmd/gc/racewalk.c#newcode261 > ...
12 years, 1 month ago (2013-06-03 08:23:54 UTC) #10
DMorsing
On 2013/06/03 08:23:54, remyoudompheng wrote: > On 2013/06/03 08:20:31, DMorsing wrote: > > https://codereview.appspot.com/9910043/diff/13001/src/cmd/gc/racewalk.c > ...
12 years, 1 month ago (2013-06-03 08:35:41 UTC) #11
dvyukov
https://codereview.appspot.com/9910043/diff/13001/src/cmd/gc/racewalk.c File src/cmd/gc/racewalk.c (right): https://codereview.appspot.com/9910043/diff/13001/src/cmd/gc/racewalk.c#newcode261 src/cmd/gc/racewalk.c:261: // if right has an non-empty init list, l ...
12 years, 1 month ago (2013-06-03 08:45:45 UTC) #12
dvyukov
On 2013/06/03 08:45:45, dvyukov wrote: > Should we then remember n->right->ninit in l or in ...
12 years, 1 month ago (2013-06-03 08:46:54 UTC) #13
DMorsing
PTAL.
12 years, 1 month ago (2013-06-03 17:44:31 UTC) #14
rsc
This doesn't seem right. The correct behavior seems unlikely to depend on the exact pointer ...
12 years, 1 month ago (2013-06-03 19:50:42 UTC) #15
DMorsing
On 2013/06/03 19:50:42, rsc wrote: > This doesn't seem right. The correct behavior seems unlikely ...
12 years, 1 month ago (2013-06-06 15:32:27 UTC) #16
dvyukov
On 2013/06/06 15:32:27, DMorsing wrote: > On 2013/06/03 19:50:42, rsc wrote: > > This doesn't ...
12 years, 1 month ago (2013-06-06 15:39:10 UTC) #17
DMorsing
On 2013/06/06 15:39:10, dvyukov wrote: > On 2013/06/06 15:32:27, DMorsing wrote: > > On 2013/06/03 ...
12 years, 1 month ago (2013-06-06 15:53:13 UTC) #18
DMorsing
PTAL.
12 years, 1 month ago (2013-06-06 16:10:31 UTC) #19
dvyukov
On 2013/06/06 16:10:31, DMorsing wrote: > PTAL. looks good, but wait for Russ
12 years, 1 month ago (2013-06-06 16:13:12 UTC) #20
DMorsing
ping?
12 years ago (2013-06-11 16:37:42 UTC) #21
rsc
LGTM Thanks. That logic I believe!
12 years ago (2013-06-11 19:12:09 UTC) #22
DMorsing
12 years ago (2013-06-11 19:19:34 UTC) #23
*** Submitted as https://code.google.com/p/go/source/detail?r=c56c0d1f613e ***

cmd/gc: avoid creating circular lists when compiling with race detector.

Fixes issue 5431.

R=dvyukov, remyoudompheng, rsc
CC=gobot, golang-dev
https://codereview.appspot.com/9910043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b