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

Issue 11377158: Fire 'stack' getter of error objects after GC. (Closed)

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

Description

Fire 'stack' getter of error objects after GC. BUG=v8:2340

Patch Set 1 #

Patch Set 2 : add test #

Patch Set 3 : add budgetting #

Total comments: 1

Patch Set 4 : addressed comments. #

Total comments: 1

Patch Set 5 : addressed comment #

Patch Set 6 : #

Patch Set 7 : use hidden properties to mark oneshot getter #

Total comments: 8

Patch Set 8 : addressed comments. #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+411 lines, -44 lines) Patch
M src/api.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M src/heap.h View 1 2 3 4 5 6 7 8 4 chunks +42 lines, -0 lines 0 comments Download
M src/heap.cc View 1 2 3 4 5 6 7 8 7 chunks +107 lines, -0 lines 0 comments Download
M src/heap-inl.h View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M src/isolate.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M src/list.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M src/list-inl.h View 2 chunks +10 lines, -1 line 0 comments Download
M src/mark-compact.cc View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -2 lines 0 comments Download
M src/messages.js View 1 2 3 4 5 6 7 8 9 chunks +57 lines, -31 lines 0 comments Download
M src/runtime.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime.cc View 1 2 3 4 5 6 7 8 1 chunk +11 lines, -0 lines 0 comments Download
M test/cctest/test-decls.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-heap.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M test/message/overwritten-builtins.out View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M test/mjsunit/eval-stack-trace.js View 1 2 3 4 1 chunk +5 lines, -4 lines 0 comments Download
M test/mjsunit/stack-traces.js View 1 2 3 4 5 6 7 8 1 chunk +33 lines, -1 line 0 comments Download
A test/mjsunit/stack-traces-gc.js View 1 2 3 4 5 6 7 8 1 chunk +119 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Yang
I would be really happy if you could take a look at this.
8 years, 1 month ago (2012-11-15 10:44:32 UTC) #1
Vyacheslav Egorov (Google)
LGTM iff the concern about .stack getter replacement can be addressed [recognize one shot accessor?] ...
8 years, 1 month ago (2012-11-16 01:09:57 UTC) #2
Yang
On 2012/11/16 01:09:57, Vyacheslav Egorov (Google) wrote: > LGTM iff the concern about .stack getter ...
8 years, 1 month ago (2012-11-16 10:45:43 UTC) #3
Vyacheslav Egorov (Google)
sorry for the review delay, was travelling. https://codereview.chromium.org/11377158/diff/11001/src/heap.cc File src/heap.cc (right): https://codereview.chromium.org/11377158/diff/11001/src/heap.cc#newcode7459 src/heap.cc:7459: if (!getter_fun->shared()->native()) ...
8 years, 1 month ago (2012-11-20 17:30:42 UTC) #4
Yang
On 2012/11/20 17:30:42, Vyacheslav Egorov (Google) wrote: > sorry for the review delay, was travelling. ...
8 years, 1 month ago (2012-11-22 12:31:52 UTC) #5
Yang
On 2012/11/22 12:31:52, Yang wrote: > On 2012/11/20 17:30:42, Vyacheslav Egorov (Google) wrote: > > ...
8 years ago (2012-12-03 15:01:44 UTC) #6
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/11377158/diff/18002/src/messages.js File src/messages.js (right): https://codereview.chromium.org/11377158/diff/18002/src/messages.js#newcode815 src/messages.js:815: var ownName = this.fun.name; If we ever change ...
8 years ago (2012-12-10 14:46:45 UTC) #7
Yang
8 years ago (2012-12-10 16:47:40 UTC) #8
Uploaded a new patch. I'll try to find more places where FormatStackTrace could
cause side-effects before landing.

Powered by Google App Engine
This is Rietveld 408576698