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

Issue 139960043: code review 139960043: runtime: make allp a static array (Closed)

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

Description

runtime: make allp a static array It is anyway, just an allocated one. Giving it a sized type makes Go access nicer.

Patch Set 1 #

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

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

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

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

Messages

Total messages: 7
rsc
Hello dvyukov (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
10 years, 6 months ago (2014-08-29 19:57:04 UTC) #1
iant
LGTM Can we put an actual definition in proc.c next to allm and friends? Looks ...
10 years, 6 months ago (2014-08-29 20:06:58 UTC) #2
rsc
On Fri, Aug 29, 2014 at 4:06 PM, <iant@golang.org> wrote: > LGTM > > Can ...
10 years, 6 months ago (2014-08-29 20:21:53 UTC) #3
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=25c3a04e7b95 *** runtime: make allp a static array It is anyway, just ...
10 years, 6 months ago (2014-08-29 20:41:13 UTC) #4
gobot
This CL appears to have broken the windows-amd64-perf builder. See http://build.golang.org/log/8012fb36345753bf65cc83ff7118e3fbc678a2f0
10 years, 6 months ago (2014-08-29 20:42:33 UTC) #5
bradfitz
Real: # Building C bootstrap tool. cmd/dist # Building compilers and Go bootstrap tool. runtime.chansend1: ...
10 years, 6 months ago (2014-08-29 20:43:14 UTC) #6
iant
10 years, 6 months ago (2014-08-29 20:50:25 UTC) #7
On Fri, Aug 29, 2014 at 1:42 PM,  <gobot@golang.org> wrote:
> This CL appears to have broken the windows-amd64-perf builder.
> See http://build.golang.org/log/8012fb36345753bf65cc83ff7118e3fbc678a2f0
>
> https://codereview.appspot.com/139960043/

This is real.

# Building compilers and Go bootstrap tool.
runtime.chansend1: nosplit stack overflow
152 assumed on entry to runtime.chansend1
104 after runtime.chansend1 uses 48
96 on entry to runtime.chansend
160 after runtime.chansend uses -64
152 on entry to runtime.gopark
160 after runtime.gopark uses -8
152 on entry to runtime.gothrow
160 after runtime.gothrow uses -8
152 on entry to runtime.startpanic
160 after runtime.startpanic uses -8
152 on entry to runtime.printf
112 after runtime.printf uses 40
104 on entry to runtime.vprintf
160 after runtime.vprintf uses -56
152 on entry to runtime.gwrite
160 after runtime.gwrite uses -8
152 on entry to runtime.panicslice
160 after runtime.panicslice uses -8
152 on entry to runtime.convT2E
160 after runtime.convT2E uses -8
152 on entry to runtime.newobject
160 after runtime.newobject uses -8
152 on entry to runtime.gomallocgc
160 after runtime.gomallocgc uses -8
152 on entry to runtime.gogc
160 after runtime.gogc uses -8
152 on entry to runtime.stoptheworld
160 after runtime.stoptheworld uses -8
152 on entry to runtime.notetsleep
160 after runtime.notetsleep uses -8
152 on entry to runtime.notetsleep_internal
104 after runtime.notetsleep_internal uses 48
96 on entry to runtime.semasleep
64 after runtime.semasleep uses 32
56 on entry to runtime.stdcall2
40 after runtime.stdcall2 uses 16
32 on entry to stdcall
16 after stdcall uses 16
8 on entry to runtime.asmcgocall
0 on entry to function pointer
-8 on entry to runtime.morestack
Sign in to reply to this message.

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