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

Issue 108002: Improved, safer handling of the symbol table. The symbols themselves... (Closed)

Created:
11 years, 7 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 7 months ago
Reviewers:
iposva, Kasper Lund
CC:
v8-dev
Visibility:
Public.

Description

Improved, safer handling of the symbol table. The symbols themselves are not treated as roots, but all their subparts are. Committed: http://code.google.com/p/v8/source/detail?r=1849

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -35 lines) Patch
M src/mark-compact.h View 2 chunks +4 lines, -13 lines 3 comments Download
M src/mark-compact.cc View 2 chunks +32 lines, -22 lines 5 comments Download

Messages

Total messages: 4 (0 generated)
Kevin Millikin (Chromium)
11 years, 7 months ago (2009-05-05 04:50:25 UTC) #1
iposva
LGTM wih comments. -Ivan http://codereview.chromium.org/108002/diff/1/3 File src/mark-compact.cc (right): http://codereview.chromium.org/108002/diff/1/3#newcode570 Line 570: if (!(*p)->IsHeapObject()) continue; Can ...
11 years, 7 months ago (2009-05-05 05:05:19 UTC) #2
Kasper Lund
LGTM, but http://codereview.chromium.org/108002/diff/1/3 File src/mark-compact.cc (right): http://codereview.chromium.org/108002/diff/1/3#newcode572 Line 572: HeapObject* object = HeapObject::cast(*p); The newlines ...
11 years, 7 months ago (2009-05-05 05:22:33 UTC) #3
Kevin Millikin (Chromium)
11 years, 7 months ago (2009-05-05 05:34:07 UTC) #4
http://codereview.chromium.org/108002/diff/1/3
File src/mark-compact.cc (right):

http://codereview.chromium.org/108002/diff/1/3#newcode572
Line 572: HeapObject* object = HeapObject::cast(*p);
On 2009/05/05 05:22:34, Kasper Lund wrote:
> The newlines here look weird. How about moving the HeapObject* object
definition
> below the comment?

I could do that, but the comment goes with the continue.

http://codereview.chromium.org/108002/diff/1/3#newcode580
Line 580: object->IterateBody(map->instance_type(),
On 2009/05/05 05:22:34, Kasper Lund wrote:
> I'd compute the size before the IterateBody call, stuff it in a local
variable,
> and use it to get nicely formatted code where the IterateBody call fits on one
> line. But that's just me.

That's not the way I roll.

http://codereview.chromium.org/108002/diff/1/2
File src/mark-compact.h (right):

http://codereview.chromium.org/108002/diff/1/2#newcode159
Line 159: UpdateLiveObjectCount(obj, 1);
On 2009/05/05 05:22:34, Kasper Lund wrote:
> Do you need the scale argument to UpdateLiveObjectCount anymore?

No, you're right.  I'll revert it when we clean this all up.

Powered by Google App Engine
This is Rietveld 408576698