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

Issue 113825: Never use the freelists when always compacting. (Closed)

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

Description

Never use the freelists when always compacting. Committed: http://code.google.com/p/v8/source/detail?r=2054

Patch Set 1 #

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

Messages

Total messages: 2 (0 generated)
Erik Corry
11 years, 7 months ago (2009-05-25 19:16:15 UTC) #1
Kevin Millikin (Chromium)
11 years, 7 months ago (2009-05-25 19:35:26 UTC) #2
LGTM.

We do a bit of work when we try to allocate from the free list, so you may want
to short-circuit OldSpaceFreeList::Allocate.

There should be no free list nodes in map space (and there's a single free
list), but you might assert that MapSpaceFreeList::Free is not called (and that
Allocate fails).

Powered by Google App Engine
This is Rietveld 408576698