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

Issue 145010043: code review 145010043: runtime: free stacks of Gread goroutines at GC time (Closed)

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

Description

runtime: free stacks of Gdead goroutines at GC time We could probably free the G structures as well, but for the allg list. Leaving that for another day. Fixes issue 8287

Patch Set 1 #

Patch Set 2 : diff -r 2694ad0b98615ebdf85b2cbe6622a17db69621b0 https://khr%40golang.org@code.google.com/p/go/ #

Patch Set 3 : diff -r 2694ad0b98615ebdf85b2cbe6622a17db69621b0 https://khr%40golang.org@code.google.com/p/go/ #

Total comments: 1

Patch Set 4 : diff -r caab8f8714f596768307dfeb870ccc74f8e6e80b https://khr%40golang.org@code.google.com/p/go/ #

Patch Set 5 : diff -r caab8f8714f596768307dfeb870ccc74f8e6e80b https://khr%40golang.org@code.google.com/p/go/ #

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

Messages

Total messages: 6
khr
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://khr%40golang.org@code.google.com/p/go/
9 years, 7 months ago (2014-09-17 00:00:42 UTC) #1
dvyukov
https://codereview.appspot.com/145010043/diff/40001/src/runtime/stack.c File src/runtime/stack.c (right): https://codereview.appspot.com/145010043/diff/40001/src/runtime/stack.c#newcode807 src/runtime/stack.c:807: if(used >= oldsize / 4) my plan was to ...
9 years, 7 months ago (2014-09-17 00:09:03 UTC) #2
khr1
On Tue, Sep 16, 2014 at 5:09 PM, <dvyukov@google.com> wrote: > > https://codereview.appspot.com/145010043/diff/40001/src/runtime/stack.c > File ...
9 years, 7 months ago (2014-09-17 00:20:42 UTC) #3
dvyukov
On 2014/09/17 00:20:42, khr1 wrote: > On Tue, Sep 16, 2014 at 5:09 PM, <mailto:dvyukov@google.com> ...
9 years, 7 months ago (2014-09-17 00:31:37 UTC) #4
rsc
LGTM s/Gread/Gdead/ in CL description
9 years, 7 months ago (2014-09-17 18:23:13 UTC) #5
khr
9 years, 7 months ago (2014-09-17 20:25:49 UTC) #6
*** Submitted as https://code.google.com/p/go/source/detail?r=6c2dfbd8577f ***

runtime: free stacks of Gdead goroutines at GC time

We could probably free the G structures as well, but
for the allg list.  Leaving that for another day.

Fixes issue 8287

LGTM=rsc
R=golang-codereviews, dvyukov, khr, rsc
CC=golang-codereviews
https://codereview.appspot.com/145010043
Sign in to reply to this message.

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