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

Issue 7044082: Minor cleanup of StoreBuffer related heap iteration methods. (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

Minor cleanup of StoreBuffer related heap iteration methods. Now ObjectSlotCallbacks just update the slot and caller takes care of StoreBuffer updates. This allows to remove ugly HEAP macros in couple of places and streamline the whole implementation. Committed: http://code.google.com/p/v8/source/detail?r=8276

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -291 lines) Patch
M src/heap.h View 2 chunks +0 lines, -22 lines 0 comments Download
M src/heap.cc View 6 chunks +1 line, -226 lines 0 comments Download
M src/mark-compact.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M src/spaces.h View 1 chunk +0 lines, -3 lines 0 comments Download
M src/spaces.cc View 1 chunk +0 lines, -19 lines 0 comments Download
M src/store-buffer.h View 2 chunks +41 lines, -0 lines 1 comment Download
M src/store-buffer.cc View 4 chunks +209 lines, -11 lines 2 comments Download
M src/v8globals.h View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Vyacheslav Egorov (Chromium)
9 years, 6 months ago (2011-06-09 16:21:51 UTC) #1
Erik Corry
9 years, 6 months ago (2011-06-13 08:16:39 UTC) #2
LGTM

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

http://codereview.chromium.org/7044082/diff/1/src/store-buffer.cc#newcode407
src/store-buffer.cc:407: // TODO(gc) ISOLATES MERGE
Let's just delete this comment.

http://codereview.chromium.org/7044082/diff/1/src/store-buffer.cc#newcode575
src/store-buffer.cc:575: // May be invalid if object is not in new space.
It may well be me that wrote this, but I can't remember any more why we can't
just delete this comment and move the line below into the 'if'.

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

http://codereview.chromium.org/7044082/diff/1/src/store-buffer.h#newcode165
src/store-buffer.h:165: // All pages will be marked as having invalid watermark
upon
Given that we don't have watermarks any more, this comment should probably just
be deleted.

Powered by Google App Engine
This is Rietveld 408576698