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

Issue 9782047: code review 9782047: runtime: do not count type info in malloc stats (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by dvyukov
Modified:
10 years, 11 months ago
Reviewers:
r, minux1, rsc, dave, golang-dev
Visibility:
Public.

Description

runtime: do not count type info in malloc stats Otherwise testing.AllocsPerRun is flaky. Fixes issue 5000. Update issue 5525.

Patch Set 1 #

Patch Set 2 : diff -r e84e7204b01b https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 3 : diff -r e84e7204b01b https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 4 : diff -r e84e7204b01b https://dvyukov%40google.com@code.google.com/p/go/ #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -65 lines) Patch
M src/pkg/runtime/malloc.h View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/runtime/malloc.goc View 1 2 6 chunks +12 lines, -56 lines 0 comments Download
M src/pkg/runtime/mgc0.c View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M src/pkg/runtime/mheap.c View 1 1 chunk +1 line, -4 lines 0 comments Download
M src/pkg/testing/allocs.go View 1 2 1 chunk +2 lines, -0 lines 1 comment Download

Messages

Total messages: 13
dvyukov
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
10 years, 11 months ago (2013-05-28 16:32:36 UTC) #1
dvyukov
You can choose between this CL, this CL: https://codereview.appspot.com/7625044/ and this CL: https://codereview.appspot.com/9837043 It's all ...
10 years, 11 months ago (2013-05-28 16:33:53 UTC) #2
dvyukov
On 2013/05/28 16:33:53, dvyukov wrote: > You can choose between this CL, > this CL: ...
10 years, 11 months ago (2013-05-28 16:35:33 UTC) #3
r
AllocsPerRun is inherently flaky. There could be background stuff going on we'll never control. Perhaps ...
10 years, 11 months ago (2013-05-28 16:37:47 UTC) #4
minux1
On Wed, May 29, 2013 at 12:37 AM, Rob Pike <r@golang.org> wrote: > AllocsPerRun is ...
10 years, 11 months ago (2013-05-28 18:56:18 UTC) #5
dvyukov
On Tue, May 28, 2013 at 10:55 PM, minux <minux.ma@gmail.com> wrote: > > On Wed, ...
10 years, 11 months ago (2013-05-28 18:57:57 UTC) #6
minux1
On Wed, May 29, 2013 at 2:57 AM, Dmitry Vyukov <dvyukov@google.com> wrote: > On Tue, ...
10 years, 11 months ago (2013-05-28 19:05:42 UTC) #7
rsc
Memory allocation stats should not report internal bookkeeping, so I agree with the spirit of ...
10 years, 11 months ago (2013-05-28 21:19:44 UTC) #8
r
I propose to fix AllocsPerRun to quantize the float64 to an integer value before returning ...
10 years, 11 months ago (2013-05-28 21:25:34 UTC) #9
dvyukov
On 2013/05/28 21:19:44, rsc wrote: > Memory allocation stats should not report internal bookkeeping, so ...
10 years, 11 months ago (2013-05-29 07:44:02 UTC) #10
dvyukov
On 2013/05/28 21:25:34, r wrote: > I propose to fix AllocsPerRun to quantize the float64 ...
10 years, 11 months ago (2013-05-29 07:45:39 UTC) #11
dave_cheney.net
https://codereview.appspot.com/9782047/diff/6001/src/pkg/testing/allocs.go File src/pkg/testing/allocs.go (right): https://codereview.appspot.com/9782047/diff/6001/src/pkg/testing/allocs.go#newcode35 src/pkg/testing/allocs.go:35: // This is need to collect type info blocks, ...
10 years, 11 months ago (2013-05-29 09:07:15 UTC) #12
dvyukov
10 years, 11 months ago (2013-05-31 06:39:23 UTC) #13
*** Abandoned ***
Sign in to reply to this message.

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