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

Issue 137070043: code review 137070043: runtime: adapt race detector for runtime written in Goadapt (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by dvyukov
Modified:
10 years, 6 months ago
Reviewers:
gobot, khr
CC:
golang-codereviews, mdempsky, khr, rsc
Visibility:
Public.

Description

runtime: adopt race detector for runtime written in Go Ignore memory access on g0/gsignal. See the issue for context and explanation. Fixes issue 8627.

Patch Set 1 #

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

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

Total comments: 4

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -10 lines) Patch
M src/pkg/runtime/cpuprof.go View 1 2 3 2 chunks +3 lines, -7 lines 0 comments Download
M src/pkg/runtime/proc.c View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M src/pkg/runtime/race.c View 1 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 9
dvyukov
Hello golang-codereviews@googlegroups.com (cc: rsc@golang.org), I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
10 years, 6 months ago (2014-09-02 07:42:57 UTC) #1
mdempsky
Seems to fix the crashes I was running into. https://codereview.appspot.com/137070043/diff/40001/src/pkg/runtime/cpuprof.go File src/pkg/runtime/cpuprof.go (right): https://codereview.appspot.com/137070043/diff/40001/src/pkg/runtime/cpuprof.go#newcode267 src/pkg/runtime/cpuprof.go:267: ...
10 years, 6 months ago (2014-09-02 16:23:42 UTC) #2
khr
https://codereview.appspot.com/137070043/diff/40001/src/pkg/runtime/race.c File src/pkg/runtime/race.c (right): https://codereview.appspot.com/137070043/diff/40001/src/pkg/runtime/race.c#newcode175 src/pkg/runtime/race.c:175: } Don't you also need to do racereadpc/racewritepc in ...
10 years, 6 months ago (2014-09-02 19:49:23 UTC) #3
dvyukov
Regarding the other comments. Racecall is the wrong place for the check, as main goroutine ...
10 years, 6 months ago (2014-09-03 07:28:21 UTC) #4
khr
On 2014/09/03 07:28:21, dvyukov wrote: > Regarding the other comments. > Racecall is the wrong ...
10 years, 6 months ago (2014-09-03 16:33:06 UTC) #5
rsc
In CL description, s/adopt/adapt/
10 years, 6 months ago (2014-09-03 16:47:21 UTC) #6
dvyukov
*** Submitted as https://code.google.com/p/go/source/detail?r=a48637f85ed1 *** runtime: adopt race detector for runtime written in Go Ignore ...
10 years, 6 months ago (2014-09-03 16:47:36 UTC) #7
dvyukov
sorry, race condition On Wed, Sep 3, 2014 at 8:47 PM, Russ Cox <rsc@golang.org> wrote: ...
10 years, 6 months ago (2014-09-03 16:49:37 UTC) #8
gobot
10 years, 6 months ago (2014-09-03 16:56:29 UTC) #9
Message was sent while issue was closed.
This CL appears to have broken the linux-amd64-race-temp builder.
See http://build.golang.org/log/b3ca1808a3d321720b7783bccd3fb7c4dfa0ae46
Sign in to reply to this message.

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