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

Issue 107290044: code review 107290044: runtime: make NumGoroutines faster (Closed)

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

Description

runtime: make NumGoroutines faster Resolves TODO for not walking all goroutines in NumGoroutines.

Patch Set 1 #

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

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

Total comments: 2

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -18 lines) Patch
M src/pkg/runtime/proc.c View 1 2 3 4 5 chunks +15 lines, -18 lines 0 comments Download

Messages

Total messages: 8
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/
10 years, 8 months ago (2014-06-22 06:28:44 UTC) #1
khr
https://codereview.appspot.com/107290044/diff/2/src/pkg/runtime/proc.c File src/pkg/runtime/proc.c (right): https://codereview.appspot.com/107290044/diff/2/src/pkg/runtime/proc.c#newcode2129 src/pkg/runtime/proc.c:2129: n += runtime·allglen; This math seems obfuscated to me. ...
10 years, 8 months ago (2014-06-24 02:54:34 UTC) #2
dvyukov
On 2014/06/24 02:54:34, khr wrote: > https://codereview.appspot.com/107290044/diff/2/src/pkg/runtime/proc.c > File src/pkg/runtime/proc.c (right): > > https://codereview.appspot.com/107290044/diff/2/src/pkg/runtime/proc.c#newcode2129 > ...
10 years, 7 months ago (2014-07-15 10:50:42 UTC) #3
khr
On 2014/07/15 10:50:42, dvyukov wrote: > On 2014/06/24 02:54:34, khr wrote: > > https://codereview.appspot.com/107290044/diff/2/src/pkg/runtime/proc.c > ...
10 years, 7 months ago (2014-07-16 22:45:01 UTC) #4
dvyukov
*** Submitted as https://code.google.com/p/go/source/detail?r=4e66b954bdf0 *** runtime: make NumGoroutines faster Resolves TODO for not walking all ...
10 years, 7 months ago (2014-07-17 17:51:08 UTC) #5
gobot
This CL appears to have broken the nacl-amd64p32 builder. See http://build.golang.org/log/42d5e467865c9ac6a4d14f0eca1c28f088c8718d
10 years, 7 months ago (2014-07-17 18:25:17 UTC) #6
minux
On Thu, Jul 17, 2014 at 2:25 PM, <gobot@golang.org> wrote: > This CL appears to ...
10 years, 7 months ago (2014-07-17 18:33:33 UTC) #7
dvyukov
10 years, 7 months ago (2014-07-18 08:58:23 UTC) #8
On Thu, Jul 17, 2014 at 10:33 PM, minux <minux@golang.org> wrote:
>
> On Thu, Jul 17, 2014 at 2:25 PM, <gobot@golang.org> wrote:
>>
>> This CL appears to have broken the nacl-amd64p32 builder.
>> See http://build.golang.org/log/42d5e467865c9ac6a4d14f0eca1c28f088c8718d
>
> This is real. my local build also reproduces it.

I don't see how my change can trigger that "unaligned stack size 12".
Looks like a latent bug. Anyway now there is
https://code.google.com/p/go/issues/detail?id=8379 filed for this.
Sign in to reply to this message.

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