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

Issue 1175001: Fix LargeObjectSpace::Contains to check if addr is in new space. (Closed)

Created:
10 years, 9 months ago by antonm
Modified:
9 years, 4 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix LargeObjectSpace::Contains to check if addr is in new space. Otherwise page header check is not quite robust: if there is a smi at the same offset as Page::is_normal_page field, wrong result would be returned. That shouldn't be the problem for paged spaces as objects in those pages do not span page boundaries and thus cannot mess with ::is_normal_page field. Committed: http://code.google.com/p/v8/source/detail?r=4270

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -0 lines) Patch
M src/spaces.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M test/cctest/test-heap.cc View 1 chunk +43 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
antonm
Mads, may you have a look? Any other spaces where object could span the page? ...
10 years, 9 months ago (2010-03-23 11:59:19 UTC) #1
Mads Ager (chromium)
10 years, 9 months ago (2010-03-23 12:47:30 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698