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

Issue 10026046: code review 10026046: cmd/gc: properly race-instrument for loops (Closed)

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

Description

cmd/gc: properly race-instrument for loops Instrumentation of ntest expression should go to ntest->init. Same for nincr. Fixes issue 5340.

Patch Set 1 #

Patch Set 2 : diff -r b1217a6ca24c https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 3 : diff -r b1217a6ca24c https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 4 : diff -r 59ac1b0cc342 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 5 : diff -r 59ac1b0cc342 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 6 : diff -r 59ac1b0cc342 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 7 : diff -r 20c30938cfd2 https://dvyukov%40google.com@code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -14 lines) Patch
M src/cmd/gc/racewalk.c View 1 2 3 3 chunks +16 lines, -14 lines 0 comments Download
M src/pkg/runtime/race/testdata/mop_test.go View 1 2 3 1 chunk +88 lines, -0 lines 0 comments Download
M src/pkg/runtime/race/testdata/regression_test.go View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 8
dvyukov
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
12 years, 1 month ago (2013-06-06 11:57:16 UTC) #1
DMorsing
This code has the same problems as https://codereview.appspot.com/9910043/ I'll send in a new version for ...
12 years, 1 month ago (2013-06-06 15:05:36 UTC) #2
dvyukov
On 2013/06/06 15:05:36, DMorsing wrote: > This code has the same problems as https://codereview.appspot.com/9910043/ > ...
12 years, 1 month ago (2013-06-06 15:16:39 UTC) #3
DMorsing
9910043 is in now. Pinging this CL so it doesn't get lost.
12 years ago (2013-06-11 20:35:47 UTC) #4
dvyukov
Hello golang-dev@googlegroups.com, daniel.morsing@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years ago (2013-06-13 10:54:30 UTC) #5
dvyukov
On 2013/06/13 10:54:30, dvyukov wrote: > Hello mailto:golang-dev@googlegroups.com, mailto:daniel.morsing@gmail.com (cc: > mailto:golang-dev@googlegroups.com), > > Please ...
12 years ago (2013-06-13 10:56:21 UTC) #6
DMorsing
LGTM.
12 years ago (2013-06-13 11:12:04 UTC) #7
dvyukov
12 years ago (2013-06-13 12:04:05 UTC) #8
*** Submitted as https://code.google.com/p/go/source/detail?r=ff86470c2f3c ***

cmd/gc: properly race-instrument for loops
Instrumentation of ntest expression should go to ntest->init.
Same for nincr.
Fixes issue 5340.

R=golang-dev, daniel.morsing
CC=golang-dev
https://codereview.appspot.com/10026046
Sign in to reply to this message.

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