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

Issue 7189066: Simple non-incremental compaction by evacuation. (Closed)

Created:
9 years, 6 months ago by Vyacheslav Egorov (Chromium)
Modified:
9 years, 6 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

Simple non-incremental compaction by evacuation. Committed: http://code.google.com/p/v8/source/detail?r=8350

Patch Set 1 #

Total comments: 22
Unified diffs Side-by-side diffs Delta from patch set Stats (+746 lines, -398 lines) Patch
M src/flag-definitions.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/heap.h View 7 chunks +5 lines, -25 lines 0 comments Download
M src/heap.cc View 16 chunks +56 lines, -37 lines 4 comments Download
M src/heap-inl.h View 1 chunk +0 lines, -20 lines 0 comments Download
M src/mark-compact.h View 9 chunks +60 lines, -32 lines 2 comments Download
M src/mark-compact.cc View 51 chunks +500 lines, -230 lines 11 comments Download
M src/mark-compact-inl.h View 3 chunks +0 lines, -3 lines 2 comments Download
M src/objects.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/objects-inl.h View 1 chunk +0 lines, -6 lines 0 comments Download
M src/spaces.h View 12 chunks +49 lines, -11 lines 0 comments Download
M src/spaces.cc View 12 chunks +34 lines, -25 lines 0 comments Download
M src/store-buffer.h View 2 chunks +12 lines, -1 line 0 comments Download
M src/store-buffer.cc View 3 chunks +28 lines, -7 lines 3 comments Download

Messages

Total messages: 3 (0 generated)
Vyacheslav Egorov (Chromium)
9 years, 6 months ago (2011-06-20 19:11:47 UTC) #1
Erik Corry
LGTM http://codereview.chromium.org/7189066/diff/1/src/heap.cc File src/heap.cc (right): http://codereview.chromium.org/7189066/diff/1/src/heap.cc#newcode5456 src/heap.cc:5456: missing blank line http://codereview.chromium.org/7189066/diff/1/src/heap.cc#newcode5520 src/heap.cc:5520: // ASSERT_TAG_ALIGNED(map_addr); commented ...
9 years, 6 months ago (2011-06-20 20:41:26 UTC) #2
Vyacheslav Egorov (Chromium)
9 years, 6 months ago (2011-06-21 11:44:48 UTC) #3
thanks, landed!

http://codereview.chromium.org/7189066/diff/1/src/heap.cc
File src/heap.cc (right):

http://codereview.chromium.org/7189066/diff/1/src/heap.cc#newcode5456
src/heap.cc:5456: 
On 2011/06/20 20:41:26, Erik Corry wrote:
> missing blank line

Done.

http://codereview.chromium.org/7189066/diff/1/src/heap.cc#newcode5520
src/heap.cc:5520: // ASSERT_TAG_ALIGNED(map_addr);
On 2011/06/20 20:41:26, Erik Corry wrote:
> commented code

Done.

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

http://codereview.chromium.org/7189066/diff/1/src/mark-compact-inl.h#newcode61
src/mark-compact-inl.h:61: 
On 2011/06/20 20:41:26, Erik Corry wrote:
> missing blank line

Done.

http://codereview.chromium.org/7189066/diff/1/src/mark-compact.cc
File src/mark-compact.cc (right):

http://codereview.chromium.org/7189066/diff/1/src/mark-compact.cc#newcode195
src/mark-compact.cc:195: // TODO(gc): XXX
On 2011/06/20 20:41:26, Erik Corry wrote:
> Add text or remove XXX

Done.

http://codereview.chromium.org/7189066/diff/1/src/mark-compact.cc#newcode248
src/mark-compact.cc:248: // Null out the GC tracer.
On 2011/06/20 20:41:26, Erik Corry wrote:
> Comment doesnt really add much.  Why are we nulling it out?

Cause it's stack allocated.

http://codereview.chromium.org/7189066/diff/1/src/mark-compact.cc#newcode727
src/mark-compact.cc:727: MarkObjectByPointer(heap,
reinterpret_cast<Address>(start), p);
On 2011/06/20 20:41:26, Erik Corry wrote:
> Seems like everywhere you call this you are casting the anchor from an
Object**
> to an Address.  Perhaps it should just be an Object**.

Done.

http://codereview.chromium.org/7189066/diff/1/src/mark-compact.cc#newcode1350
src/mark-compact.cc:1350: /*
On 2011/06/20 20:41:26, Erik Corry wrote:
> commented code

Done.

http://codereview.chromium.org/7189066/diff/1/src/mark-compact.cc#newcode2073
src/mark-compact.cc:2073: remaining--) {
On 2011/06/20 20:41:26, Erik Corry wrote:
> Fits on one line.

Done.

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

http://codereview.chromium.org/7189066/diff/1/src/mark-compact.h#newcode270
src/mark-compact.h:270: private:
On 2011/06/20 20:41:26, Erik Corry wrote:
> missing blank line before private:

Done.

http://codereview.chromium.org/7189066/diff/1/src/store-buffer.cc
File src/store-buffer.cc (right):

http://codereview.chromium.org/7189066/diff/1/src/store-buffer.cc#newcode586
src/store-buffer.cc:586: 
On 2011/06/20 20:41:26, Erik Corry wrote:
> Spurious blank line.

Done.

Powered by Google App Engine
This is Rietveld 408576698