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

Issue 6657047: code review 6657047: runtime: update docs for MemStats.PauseNs (Closed)

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

Description

runtime: update docs for MemStats.PauseNs PauseNs is a circular buffer of recent pause times, and the most recent one is at [((NumGC-1)+256)%256]. Also fix comments cross-linking the Go and C definition of various structs.

Patch Set 1 #

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

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

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

Patch Set 5 : diff -r 18dffd0c07b2 https://code.google.com/p/go/ #

Patch Set 6 : diff -r 189cd011c4f3 https://code.google.com/p/go/ #

Patch Set 7 : diff -r 189cd011c4f3 https://code.google.com/p/go/ #

Patch Set 8 : diff -r cfa9208b98fc https://code.google.com/p/go/ #

Patch Set 9 : diff -r cfa9208b98fc https://code.google.com/p/go/ #

Patch Set 10 : diff -r ae3d5ab86c84 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -5 lines) Patch
M src/pkg/runtime/malloc.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/malloc.goc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/mem.go View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -1 line 0 comments Download
M src/pkg/runtime/mprof.goc View 1 2 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 11
minux1
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
11 years, 6 months ago (2012-10-11 20:08:24 UTC) #1
rsc
That's a pretty long line. How about just // most recent pause times (circular buffer)
11 years, 6 months ago (2012-10-12 15:07:05 UTC) #2
minux1
On 2012/10/12 15:07:05, rsc wrote: > That's a pretty long line. How about just > ...
11 years, 6 months ago (2012-10-12 15:14:27 UTC) #3
bradfitz
On Fri, Oct 12, 2012 at 8:14 AM, <minux.ma@gmail.com> wrote: > On 2012/10/12 15:07:05, rsc ...
11 years, 6 months ago (2012-10-12 15:19:20 UTC) #4
rsc
> // circular buffer of recent GC pause times; most recent at [NumGC%256] This is ...
11 years, 6 months ago (2012-10-12 15:21:05 UTC) #5
bradfitz
On Fri, Oct 12, 2012 at 8:21 AM, Russ Cox <rsc@golang.org> wrote: > > // ...
11 years, 6 months ago (2012-10-12 15:23:37 UTC) #6
minux1
On Fri, Oct 12, 2012 at 11:21 PM, Russ Cox <rsc@golang.org> wrote: > > // ...
11 years, 6 months ago (2012-10-12 15:31:00 UTC) #7
minux1
gentle ping.
11 years, 6 months ago (2012-10-20 09:28:08 UTC) #8
bradfitz
LGTM at least On Sat, Oct 20, 2012 at 2:28 AM, <minux.ma@gmail.com> wrote: > gentle ...
11 years, 6 months ago (2012-10-20 16:53:45 UTC) #9
rsc
LGTM
11 years, 6 months ago (2012-10-21 16:25:06 UTC) #10
minux1
11 years, 6 months ago (2012-10-21 17:08:25 UTC) #11
*** Submitted as http://code.google.com/p/go/source/detail?r=5ff25ab9358f ***

runtime: update docs for MemStats.PauseNs
   PauseNs is a circular buffer of recent pause times, and the
most recent one is at [((NumGC-1)+256)%256].

   Also fix comments cross-linking the Go and C definition of
various structs.

R=golang-dev, rsc, bradfitz
CC=golang-dev
http://codereview.appspot.com/6657047
Sign in to reply to this message.

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