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

Issue 6339051: code review 6339051: runtime: fix potential GC deadlock (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by dvyukov
Modified:
11 years, 10 months ago
Reviewers:
CC:
rsc, r2, golang-dev
Visibility:
Public.

Description

runtime: fix potential GC deadlock The issue seems to not be triggered right now, but I've seen the deadlock after some other legal modifications to runtime. So I think we are safer this way.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M src/pkg/runtime/mgc0.c View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 5
dvyukov
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
11 years, 10 months ago (2012-06-24 11:18:58 UTC) #1
r2
LGTM
11 years, 10 months ago (2012-06-24 15:12:21 UTC) #2
rsc
I like to avoid SysAlloc unless necessary. It doesn't seem strictly necessary here. Russ
11 years, 10 months ago (2012-06-24 23:16:18 UTC) #3
rsc
LGTM
11 years, 10 months ago (2012-06-24 23:16:21 UTC) #4
dvyukov
11 years, 10 months ago (2012-06-25 07:03:41 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=631ba1cdd9fa ***

runtime: fix potential GC deadlock
The issue seems to not be triggered right now,
but I've seen the deadlock after some other legal
modifications to runtime.
So I think we are safer this way.

R=rsc, r
CC=golang-dev
http://codereview.appspot.com/6339051
Sign in to reply to this message.

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