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

Issue 136310044: code review 136310044: runtime: output number of goroutines in GC trace (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by dvyukov
Modified:
11 years, 3 months ago
Reviewers:
khr
CC:
golang-codereviews, khr, rsc
Visibility:
Public.

Description

runtime: output number of goroutines in GC trace Example output: gc26(1): 1+0+1038+0 us, 0 -> 1 MB, 19074 (88777-69703) objects, 5 gs, 184/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields It's useful to understand long scan times, because goroutine traceback is slow.

Patch Set 1 #

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

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

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

Patch Set 5 : diff -r 541f4c85dfedb06962ac2d88b3d3bf90d0dc6a53 https://dvyukov%40google.com@code.google.com/p/go/ #

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

Messages

Total messages: 6
dvyukov
Hello golang-codereviews@googlegroups.com (cc: khr@golang.org, rsc@golang.org), I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
11 years, 3 months ago (2014-09-17 00:58:06 UTC) #1
dvyukov
It came up on golang-nuts list: >> out), I get gc pauses as - >> ...
11 years, 3 months ago (2014-09-17 01:00:19 UTC) #2
rsc
Please change gs to goroutines. On Tuesday, September 16, 2014, <dvyukov@google.com> wrote: > Reviewers: golang-codereviews, ...
11 years, 3 months ago (2014-09-17 13:49:17 UTC) #3
dvyukov
On 2014/09/17 13:49:17, rsc wrote: > Please change gs to goroutines. > > On Tuesday, ...
11 years, 3 months ago (2014-09-17 23:11:57 UTC) #4
khr
LGTM.
11 years, 3 months ago (2014-09-18 03:30:30 UTC) #5
dvyukov
11 years, 3 months ago (2014-09-18 03:38:10 UTC) #6
*** Submitted as https://code.google.com/p/go/source/detail?r=6aa1064ad564 ***

runtime: output number of goroutines in GC trace
Example output:
gc26(1): 1+0+1038+0 us, 0 -> 1 MB, 19074 (88777-69703) objects, 5 gs, 184/0/0
sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
It's useful to understand long scan times,
because goroutine traceback is slow.

LGTM=khr
R=golang-codereviews, khr
CC=golang-codereviews, rsc
https://codereview.appspot.com/136310044
Sign in to reply to this message.

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