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

Issue 6351007: Adding debugger interface and runtime functions hooks for supporting... (Closed)

Created:
9 years, 11 months ago by marklam
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Adding debugger interface and runtime functions hooks for supporting LiveObjectList functionality. Committed: http://code.google.com/p/v8/source/detail?r=7011

Patch Set 1 #

Total comments: 12

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+962 lines, -1 line) Patch
M src/d8.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/d8.js View 1 2 9 chunks +618 lines, -0 lines 0 comments Download
M src/debug-debugger.js View 1 2 5 chunks +121 lines, -0 lines 0 comments Download
M src/runtime.h View 1 2 1 chunk +15 lines, -1 line 0 comments Download
M src/runtime.cc View 1 2 2 chunks +202 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
marklam
Adding debugger interface and runtime functions hooks for supporting LiveObjectList functionality.
9 years, 11 months ago (2011-01-19 08:01:32 UTC) #1
Søren Thygesen Gjesse
http://codereview.chromium.org/6351007/diff/1/src/d8.js File src/d8.js (right): http://codereview.chromium.org/6351007/diff/1/src/d8.js#newcode592 src/d8.js:592: // Remember the handle requested in a global variable. ...
9 years, 11 months ago (2011-01-19 08:36:40 UTC) #2
marklam
I'll prepare stubbed out lol headers in a separate CL (coming soon). http://codereview.chromium.org/6351007/diff/1/src/d8.js File src/d8.js ...
9 years, 11 months ago (2011-01-19 09:04:02 UTC) #3
Søren Thygesen Gjesse
Sorry for not getting back before. Now that the empty implementation is there we should ...
9 years, 11 months ago (2011-01-25 12:44:15 UTC) #4
marklam
I've addressed Søren's comments below, and would like to defer the requested changes as part ...
9 years, 9 months ago (2011-03-01 15:23:12 UTC) #5
Søren Thygesen Gjesse
9 years, 9 months ago (2011-03-02 09:17:18 UTC) #6
On 2011/03/01 15:23:12, marklam wrote:
> I've addressed Søren's comments below, and would like to defer the requested
> changes as part of the debugger/runtime vs lol core isolation that I'll submit
> in a later CL.
> 
> The only change in the code since last time is the #include of
> liveobjectlist-inl.h instead of liveobjectlist.h.
> 
> Please take a look.  Thanks.
> 
> http://codereview.chromium.org/6351007/diff/9001/src/runtime.cc
> File src/runtime.cc (right):
> 
> http://codereview.chromium.org/6351007/diff/9001/src/runtime.cc#newcode10479
> src/runtime.cc:10479: // Captures a live object list from the present heap.
> On 2011/01/25 12:44:15, Søren Gjesse wrote:
> > With the stubbed-out implementation of LiveObjectList I don't think we need
> > #ifdef/#else/#endif in here anymore.
> 
> I was hoping to not incur any footprint at all for code space (though
admittedly
> tiny) when lol is not built in.  In the functions below this one, there is
code
> needed for marshalling args as well that is not removed by current stubbed
> implementations.
> 
> If it's ok, I can move all the code out of here into another module later when
I
> do the separation of core lol code from the lol debugger/runtime interfaces. 
> That would be a natural time to abstract these out.
> 
> http://codereview.chromium.org/6351007/diff/9001/src/runtime.cc#newcode10481
> src/runtime.cc:10481: #ifdef LIVE_OBJECT_LIST
> On 2011/01/25 12:44:15, Søren Gjesse wrote:
> > How about adding LiveObjectList::Enabled() returning Heap::false_value() in
> the
> > empty implementation?
> 
> Same as above (for consistency).

Committed: http://code.google.com/p/v8/source/detail?r=7011

Thank you for the patch.

Powered by Google App Engine
This is Rietveld 408576698