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

Issue 4948041: code review 4948041: gc: fix some spurious leaks (Closed)

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

Description

gc: fix some spurious leaks Probably will spark some discussion. ☺

Patch Set 1 #

Patch Set 2 : diff -r 34c63d19e1dd https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 34c63d19e1dd https://go.googlecode.com/hg/ #

Total comments: 5

Patch Set 4 : diff -r 0b0c8a77092a https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -85 lines) Patch
M src/cmd/gc/esc.c View 1 11 chunks +58 lines, -85 lines 0 comments Download
M test/escape2.go View 1 1 chunk +86 lines, -0 lines 0 comments Download

Messages

Total messages: 8
rsc
Hello lvd (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 10 months ago (2011-08-24 20:49:15 UTC) #1
rsc
The interesting cases are the new ones in test/escape2.go that say '// does not leak'. ...
13 years, 10 months ago (2011-08-24 20:51:07 UTC) #2
lvd
apart from the CL description you also seem to eliminate some things, presumably b/c they're ...
13 years, 10 months ago (2011-08-24 20:54:17 UTC) #3
rsc
http://codereview.appspot.com/4948041/diff/4001/src/cmd/gc/esc.c File src/cmd/gc/esc.c (left): http://codereview.appspot.com/4948041/diff/4001/src/cmd/gc/esc.c#oldcode528 src/cmd/gc/esc.c:528: // Assignments to global variables get lumped into theSink. ...
13 years, 10 months ago (2011-08-24 20:56:19 UTC) #4
lvd
On Wed, Aug 24, 2011 at 22:56, <rsc@golang.org> wrote: > > http://codereview.appspot.com/**4948041/diff/4001/src/cmd/gc/**esc.c<http://codereview.appspot.com/4948041/diff/4001/src/cmd/gc/esc.c> > File src/cmd/gc/esc.c ...
13 years, 10 months ago (2011-08-25 08:07:40 UTC) #5
lvd
LGTM by the way On Thu, Aug 25, 2011 at 10:07, Luuk van Dijk <lvd@google.com> ...
13 years, 10 months ago (2011-08-25 08:11:59 UTC) #6
rsc
Thanks. Re switching on debug['s'], I still have a few corner cases I'd like to ...
13 years, 10 months ago (2011-08-25 13:19:53 UTC) #7
rsc
13 years, 10 months ago (2011-08-25 13:26:24 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=2ffcdee27931 ***

gc: fix some spurious leaks

Probably will spark some discussion.  ☺

R=lvd
CC=golang-dev
http://codereview.appspot.com/4948041
Sign in to reply to this message.

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