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

Issue 130210043: code review 130210043: runtime: move panicindex/panicslice to Go. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by khr
Modified:
10 years, 8 months ago
Reviewers:
dave, khr1, bradfitz
CC:
golang-codereviews, bradfitz
Visibility:
Public.

Description

runtime: move panicindex/panicslice to Go.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -12 lines) Patch
M src/pkg/runtime/panic.c View 1 1 chunk +0 lines, -12 lines 0 comments Download
A src/pkg/runtime/panic.go View 1 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 6
khr
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://khr%40golang.org@code.google.com/p/go/
10 years, 8 months ago (2014-08-18 20:16:17 UTC) #1
bradfitz
LGTM You're getting to the hard stuff. On Mon, Aug 18, 2014 at 1:16 PM, ...
10 years, 8 months ago (2014-08-18 20:21:03 UTC) #2
khr
*** Submitted as https://code.google.com/p/go/source/detail?r=3cf190969915 *** runtime: move panicindex/panicslice to Go. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://codereview.appspot.com/130210043
10 years, 8 months ago (2014-08-18 20:26:31 UTC) #3
dave_cheney.net
Is there a chance that one day panicindex might tell you the value of the ...
10 years, 8 months ago (2014-08-18 21:33:43 UTC) #4
khr1
That would be nice. I believe the objection to it is that it bloats the ...
10 years, 8 months ago (2014-08-18 21:56:05 UTC) #5
dave_cheney.net
10 years, 8 months ago (2014-08-18 22:12:15 UTC) #6
Yes. I think you are right on all counts.
On 19 Aug 2014 07:56, "Keith Randall" <khr@google.com> wrote:

> That would be nice.  I believe the objection to it is that it bloats the
> executable to pass that info on every failed bounds check.  There are a lot
> of them and each would require an additional store (or 2?  You probably
> want both the index and the length).
>
> I don't have any actual numbers; it would be interesting to know what the
> bloat would be.
>
>
>
>
> On Mon, Aug 18, 2014 at 2:33 PM, Dave Cheney <dave@cheney.net> wrote:
>
>> Is there a chance that one day panicindex might tell you the value of
>> the index that was out of range ?
>>
>> On Tue, Aug 19, 2014 at 6:26 AM,  <khr@golang.org> wrote:
>> > *** Submitted as
>> > https://code.google.com/p/go/source/detail?r=3cf190969915 ***
>> >
>> >
>> > runtime: move panicindex/panicslice to Go.
>> >
>> > LGTM=bradfitz
>> > R=golang-codereviews, bradfitz
>> > CC=golang-codereviews
>> > https://codereview.appspot.com/130210043
>> >
>> >
>> > https://codereview.appspot.com/130210043/
>> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups
>> > "golang-codereviews" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an
>> > email to golang-codereviews+unsubscribe@googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>
>
Sign in to reply to this message.

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