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

Issue 6242061: code review 6242061: runtime: update field types in preparation for GC changes (Closed)

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

Description

runtime: update field types in preparation for GC changes

Patch Set 1 #

Patch Set 2 : diff -r 40632db23c46 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 40632db23c46 https://go.googlecode.com/hg/ #

Total comments: 7

Patch Set 4 : diff -r 40632db23c46 https://go.googlecode.com/hg/ #

Total comments: 4

Patch Set 5 : diff -r 40632db23c46 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -61 lines) Patch
M src/pkg/runtime/cgocall.c View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/mgc0.c View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download
M src/pkg/runtime/mprof.goc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/proc.c View 1 2 3 4 17 chunks +36 lines, -32 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 2 3 4 3 chunks +8 lines, -8 lines 0 comments Download
M src/pkg/runtime/thread_darwin.c View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/thread_freebsd.c View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/thread_linux.c View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/thread_netbsd.c View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/thread_openbsd.c View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/traceback_arm.c View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/runtime/traceback_x86.c View 1 4 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 15
atom
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 10 months ago (2012-05-26 08:30:29 UTC) #1
remyoudompheng
http://codereview.appspot.com/6242061/diff/2008/src/pkg/runtime/runtime.h File src/pkg/runtime/runtime.h (right): http://codereview.appspot.com/6242061/diff/2008/src/pkg/runtime/runtime.h#newcode481 src/pkg/runtime/runtime.h:481: void* args[2]; // padded to actual size deoesn't this ...
12 years, 10 months ago (2012-05-26 08:39:09 UTC) #2
minux1
http://codereview.appspot.com/6242061/diff/2008/src/pkg/runtime/runtime.h File src/pkg/runtime/runtime.h (right): http://codereview.appspot.com/6242061/diff/2008/src/pkg/runtime/runtime.h#newcode481 src/pkg/runtime/runtime.h:481: void* args[2]; // padded to actual size On 2012/05/26 ...
12 years, 10 months ago (2012-05-26 09:19:40 UTC) #3
atom
Hello rsc@golang.org, remyoudompheng@gmail.com, minux.ma@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2012-05-26 10:30:23 UTC) #4
ality
It feels like there's too much casting going on. For example, in src/pkg/runtime/mgc0.c:/^addstackroots you can ...
12 years, 10 months ago (2012-05-26 10:41:07 UTC) #5
atom
http://codereview.appspot.com/6242061/diff/2008/src/pkg/runtime/runtime.h File src/pkg/runtime/runtime.h (right): http://codereview.appspot.com/6242061/diff/2008/src/pkg/runtime/runtime.h#newcode481 src/pkg/runtime/runtime.h:481: void* args[2]; // padded to actual size On 2012/05/26 ...
12 years, 10 months ago (2012-05-26 11:18:56 UTC) #6
0xe2.0x9a.0x9b_gmail.com
This patch is controversial. I suggest we blindly ignore all the controversies. On Saturday, May ...
12 years, 10 months ago (2012-05-26 11:21:51 UTC) #7
rsc
http://codereview.appspot.com/6242061/diff/3008/src/pkg/runtime/mgc0.c File src/pkg/runtime/mgc0.c (right): http://codereview.appspot.com/6242061/diff/3008/src/pkg/runtime/mgc0.c#newcode560 src/pkg/runtime/mgc0.c:560: if(gp->gcstack != 0) { Please use (uintptr)nil here, just ...
12 years, 10 months ago (2012-05-29 18:32:03 UTC) #8
rsc
On Sat, May 26, 2012 at 6:40 AM, Anthony Martin <ality@pbrane.org> wrote: > It feels ...
12 years, 10 months ago (2012-05-29 18:32:58 UTC) #9
ality
Russ Cox <rsc@golang.org> once said: > casts are free. I'm not worried about this. Casts ...
12 years, 10 months ago (2012-05-30 12:16:30 UTC) #10
rsc
On Wed, May 30, 2012 at 8:16 AM, Anthony Martin <ality@pbrane.org> wrote: > Casts are ...
12 years, 10 months ago (2012-05-30 13:06:20 UTC) #11
atom
Hello rsc@golang.org, remyoudompheng@gmail.com, minux.ma@gmail.com, ality@pbrane.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2012-05-30 16:55:08 UTC) #12
atom
http://codereview.appspot.com/6242061/diff/3008/src/pkg/runtime/mgc0.c File src/pkg/runtime/mgc0.c (right): http://codereview.appspot.com/6242061/diff/3008/src/pkg/runtime/mgc0.c#newcode560 src/pkg/runtime/mgc0.c:560: if(gp->gcstack != 0) { On 2012/05/29 18:32:03, rsc wrote: ...
12 years, 10 months ago (2012-05-30 17:03:23 UTC) #13
rsc
LGTM
12 years, 10 months ago (2012-05-30 17:07:37 UTC) #14
rsc
12 years, 10 months ago (2012-05-30 17:20:53 UTC) #15
This is submitted but I interrupted hg before it could send the mail.
Sign in to reply to this message.

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