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

Issue 7104136: GC branch: Some changes to make V8 work with different page sizes. (Closed)

Created:
9 years, 6 months ago by Erik Corry
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

GC branch: Some changes to make V8 work with different page sizes. Committed: http://code.google.com/p/v8/source/detail?r=8284

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -32 lines) Patch
M src/heap.h View 2 chunks +1 line, -3 lines 0 comments Download
M src/heap.cc View 2 chunks +13 lines, -17 lines 0 comments Download
M src/spaces.h View 1 chunk +0 lines, -4 lines 0 comments Download
M src/spaces.cc View 2 chunks +1 line, -8 lines 3 comments Download

Messages

Total messages: 4 (0 generated)
Erik Corry
9 years, 6 months ago (2011-06-13 15:10:40 UTC) #1
Vyacheslav Egorov (Chromium)
LGMT http://codereview.chromium.org/7104136/diff/1/src/spaces.cc File src/spaces.cc (right): http://codereview.chromium.org/7104136/diff/1/src/spaces.cc#newcode1052 src/spaces.cc:1052: continue; I do not think this is necessary.
9 years, 6 months ago (2011-06-14 10:59:09 UTC) #2
Erik Corry
http://codereview.chromium.org/7104136/diff/1/src/spaces.cc File src/spaces.cc (right): http://codereview.chromium.org/7104136/diff/1/src/spaces.cc#newcode1052 src/spaces.cc:1052: continue; On 2011/06/14 10:59:09, Vyacheslav Egorov wrote: > I ...
9 years, 6 months ago (2011-06-14 18:51:21 UTC) #3
Lasse Reichstein
9 years, 6 months ago (2011-06-15 06:56:26 UTC) #4
http://codereview.chromium.org/7104136/diff/1/src/spaces.cc
File src/spaces.cc (right):

http://codereview.chromium.org/7104136/diff/1/src/spaces.cc#newcode1052
src/spaces.cc:1052: continue;
It should be there.
There is nothing preventing top() from being either at the end of one page or at
the beginning of the next page, effectively representing the same location. This
tests both.

It's likely that both cases don't occur at the same places, e.g., that we
advance to the next page when possible, but on the very last page of the space,
we stay at the end of the page. But there is no invariant saying what we do, so
we should handle both possibilities in all cases.

Powered by Google App Engine
This is Rietveld 408576698