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

Issue 7002049: code review 7002049: runtime: earlier detection of unused spans.

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 6 months ago by Sebastien Paolacci
Modified:
12 years, 11 months ago
Reviewers:
rsc
CC:
rsc, dvyukov, minux1, golang-dev
Visibility:
Public.

Description

runtime: earlier detection of unused spans. Mark candidate spans one GC pass earlier. Move scavenger's code out from mgc0 and constrain it into mheap (where it belongs).

Patch Set 1 #

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

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

Total comments: 8

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

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

Messages

Total messages: 14
Sebastien Paolacci
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
13 years, 6 months ago (2012-12-22 09:23:52 UTC) #1
rsc
looks good just a few nits https://codereview.appspot.com/7002049/diff/1002/src/pkg/runtime/mheap.c File src/pkg/runtime/mheap.c (right): https://codereview.appspot.com/7002049/diff/1002/src/pkg/runtime/mheap.c#newcode408 src/pkg/runtime/mheap.c:408: if (trace) no ...
13 years, 6 months ago (2013-01-02 22:46:09 UTC) #2
rsc
please change the CL descrpition to say runtime: not runtime/scavenger:. (there is no runtime/scavenger package.)
13 years, 6 months ago (2013-01-02 22:51:57 UTC) #3
dvyukov
https://codereview.appspot.com/7002049/diff/1002/src/pkg/runtime/mheap.c File src/pkg/runtime/mheap.c (right): https://codereview.appspot.com/7002049/diff/1002/src/pkg/runtime/mheap.c#newcode334 src/pkg/runtime/mheap.c:334: s->npreleased = t->npreleased; Is this change correct if we ...
13 years, 6 months ago (2013-01-03 09:46:05 UTC) #4
Sebastien Paolacci
Please take another look. https://codereview.appspot.com/7002049/diff/1002/src/pkg/runtime/mheap.c File src/pkg/runtime/mheap.c (right): https://codereview.appspot.com/7002049/diff/1002/src/pkg/runtime/mheap.c#newcode334 src/pkg/runtime/mheap.c:334: s->npreleased = t->npreleased; On 2013/01/03 ...
13 years, 6 months ago (2013-01-06 09:28:04 UTC) #5
Sebastien Paolacci
Gentle ping.
13 years, 5 months ago (2013-01-18 21:34:52 UTC) #6
rsc
LGTM Looks good. Please hg sync + hg mail again once atom's current patch is ...
13 years, 5 months ago (2013-01-18 21:48:09 UTC) #7
rsc
The patch applied cleanly after all. Submitting.
13 years, 5 months ago (2013-01-18 22:39:27 UTC) #8
Sebastien Paolacci
On 2013/01/18 22:39:27, rsc wrote: > The patch applied cleanly after all. Submitting. Hello Russ, ...
13 years, 5 months ago (2013-01-26 18:47:26 UTC) #9
minux1
On 2013/01/26 18:47:26, Sebastien Paolacci wrote: > Manually deleted on my side (`hg -D'), but ...
13 years, 5 months ago (2013-01-26 18:52:14 UTC) #10
rsc
The patched-in CL was sitting in my client. Submitting now for sure!
13 years, 5 months ago (2013-01-28 17:53:41 UTC) #11
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=57ada05cb325 *** runtime: earlier detection of unused spans. Mark candidate spans one ...
13 years, 5 months ago (2013-01-28 17:53:42 UTC) #12
Sebastien Paolacci
Thanks On Mon, Jan 28, 2013 at 6:53 PM, Russ Cox <rsc@golang.org> wrote: > The ...
13 years, 5 months ago (2013-01-28 22:18:35 UTC) #13
remyoudompheng
12 years, 11 months ago (2013-07-20 20:08:43 UTC) #14
R=close
Sign in to reply to this message.

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