Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Issue 9310122: When rethrowing an exception, print the stack trace of its original site instead of rethrow site. (Closed)

Created:
8 years, 10 months ago by Yang
Modified:
8 years, 10 months ago
CC:
v8-dev
Visibility:
Public.

Description

When rethrowing an exception, print the stack trace of its original site instead of rethrow site. BUG=60240 Committed: https://code.google.com/p/v8/source/detail?r=10618

Patch Set 1 #

Patch Set 2 : . #

Total comments: 14

Patch Set 3 : . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -50 lines) Patch
M src/heap.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M src/isolate.h View 1 2 3 chunks +7 lines, -1 line 0 comments Download
M src/isolate.cc View 1 2 4 chunks +69 lines, -39 lines 1 comment Download
M src/messages.js View 1 chunk +3 lines, -3 lines 0 comments Download
M src/objects.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/runtime.h View 1 chunk +1 line, -1 line 0 comments Download
M src/runtime.cc View 1 2 2 chunks +6 lines, -3 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 1 chunk +132 lines, -0 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
Yang
Second attempt at this. Behavior is described here: http://code.google.com/p/chromium/issues/detail?id=60240#c31 In general those changes should not ...
8 years, 10 months ago (2012-02-06 15:19:43 UTC) #1
Vyacheslav Egorov (Chromium)
http://codereview.chromium.org/9310122/diff/2002/src/isolate.cc File src/isolate.cc (left): http://codereview.chromium.org/9310122/diff/2002/src/isolate.cc#oldcode1088 src/isolate.cc:1088: ASSERT(is_object); // Can't use the handle unless there's a ...
8 years, 10 months ago (2012-02-06 17:26:25 UTC) #2
Yang
Issues addressed. Another brief look? http://codereview.chromium.org/9310122/diff/2002/src/isolate.cc File src/isolate.cc (left): http://codereview.chromium.org/9310122/diff/2002/src/isolate.cc#oldcode1088 src/isolate.cc:1088: ASSERT(is_object); // Can't use ...
8 years, 10 months ago (2012-02-07 08:33:58 UTC) #3
Vyacheslav Egorov (Chromium)
lgtm http://codereview.chromium.org/9310122/diff/7001/src/isolate.cc File src/isolate.cc (right): http://codereview.chromium.org/9310122/diff/7001/src/isolate.cc#newcode548 src/isolate.cc:548: Handle<String> key(heap()->hidden_stack_trace_symbol()); you can use factory()->hidden_stack_trace_symbol(), it returns ...
8 years, 10 months ago (2012-02-07 09:17:37 UTC) #4
Yang
8 years, 10 months ago (2012-02-07 09:30:55 UTC) #5
On 2012/02/07 09:17:37, Vyacheslav Egorov wrote:
> lgtm
> 
> http://codereview.chromium.org/9310122/diff/7001/src/isolate.cc
> File src/isolate.cc (right):
> 
> http://codereview.chromium.org/9310122/diff/7001/src/isolate.cc#newcode548
> src/isolate.cc:548: Handle<String> key(heap()->hidden_stack_trace_symbol());
> you can use factory()->hidden_stack_trace_symbol(),
> it returns handle.
> 
> http://codereview.chromium.org/9310122/diff/7001/test/cctest/test-api.cc
> File test/cctest/test-api.cc (right):
> 
>
http://codereview.chromium.org/9310122/diff/7001/test/cctest/test-api.cc#newc...
> test/cctest/test-api.cc:13655: // not where it is thrown.
> Comment is incorrect. In this test stack trace is captured where it is thrown.

Issues addressed. Landing.

Powered by Google App Engine
This is Rietveld 408576698