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

Issue 12053043: code review 12053043: runtime: reimplement reflect.call to not use stack spli... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by khr
Modified:
11 years, 7 months ago
Reviewers:
dave, rsc
CC:
golang-dev, r, khr1, rsc
Visibility:
Public.

Description

runtime: reimplement reflect.call to not use stack splitting.

Patch Set 1 #

Patch Set 2 : diff -r b9ee7a3df1c9 https://khr%40golang.org@code.google.com/p/go/ #

Patch Set 3 : diff -r fb4878194fc7 https://khr%40golang.org@code.google.com/p/go/ #

Patch Set 4 : diff -r fb4878194fc7 https://khr%40golang.org@code.google.com/p/go/ #

Patch Set 5 : diff -r fb4878194fc7 https://khr%40golang.org@code.google.com/p/go/ #

Patch Set 6 : diff -r fb4878194fc7 https://khr%40golang.org@code.google.com/p/go/ #

Patch Set 7 : diff -r fb4878194fc7 https://khr%40golang.org@code.google.com/p/go/ #

Total comments: 1

Patch Set 8 : diff -r 5cdc93018bcf https://khr%40golang.org@code.google.com/p/go/ #

Patch Set 9 : diff -r 5cdc93018bcf https://khr%40golang.org@code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+321 lines, -24 lines) Patch
M misc/cgo/test/callback.go View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/ld/lib.c View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/reflect/all_test.go View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download
M src/pkg/runtime/asm_386.s View 1 2 3 4 5 3 chunks +93 lines, -4 lines 0 comments Download
M src/pkg/runtime/asm_amd64.s View 1 2 3 4 5 3 chunks +94 lines, -4 lines 0 comments Download
M src/pkg/runtime/asm_arm.s View 1 2 3 4 5 6 7 3 chunks +103 lines, -4 lines 0 comments Download
M src/pkg/runtime/panic.c View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/proc.c View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/stack.c View 1 2 3 4 5 6 7 5 chunks +9 lines, -9 lines 0 comments Download

Messages

Total messages: 12
khr
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://khr%40golang.org@code.google.com/p/go/
11 years, 8 months ago (2013-07-30 17:56:32 UTC) #1
r
those are some big stack frames. what is the right set of realistic sizes?
11 years, 8 months ago (2013-08-01 01:06:19 UTC) #2
khr1
Good question. I had originally stopped at 64KB, Russ convinced me to go big :) ...
11 years, 8 months ago (2013-08-01 03:37:09 UTC) #3
rsc
LGTM I agree that 1 GB is excessive, but we should stop at something excessive ...
11 years, 7 months ago (2013-08-02 16:36:09 UTC) #4
khr
*** Submitted as https://code.google.com/p/go/source/detail?r=a5eb738ff649 *** runtime: reimplement reflect.call to not use stack splitting. R=golang-dev, r, ...
11 years, 7 months ago (2013-08-02 20:03:18 UTC) #5
dave_cheney.net
gentle ping. Would it be possible to temporarily undo this change, or at least roll ...
11 years, 7 months ago (2013-08-05 21:51:01 UTC) #6
khr1
Hmmm... TestBigArgs should only fire on 64 bit. Is that the test you mean? On ...
11 years, 7 months ago (2013-08-05 21:57:38 UTC) #7
dave_cheney.net
Compiling the test is what causes the crash. https://codereview.appspot.com/12484043 On Tue, Aug 6, 2013 at ...
11 years, 7 months ago (2013-08-05 21:58:06 UTC) #8
khr1
Ok, I'll kill it. More hassle than it is worth. On Mon, Aug 5, 2013 ...
11 years, 7 months ago (2013-08-05 21:59:09 UTC) #9
dave_cheney.net
Thanks Keith, could you please take a look at https://code.google.com/p/go/issues/detail?id=6051, it may be related to ...
11 years, 7 months ago (2013-08-06 00:00:18 UTC) #10
khr1
Sorry about that, should be fixed for now. On Mon, Aug 5, 2013 at 5:00 ...
11 years, 7 months ago (2013-08-06 00:54:52 UTC) #11
dave_cheney.net
11 years, 7 months ago (2013-08-06 00:58:12 UTC) #12
Thanks for looking at it so quickly. Hopefully we'll get a clean build
across the board this time.

On Tue, Aug 6, 2013 at 10:54 AM, Keith Randall <khr@google.com> wrote:
> Sorry about that, should be fixed for now.
>
>
> On Mon, Aug 5, 2013 at 5:00 PM, Dave Cheney <dave@cheney.net> wrote:
>>
>> Thanks Keith, could you please take a look at
>> https://code.google.com/p/go/issues/detail?id=6051, it may be related
>> to the original commit.
>>
>> On Tue, Aug 6, 2013 at 7:59 AM, Keith Randall <khr@google.com> wrote:
>> > Ok, I'll kill it.  More hassle than it is worth.
>> >
>> >
>> > On Mon, Aug 5, 2013 at 2:58 PM, Dave Cheney <dave@cheney.net> wrote:
>> >>
>> >> Compiling the test is what causes the crash.
>> >> https://codereview.appspot.com/12484043
>> >>
>> >> On Tue, Aug 6, 2013 at 7:57 AM, Keith Randall <khr@google.com> wrote:
>> >> > Hmmm... TestBigArgs should only fire on 64 bit.  Is that the test you
>> >> > mean?
>> >> >
>> >> >
>> >> >
>> >> > On Mon, Aug 5, 2013 at 2:50 PM, Dave Cheney <dave@cheney.net> wrote:
>> >> >>
>> >> >> gentle ping. Would it be possible to temporarily undo this change,
>> >> >> or
>> >> >> at least roll back the test so that arm is unbroken.
>> >> >>
>> >> >> On Sat, Aug 3, 2013 at 6:03 AM,  <khr@golang.org> wrote:
>> >> >> > *** Submitted as
>> >> >> > https://code.google.com/p/go/source/detail?r=a5eb738ff649 ***
>> >> >> >
>> >> >> >
>> >> >> > runtime: reimplement reflect.call to not use stack splitting.
>> >> >> >
>> >> >> > R=golang-dev, r, khr, rsc
>> >> >> > CC=golang-dev
>> >> >> > https://codereview.appspot.com/12053043
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > https://codereview.appspot.com/12053043/
>> >> >> >
>> >> >> > --
>> >> >> >
>> >> >> > ---You received this message because you are subscribed to the
>> >> >> > Google
>> >> >> > Groups
>> >> >> > "golang-dev" group.
>> >> >> > To unsubscribe from this group and stop receiving emails from it,
>> >> >> > send
>> >> >> > an
>> >> >> > email to golang-dev+unsubscribe@googlegroups.com.
>> >> >> > For more options, visit https://groups.google.com/groups/opt_out.
>> >> >> >
>> >> >> >
>> >> >
>> >> >
>> >
>> >
>
>
Sign in to reply to this message.

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