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

Issue 75210044: code review 75210044: runtime: avoid runtime·cgocall in functions called by ...

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by aram
Modified:
11 years, 2 months ago
Reviewers:
dave, dvyukov, bradfitz
CC:
golang-codereviews, bradfitz, dvyukov, dave_cheney.net, rsc
Visibility:
Public.

Description

runtime: avoid runtime·cgocall in functions called by forkAndExecInChild Calling runtime·cgocall could trigger a GC in the child while gclock was held by the parent. Fixes issue 7511

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M src/pkg/runtime/syscall_solaris.goc View 1 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 7
aram
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 2 months ago (2014-03-13 06:57:34 UTC) #1
dave_cheney.net
This looks like the right fix, testing now.
11 years, 2 months ago (2014-03-13 06:59:19 UTC) #2
aram
[+dvyukov, +rsc]
11 years, 2 months ago (2014-03-13 06:59:41 UTC) #3
bradfitz
LGTM On Mar 12, 2014 11:57 PM, <aram@mgk.ro> wrote: > Reviewers: golang-codereviews, > > Message: ...
11 years, 2 months ago (2014-03-13 06:59:48 UTC) #4
dvyukov
LGTM
11 years, 2 months ago (2014-03-13 07:03:36 UTC) #5
dave_cheney.net
LGTM, passes on the solaris 11 builder. I will submit this shortly.
11 years, 2 months ago (2014-03-13 07:07:18 UTC) #6
dave_cheney.net
11 years, 2 months ago (2014-03-13 07:26:16 UTC) #7
*** Submitted as https://code.google.com/p/go/source/detail?r=d8c952ef0940 ***

runtime: avoid runtime·cgocall in functions called by forkAndExecInChild

Calling runtime·cgocall could trigger a GC in the child while
gclock was held by the parent.

Fixes issue 7511

LGTM=bradfitz, dvyukov, dave
R=golang-codereviews, bradfitz, dvyukov, dave
CC=golang-codereviews, rsc
https://codereview.appspot.com/75210044

Committer: Dave Cheney <dave@cheney.net>
Sign in to reply to this message.

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