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

Issue 198085: code review 198085: finalizers; merge package malloc into package runtime (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 1 month ago by rsc
Modified:
15 years, 1 month ago
Reviewers:
CC:
r, cw, golang-dev
Visibility:
Public.

Description

finalizers; merge package malloc into package runtime

Patch Set 1 : code review 198085: finalizers; merge package malloc into package runtime #

Patch Set 2 : code review 198085: finalizers; merge package malloc into package runtime #

Patch Set 3 : code review 198085: finalizers; merge package malloc into package runtime #

Total comments: 19

Patch Set 4 : code review 198085: finalizers; merge package malloc into package runtime #

Patch Set 5 : code review 198085: finalizers; merge package malloc into package runtime #

Total comments: 5

Patch Set 6 : code review 198085: finalizers; merge package malloc into package runtime #

Patch Set 7 : code review 198085: finalizers; merge package malloc into package runtime #

Total comments: 2

Patch Set 8 : code review 198085: finalizers; merge package malloc into package runtime #

Patch Set 9 : code review 198085: finalizers; merge package malloc into package runtime #

Patch Set 10 : code review 198085: finalizers; merge package malloc into package runtime #

Unified diffs Side-by-side diffs Delta from patch set Stats (+554 lines, -243 lines) Patch
M src/pkg/Makefile View 2 chunks +0 lines, -2 lines 0 comments Download
M src/pkg/container/vector/numbers_test.go View 7 chunks +19 lines, -19 lines 0 comments Download
M src/pkg/fmt/fmt_test.go View 2 chunks +9 lines, -9 lines 0 comments Download
R src/pkg/malloc/Makefile View 1 chunk +0 lines, -11 lines 0 comments Download
R src/pkg/malloc/malloc.go View 1 chunk +0 lines, -29 lines 0 comments Download
M src/pkg/runtime/Makefile View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/cgo2c.c View 3 chunks +3 lines, -0 lines 0 comments Download
M src/pkg/runtime/extern.go View 1 2 3 4 5 6 7 1 chunk +68 lines, -0 lines 0 comments Download
M src/pkg/runtime/malloc.h View 1 2 3 4 5 6 7 8 9 3 chunks +6 lines, -0 lines 0 comments Download
M src/pkg/runtime/malloc.cgo View 1 2 3 3 chunks +40 lines, -6 lines 0 comments Download
A src/pkg/runtime/mfinal.c View 1 2 3 4 5 6 1 chunk +127 lines, -0 lines 0 comments Download
M src/pkg/runtime/mgc0.c View 1 2 3 4 5 6 7 8 9 10 chunks +87 lines, -43 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/type.h View 2 chunks +9 lines, -0 lines 0 comments Download
M test/gc.go View 1 1 chunk +7 lines, -9 lines 0 comments Download
M test/malloc1.go View 1 1 chunk +6 lines, -7 lines 0 comments Download
A test/mallocfin.go View 1 chunk +58 lines, -0 lines 0 comments Download
M test/mallocrand.go View 1 2 chunks +43 lines, -39 lines 0 comments Download
M test/mallocrep.go View 1 1 chunk +24 lines, -23 lines 0 comments Download
M test/mallocrep1.go View 1 2 chunks +46 lines, -46 lines 0 comments Download

Messages

Total messages: 27
rsc
Hello r (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years, 1 month ago (2010-02-03 07:16:32 UTC) #1
r2
is there content to this? if it's just an mv followed by renames, LGTM
15 years, 1 month ago (2010-02-03 09:10:34 UTC) #2
rsc
The changes in src/pkg/runtime are significant (they implement finalizers), and test/mallocfin.go is a test. The ...
15 years, 1 month ago (2010-02-03 09:23:57 UTC) #3
r
http://codereview.appspot.com/198085/diff/71/78 File src/pkg/runtime/cgo2c.c (right): http://codereview.appspot.com/198085/diff/71/78#newcode49 src/pkg/runtime/cgo2c.c:49: Eface, what is an Eface? http://codereview.appspot.com/198085/diff/71/79 File src/pkg/runtime/extern.go (right): ...
15 years, 1 month ago (2010-02-03 09:42:08 UTC) #4
r2
not sure why it's not two CLs but OK On 03/02/2010, at 8:23 PM, Russ ...
15 years, 1 month ago (2010-02-03 09:42:34 UTC) #5
cw
Can this be broken up at all? Maybe it's just me, but using Rietveld to ...
15 years, 1 month ago (2010-02-03 09:50:44 UTC) #6
r2
On 03/02/2010, at 8:50 PM, cw@f00f.org wrote: > Can this be broken up at all? ...
15 years, 1 month ago (2010-02-03 10:02:15 UTC) #7
rsc
On Wed, Feb 3, 2010 at 01:50, <cw@f00f.org> wrote: > Can this be broken up ...
15 years, 1 month ago (2010-02-03 10:05:06 UTC) #8
rsc
http://codereview.appspot.com/198085/diff/71/78 File src/pkg/runtime/cgo2c.c (right): http://codereview.appspot.com/198085/diff/71/78#newcode49 src/pkg/runtime/cgo2c.c:49: Eface, On 2010/02/03 09:42:08, r wrote: > what is ...
15 years, 1 month ago (2010-02-03 10:05:31 UTC) #9
cw
On Wed, Feb 03, 2010 at 02:05:03AM -0800, Russ Cox wrote: > if you're a ...
15 years, 1 month ago (2010-02-03 10:07:31 UTC) #10
cw
On Wed, Feb 03, 2010 at 07:16:32AM +0000, rsc@golang.org wrote: > Please review this at ...
15 years, 1 month ago (2010-02-03 10:11:52 UTC) #11
r2
upload? On 03/02/2010, at 9:05 PM, rsc@golang.org wrote: > > http://codereview.appspot.com/198085/diff/71/78 > File src/pkg/runtime/cgo2c.c (right): ...
15 years, 1 month ago (2010-02-03 10:12:33 UTC) #12
r2
On 03/02/2010, at 9:11 PM, Chris Wedgwood wrote: > > or similar so i can ...
15 years, 1 month ago (2010-02-03 10:13:09 UTC) #13
rsc
i did upload but the links in the email don't take you to the new ...
15 years, 1 month ago (2010-02-03 10:15:10 UTC) #14
rsc
> Should this work as-is? > > I just applied this and tried it out ...
15 years, 1 month ago (2010-02-03 10:17:35 UTC) #15
cw
On Wed, Feb 03, 2010 at 02:17:30AM -0800, Russ Cox wrote: > There's no guarantee ...
15 years, 1 month ago (2010-02-03 10:21:37 UTC) #16
r
http://codereview.appspot.com/198085/diff/100/108 File src/pkg/runtime/extern.go (right): http://codereview.appspot.com/198085/diff/100/108#newcode107 src/pkg/runtime/extern.go:107: // to be unreachable will free x. x is ...
15 years, 1 month ago (2010-02-03 10:22:52 UTC) #17
rsc
PTAL
15 years, 1 month ago (2010-02-03 18:13:26 UTC) #18
cw
On Wed, Feb 03, 2010 at 06:13:26PM +0000, rsc@golang.org wrote: > PTAL i saw something ...
15 years, 1 month ago (2010-02-03 18:29:45 UTC) #19
rsc
> i saw something odd, you can see it if you tweak N mallocfin to ...
15 years, 1 month ago (2010-02-03 18:37:51 UTC) #20
cw
On Wed, Feb 03, 2010 at 10:37:47AM -0800, Russ Cox wrote: > that's normal (and ...
15 years, 1 month ago (2010-02-03 21:04:39 UTC) #21
r
http://codereview.appspot.com/198085/diff/149/1182 File src/pkg/runtime/extern.go (right): http://codereview.appspot.com/198085/diff/149/1182#newcode115 src/pkg/runtime/extern.go:115: // of x's type and returns no arguments. If ...
15 years, 1 month ago (2010-02-03 21:11:53 UTC) #22
cw
http://codereview.appspot.com/198085/diff/149/1182 File src/pkg/runtime/extern.go (right): http://codereview.appspot.com/198085/diff/149/1182#newcode135 src/pkg/runtime/extern.go:135: // bufio.Writer, because the buffer would not be flushed ...
15 years, 1 month ago (2010-02-03 21:28:02 UTC) #23
rsc
> long term (perhaps when there is a different GC) can we expect all > ...
15 years, 1 month ago (2010-02-03 22:03:05 UTC) #24
rsc
> http://codereview.appspot.com/198085/diff/149/1182#newcode115 > src/pkg/runtime/extern.go:115: // of x's type and returns no arguments. > If either ...
15 years, 1 month ago (2010-02-03 22:05:10 UTC) #25
r
LGTM
15 years, 1 month ago (2010-02-03 22:27:08 UTC) #26
rsc
15 years, 1 month ago (2010-02-04 00:31:37 UTC) #27
*** Submitted as http://code.google.com/p/go/source/detail?r=82048d222b00 ***

finalizers; merge package malloc into package runtime

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

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